Tachometer design

Advert

Tachometer design

Home Forums Workshop Tools and Tooling Tachometer design

Viewing 25 posts - 1 through 25 (of 96 total)
  • Author
    Posts
  • #16521
    Les Jones 1
    Participant
      @lesjones1

      Views on tachometer design

      Advert
      #47444
      Les Jones 1
      Participant
        @lesjones1

        Hi All,
                    I have built tachometers for my lathe mill and drill press in the past. The design was governed  by an easy way to sense the rotation and what bits I had lying around at the time. I was wondering if there would be any interest in a tachometer that could cope with between 1 and 99 pulses per rev. If there was I do not know if it would be best to try to get the design published in “Model Engineers Workshop” (Where it would more likely interest readers.) or in “EPE” electronics magazine who are more set up to provide printed circuit boards and programmed PIC’s   One pulse per rev is useful if there are no gears in the drive train. One pulse per rev can be sensed easily with a reflective marker and optical sensor. If there are gears in the drive train a hall effect gear tooth sensor is easy to use.  The display would be a four digit LED display reading from about 30 RPM to 9999 RPM
         
        Regards
        Les
        (Ormskirk Lancs.)

        #47446
        Martin W
        Participant
          @martinw
          Hi Les
           
          I can see what your problem is as the project falls between the two disciplines. How about doing a detailed write up of the electronics with PIC programming, board layout, various sensor interfacing etc. as a stand alone project and submit this to an electronics journal. Then referring to this do an article detailing the fit of this system to various machines and submit this to something like MEW. That way if anybody wants to fit this design to a machine then the information is available to them.
           
          I have an electronics background, which I assume you do as well, and find myself  with a similar dilemma regarding some suggestions made in these forums. One can sometimes see a better way of doing things, electronically that is, but one hesitates to get involved in supplying this information as it crosses disciplines and other’s skill levels in are not known. Personally I would like to see your system however it gets to print
           
          You never know you might be able to publish in both and get two payments!!
           
          Good luck.
           
           
          Martin W

          Edited By Martin W on 16/01/2010 13:44:33

          #47452
          Les Jones 1
          Participant
            @lesjones1
            Hi Martin,
                               I have put the design that this tach will be based on on one of the Yahoo technical forums (X series mills I think) That one is for one pulse per rev. It basically measures the time of one revolution and then calculates the RPM from that. All I plan to do is to add a single push button to enable the number of pulses per rev to be set. The plan is this. To enter setup mode power up the unit with the push button pressed. When it is released it will be in setup mode and will display the current pulses per rev value. Pressing the button again will cause this value to increment at a rate of about one per second. when the required setting is reached the button will be released. About 5 seconds after the button is released this value will be stored to EEPROM. (Non volatile memory.)
            The unit is then powered off to get out of setup mode. When it is next powered on the new value in EEPROM will be used in the calculation. The circuit is very simple using a PIC16F628A, a four digit LED display, a 20 Mhz crystal, four transistors and a few resistors and capacitors. Having to building a programmer I think would  put people off which is why I thought of the electronics magazine route. I was not thinking of the payment side just a way of making it easy for a non electronics person to build. I just built mine on stripboard.
            (Or Veroboard as it used to be called.) I will wait and see what others think before deciding which way to proceed.
             

            Regards
            Les
            (Ormskirk Lancs.)

             
            #47455
            Steve Garnett
            Participant
              @stevegarnett62550
              I can concur with what Martin W said, but if you really aren’t interested in the payment side of it as such, then surely the other way to approach this is to set up a web page with the design on, pictures, background info, whatever, and simply sell people a pre-programmed PIC, or even get a small PCB made up for it, and sell that as well. It gets you around pretty much all of the problems, I think; there are quite a few designs for one thing or another presented around the web this way, and many of them are quite successful.
               
              Even if you didn’t want to handle the PCBs yourself, producing a set of files that could be sent to one of the one-off prototyping services by anybody wanting to build one might be another way to handle this.
               
              Of course, the other mag that might well consider something like this is Elektor – after all, they’ve published all the details of a small CNC mill, and got a manufacturer to sell a kit of it, haven’t they? It’s rather more up their street than EPE, however you look at it.
              #47457
              Martin Cottrell
              Participant
                @martincottrell21329
                Hi Les,
                 
                I think an article in MEW detailing the construction of your tachometer would be a great idea. I for one don’t have a clue as to how electronic devises work but would be quite capable of soldering a few components together on a board if someone supplied me with the information on where to place them along with some guidance to avoid pitfalls and damage to sensitive components whilst soldering.
                 
                 If I recall correctly there have been other constructional series in MEW involving some quite complex electronics such as the spark erosion machine and a CNC mill. As such I think your tachometer would be a very suitable project to include in the pages of MEW and would be of interest to many of us.
                 
                Regards, Martin.
                #47459
                Les Jones 1
                Participant
                  @lesjones1
                  Hi Martin (C),
                                            I have only read a few copies of MEW I have only bought it when I have seen that it contains an article of interest to me. The spark erosion machine sounds interesting.
                  I experimented with it in the mid 1960’s without much success.
                  Here are some pictures of the original version which is only for one pulse per revolution. The only difference in the hardware for the version that supports different numbers of pulses per rev is the addition of a push button switch. The rest will be done by re writing the firmware.

                  I do not think the schematic is readable but it should give an idea of how simple the circuit is.
                   
                  Les.

                   

                  #47463
                  Steve Garnett
                  Participant
                    @stevegarnett62550

                    I can see the schematic just fine – it’s pretty clear. The whole thing looks eminently suitable for a small PCB – doesn’t even need to be double-sided, does it? The obvious advantage of this would be that it reduces the possibility of errors in construction, but still gives the satisfaction of saying that you built it yourself. I’m not actually anti-stripboard, but it’s got to the point now where it’s remarkably cheap to get small boards made up – I would have thought that they’d be about £5-6 each, or thereabouts, although you’d have to make 4 or 5 at a time to get the price to that level.

                    #47464
                    Geoff Theasby
                    Participant
                      @geofftheasby
                      I think we are all barking up the wrong tree here.
                      We are model engineers, shouldn’t we be thinking about a mechanical tachometer?
                       
                      When I was much younger, I dismantled a car speedometer.   This was driven by a circular weight, pivoted on a shaft.   When the shaft spun, the weight tried to assume a position at right angles to the shaft axis.
                       
                      Surely, the displacement of this weight could be used to operate a dial test indicator so as to give a visual, mechanical readout of speed?
                       
                      How was this done by the makers of Dynamometer cars, especially for model railways?   I know that a few were made.
                       
                      I have some ideas on how this might be done, but what do people think?
                       
                      Regards
                      Geoff
                       
                       
                      #47467
                      Steve Garnett
                      Participant
                        @stevegarnett62550
                        Posted by Geoff Theasby on 16/01/2010 19:54:34:

                        I think we are all barking up the wrong tree here.
                        We are model engineers, shouldn’t we be thinking about a mechanical tachometer?
                         
                        When I was much younger, I dismantled a car speedometer.   This was driven by a circular weight, pivoted on a shaft.   When the shaft spun, the weight tried to assume a position at right angles to the shaft axis.

                        Well, I can understand where you’re coming from with this, but when it comes to universal applicability, I think that a mechanical device doesn’t really have a lot going for it these days. And, they inevitably consume power. So if I want to fit one to a relatively small lathe which isn’t exactly over-imbued with power, as well as having to arrange a power take-off, I’m going to sap a some of it too, just to find out very approximately how fast it’s going.
                         
                        And I don’t know how old the speedometer you took to bits was, but since about 1910 the mechanical ones have pretty much all used the rotating magnet/aluminium disc eddy current method. This would be mechanically quite easy to implement, and doesn’t pose much of an extra load, but is still inherently no more accurate than about +/- 5%, and that’s in the good part of the range; at lower speeds it becomes progressively less accurate – to the point where you might as well guess how fast the shaft was going.
                         
                        So from a pragmatic point of view, I’d still vote for Les’s small, relatively accurate, virtually zero-load sensor and a small bit of electronics, I’m afraid, although I’d still be intrigued to see how small and accurate you could make a lightly-loaded mechanical tach – but purely out of curiosity.
                         
                        And I’m not quite sure why being a model engineer (which, incidentally, I hesitate to describe myself as, in comparison with many here) would preclude using electronic devices in conjunction with mechanical ones? Especially when it comes to the means of production, rather than the end itself? I do quite a lot of experimental small-scale electromechanical engineering, and as far as I’m concerned there is absolutely no conflict of interest between the disciplines at all; in many ways they are rather complimentary, especially when it comes to things like the means of indication. Just because something wasn’t done like this in the past doesn’t mean that it wouldn’t have been if it had been feasible, I’m absolutely sure.
                        #47469
                        Geoff Theasby
                        Participant
                          @geofftheasby
                          OK, I see what you are getting at.
                           
                          At the same time, I’m not talking about a constant speed measurement.
                          One might take a test to check the speed momentarily.   It could be calibrated from a lathe with a known speed range.
                           
                          After all, we wouldn’t need to know the speed that accurately, only an infrequent test, so the power needed to drive the system wouldn’t be a constant drain.   After all, we don’t need to know the instantaneous speed of a lathe with an electronic speed readout, or even a gearbox with fixed speeds.   We set the speed and leave it whilst we do the work.
                           
                          I, personally, am quite happy mixing electronics with mechanics, as I am a fully qualified radio amateur, but I appreciate that there are likely to be many others who are not at home with electronics.
                           
                          Regards
                          Geoff
                          #47472
                          Steve Garnett
                          Participant
                            @stevegarnett62550
                            Posted by Geoff Theasby on 16/01/2010 22:52:53

                            At the same time, I’m not talking about a constant speed measurement.
                            One might take a test to check the speed momentarily.   It could be calibrated from a lathe with a known speed range.
                             
                            After all, we wouldn’t need to know the speed that accurately, only an infrequent test, so the power needed to drive the system wouldn’t be a constant drain.   After all, we don’t need to know the instantaneous speed of a lathe with an electronic speed readout, or even a gearbox with fixed speeds.   We set the speed and leave it whilst we do the work.
                             
                            I, personally, am quite happy mixing electronics with mechanics, as I am a fully qualified radio amateur, but I appreciate that there are likely to be many others who are not at home with electronics.
                             
                            Geoff, I think that one of the reasons that people want to fit tachometers is because they do want to know what the speed is all the time. For instance, if you retrofit a three-phase motor to an old machine and power it with an electronic inverter, one of the many new advantages you get is the option of continuous speed change. And there have been numerous reports now of people varying the speed as they cut (both with lathes and mills) for the best finish, and also checking to see how much it falls under load. In the first instance, you can make a note for yourself of where the machine/tooling is happiest, and next time you cut the same material in a similar way you’ll have a much more accurate starting speed. Also, noting any speed drop in real time whilst cutting (not all people can spot this easily by listening) gives you a good idea that perhaps you should reduce either the rate or depth of cut slightly – and give you good, immediate feedback that the correct speed has been restored after you’ve made the changes.
                             
                            I’ve used a calibrated strobe in the past to establish running speeds of machines, and I have to say that it’s a bit of a pain to do it like that. Also, I have several machines of my own that I’d like to fit tachos to, so if I can find a nice cheap way to do this independently for each one (and it looks like Les’s system can easily achieve that), then I’d call it a good result, and the case for doing it this way is, in my view, overwhelming. Yes, I could start over and create my own, but I can’t see any point in re-inventing the wheel, and anyway, I don’t like programming very much – I’m an old analogue person, really.
                             
                            As for the people who aren’t at home with electronics, I agree – which is why I think that providing a PCB (or a plan for it) is the way to go. I would have thought that most model-makers wouldn’t have too much difficulty soldering some through-hole components onto a PCB, and if they do, then this would be a good project to learn on – relatively straightforward from a construction point of view and with a high probability of first-time success. Heck, this one would be simple enough to get people to etch their own PCBs, if they’re feeling brave…
                             
                            Anyway, that’s my take on it!
                             
                            Steve
                             
                             
                            #47473
                            Ian S C
                            Participant
                              @iansc

                              Can’t remember when it was,but an electronic tacho was an artical over a number of issues of ME(its a few years back),it gave the whole works from the electronics to the mechanics.I havn’t built it,I use a simple system of a 125t gear and a worm with a stop watch,but electronic would be better by far,I have used my frequency meter.I imagine that those with variable speed machines would find it handy to know what speed it is running at,or do these things have a tacho?Ian S C

                              Edited By Ian S C on 17/01/2010 02:18:01

                              #47481
                              Michael Cox 1
                              Participant
                                @michaelcox1
                                With the price of digital electronic frequency meters now around the £10 mark (inc shipping) from China it is easier to simply use a disc with 60 holes attached to the rotating spindle with an opical sensor to give a reading directly in RPM. A project based on this was presented in MEW in 2009 or 2008.
                                An even simpler solution is to buy a cycle computer and fix a magnet to the shaft. I have used this solution using a cycle computer from Wilkinson’s at a cost of £6.99. The unit gives a direct readouut in RPM.
                                Mike
                                #47487
                                Peter G. Shaw
                                Participant
                                  @peterg-shaw75338
                                  Hi folks,
                                   
                                  Recently I used a cycle speedo from Halfords to measure the rpm of both my lathe and mill.
                                   
                                  There were problems, eg fastening the magnet onto the rotating shaft, above 30kph (equivalent to 300rpm) it only measured every 5rpm, and above 60kph (I think) it only measured every 10rpm whilst above another speed it became intermittent.
                                   
                                  Calibration involved setting the device to kph and setting it up as if it was measuring the speed of a particular sized wheel (1777 was the value I used I think). With these values it gave direct rpm readings.
                                   
                                  Changing the wheel size value means that the device can be used for different rpm ranges, but then it will involve some calulations.
                                   
                                  On the plus side, the device was readily available (removed from the bike to have a new battery fitted!), and reasonably easy to use. And it met my requirements.
                                   
                                  Regards,
                                   
                                  Peter G. Shaw
                                  #47489
                                  KWIL
                                  Participant
                                    @kwil
                                    I have 4 machines using inverters. I have a 10 turn speed setting linear potentiometer on each. On the Myford S7 for example, if I choose a particular pulley setup, then 50%  [indicated by 50 on the dial] does in fact give me half way up the speed range. I have checked the speeds using strobe disc as [published in MEW some time ago] and latterly using a strobe meter.  Frankly you do not need an exact speed setting anyway, but this method is very close. If you only have coarse < 1 turn dial as fitted on some commercially available kits then a tacho could be useful.
                                     
                                    In normal use I can get within a few percent of any desired speed without having a digital readout.
                                     
                                    Regards
                                     
                                    K
                                    #47504
                                    Martin Cottrell
                                    Participant
                                      @martincottrell21329
                                      Hi Les,
                                       
                                      Having read all the arguements for and against, I still think it would be a useful project to write up for MEW. Assuming it could be built for say under £15-20 and does not require other testing equipment to calibrate it then I would have thought it would  be of interest to quite a few readers.
                                       
                                      I would have a chat with our editor, David Clark, because when all is said and done he is the one who will decide whether or not the article is appropriate.
                                       
                                      Good luck!
                                       
                                      Regards, Martin.
                                      #47509
                                      Steve Garnett
                                      Participant
                                        @stevegarnett62550
                                        I think that I agree with Martin. I had a look at some of the other options, and I can’t see anything else that is simple to make, easy to hook up and cheap, and could be easily mounted in an existing case and, quite importantly for me, uses LEDs rather than a LCD display.
                                         
                                        The closest I can get is the module that Quasar sell – and it’s just about cheap if you buy 5 of them. You can look at it here, but I have to say that it’s going to require an input modification, so even this isn’t quite straightforward. If anybody knows of any others that I’ve missed, I’d be delighted to know about them.
                                         
                                        Steve
                                         
                                        #47518
                                        Steve Garnett
                                        Participant
                                          @stevegarnett62550
                                          Posted by Michael Cox 1 on 17/01/2010 12:59:32:

                                          With the price of digital electronic frequency meters now around the £10 mark (inc shipping) from China it is easier to simply use a disc with 60 holes attached to the rotating spindle with an opical sensor to give a reading directly in RPM. A project based on this was presented in MEW in 2009 or 2008.
                                           I checked – it was Feb 2009, so not that long ago at all. Also, I had a look on ebay, and discovered that I can get a panel meter with approximately the specification I outlined above for about £15, with an even cheaper possibility also, so I might give that a go.
                                           
                                          Thanks – Steve

                                          Edited By Steve Garnett on 18/01/2010 10:44:09

                                          #47520
                                          Les Jones 1
                                          Participant
                                            @lesjones1
                                            Hi All,
                                                       All the methods suggested are good when the situation suits. Using the frequency meter to count 60 pulses per rev is ideal if it is easy to fit a disk with 60  holes and optical sensor or a 60 tooth gear and hall effect gear tooth sensor. The cycle computer I think is the cheapest method if it can accommodate the speed range required. The problem mentioned about mounting the magnet can be eliminated by using a reflective optical sensor and signal level converter. The first rev counter I made for my lathe used the frequency meter method. The lathe had a 45 tooth gear on the end of the spindle so all that was required was to count the number of pulses in 1.333 seconds. (60 divided by 45)
                                            The mill had a gear with 34 teeth which would have required  measuring the number of pulses in 1.765 seconds (60/34) I considered that this would be too slow an update rate so I modified the design to get a pulse of each edge of the tooth so this brought the sample time down to about 0.8 seconds. On various forums there had been questions about rev counters for use with one pulse per rev. I also wanted a rev counter on my drill press which did not have any gear teeth to sense. For this I needed the method that must be used by a cycle computer which is to measure the time of one revolution and calculate RPM from that. I actually counted the number of 0.4uS pulses that occurred in one revolution and divided this into 150000000 which is the number of 0.4 uS in one minute. By adding some code to divide the reading by the number of pulses per rev sensing any number of pulses per rev can be used. I then thought of a way to enter the number of pulses per rev using one push button connected to a spare input on the PIC chip. Hence the question about interest in the design. Yesterday I have got the unit basically working but now need to test that there are no problems with any pulses per rev setting at any input speed. (Overflow of numbers in the calculations or other problems I have not even thought of.)   I would be interested in information on the cycle computers in terms on the maximum and minimum wheel sizes they can be configured to work with and the maximum speed they can display. (Also the number of digits in the display.) As the method of operation of my design is basically the same as a cycle computer if they can cover the required speed range then my design is redundant. I think the components for my design will cost between £6 and £10 plus a PCB, box and power supply. I think someone asked about calibration. This is not required as the time measurement is controlled by a crystal whose accuracy is quoted in parts per million.
                                             Steve, I am not sure about how the Quasar design works as though the give the schematic they do not give the integrated circuit numbers. I SUSPECT that it uses a “charge pump” to convert frequency into voltage then displays that voltage as RPM’s
                                            Sorry all about the length of this reply.
                                            Les.
                                             
                                            #47521
                                            Lawrie Alush-Jaggs
                                            Participant
                                              @lawriealush-jaggs50843

                                              Hi Les Jones 1

                                              I can’t talk about the counter circuitry but if you want to find a nice accurate disk and light source look no further than a clagged injet printer.  You will find that there is a very nice Mylar disk with anywhere between 150 and 360 light slits in them and sitting ajacent to it will be a light sensor and source.
                                              From my experience with salvaging bits of nice ground finish steel from printers, most of the stepper disks have a diameter of between 40mm and 60mm, just right for slipping between the lock nuts on the back of the head stock

                                              #47525
                                              Steve Garnett
                                              Participant
                                                @stevegarnett62550
                                                Posted by Les Jones 1 on 18/01/2010 11:16:12:

                                                 Steve, I am not sure about how the Quasar design works as though the give the schematic they do not give the integrated circuit numbers. I SUSPECT that it uses a “charge pump” to convert frequency into voltage then displays that voltage as RPM’s

                                                 I’m not sure about that either – all I can tell from the photo is that it looks like a Maxim IC, and that it has 40 pins. Maxim have certainly made a few devices that would qualify for this task, but from looking at the circuit it’s certainly not crystal controlled, however you look at it.
                                                 
                                                I have to say that I’m still interested in your design though – especially if it can be easily converted to work with different numbers of pulses/rev. With the Chinese counters, I was contemplating using a Phase Locked Loop with a divider around it to convert a single pulse/rev into something that could be displayed directly – in other words multiply the input frequency by 60. I can’t see why that wouldn’t work, but compared to your approach, it’s probably a bit of a kludge.
                                                 
                                                So I’d still say that if you can come up with a design that’s easily adaptable to work with all sorts of different stimuli, easy to construct, etc, etc, you are still onto a winner – even if MEW doesn’t want to publish it for a while. I want about five of them, for a start! 
                                                #47529
                                                Les Jones 1
                                                Participant
                                                  @lesjones1
                                                  Hi Lawrie,
                                                                       The idea of this design is to avoid mounting an encoder disk on the machine.
                                                  Using it in one pulse per revolution mode only involves putting a reflective marker on a convenient part of the spindle and fixing a reflective opto sensor close to it. (I just glued a piece of baking foil onto a pulley on my drill press.) Using it in its multi pulse per rev mode just involves placing a hall effect gear sensor near to an existing gear on the shaft.
                                                  By the way I got caught out using an encoder taken from an HP500C printer. Testing it on the bench I thought it gave 500 pulses per revolution. When I mounted it on the end of the leadscrew on my mill I found it was 504 pulses per revolution. This was to use it to drive a digital readout. Being a strange number of pulses per revolution made it useless for the purpose.
                                                   
                                                  One thing I forgot to comment on in my last message suggesting contacting Dave  Clark.
                                                   I thought he may have posted a reply with his views. He may be waiting to see what other readers comments are first.
                                                  Les.
                                                  #47530
                                                  David Clark 13
                                                  Participant
                                                    @davidclark13
                                                    Hi There
                                                    I do read the posts but theyare automatically
                                                    emailed to me so they are interspersed with other threads.
                                                     
                                                    Basicically, are we talking about a digital Tacho that counts
                                                    each individual revolution directly rather than say 60 pulses per rev?
                                                     
                                                    If so, that would make a good article.
                                                    regards David
                                                     
                                                    Oh for a smell chequer
                                                     
                                                     
                                                    #47538
                                                    Les Jones 1
                                                    Participant
                                                      @lesjones1
                                                      Hi David,
                                                                        It does basically measure the time of one revolution and calculate the number of RPM from that. Using it in that mode is suitable when the simplest way to sense rotation is to stick a reflective marker to the shaft. If you then extend this idea and think of two equally spaced markers then it would then read twice the actual speed. So if it is made so that it can divide the reading by two it will display the correct speed. Then extend this idea to many reflective markers but instead of sticking on markers use a hall effect sensor to sense teeth on an existing gear on the machine. So if the reading is divided by the number of teeth on the gear the correct number of RPM is displayed. There will be a single push switch to configure it for the number of pulses per revolution. The way this would be used is to hold the button pressed when power is applied. This puts the unit into setup mode.
                                                      When the button is released the number of pulses per rev the unit is configured for is displayed. (Value of 1 when the unit is first programmed.) If the button is now pressed again this number increments  every  0.7 seconds (Approx.) (Wrapping round to 1 after 99) The button is released when the desired value is reached. To indicate the new value has not yet been saved the top bar of the left hand digit is illuminated. after about five seconds this new value is saved in non volatile memory and the illuminated bar goes out. Power is then removed. When power is re applied the unit comes up in normal mode and the new value of pulses per revolution (Teeth on the gear.) is used in the calculation. I have chosen to allow for betweenone and ninety nine pulses per revolution but this could be changed up to easily up to 255 if required. Using the unit for high speeds and a large number of teeth on the gear reduces the accuracy. For example at speeds near 10000 rpm with a 99 tooth gear the error would be nearly one percent. I think this would be good enough for machine tools. Also I think that worst case situation is unlikely to occur.

                                                      Les.

                                                    Viewing 25 posts - 1 through 25 (of 96 total)
                                                    • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                                                    Advert

                                                    Latest Replies

                                                    Viewing 25 topics - 1 through 25 (of 25 total)
                                                    Viewing 25 topics - 1 through 25 (of 25 total)

                                                    View full reply list.

                                                    Advert

                                                    Newsletter Sign-up