. .
  1. #1
    GND's Avatar
    Lives in Cambridge, United Kingdom. Last Activity: 12-02-2024 Has been a member for 8-9 years. Has a total post count of 83. Received thanks 3 times, giving thanks to others 11 times.
    I'm in the final stages of my conversion of a Novamill to using LinuxCNC. When I acquired the machine, the original control box was intact and functional - so I'm keeping as much of the original electronics as possible, including the stepper drives and so on. I'm just replacing the old serial port interface card with a Mesa card to handle the motion control. All very straightforward - it really is almost a drop in replacement as far as the steppers, home and ESTOP switches and spindle on/off are concerned. The biggest learning curve has been LinuxCNC - but that was anticipated, and is a different story....

    So far I have the steppers whirring, homing working and the spindle relay firing - all good. The final part is to add spindle speed control. I am re-using the original PWM to 0-10v converter card that sits in the side of the control box - it handles all the spindle drive isolation issues, and just needs to be fed with a PWM signal by the Mesa card. Again, straightforward.

    My question simply is what PWM frequency I should be using? The Denford PWM to 0-10v converter obviously has some filtering in it, so must expect a certain frequency range of PWM input - but what?

    I've searched all the usual sources and forums but found nothing concrete. I wondered if any forum members either had an original Denford and could measure the frequency. Or more likely, anyone who has done a similar conversion and could tell me what frequency they used - successfully!

    In the absence of further information I am going to try 100Hz, but am ready to be advised otherwise!

    Cheers
    Graeme

  2. #2
    I have done a conversion on a Novamill using a Mesa 7i92. I also changed the feed and speed pots to alps encoders.

    Here is a link for some pics including the ATC https://photos.app.goo.gl/qUwAmX5nGVTGMZyi6

    I don't remember now but I think this might be the bit you want.

    # ---Setup spindle at speed signals--- on bob relay pin DB 17

    setp hm2_7i92.0.gpio.024.is_output 1

    net spindle-enable hm2_7i92.0.gpio.024.out
    sets spindle-at-speed true

    #Below sets position of relay contacts on power up
    setp hm2_7i92.0.gpio.024.invert_output true

    #PWM Generator signal/setup

    setp hm2_7i92.0.pwmgen.pwm_frequency 1500

    setp hm2_7i92.0.pwmgen.00.output-type 1
    setp hm2_7i92.0.pwmgen.00.scale 5000
    setp hm2_7i92.0.pwmgen.00.enable true

    net spindle-speed motion.spindle-speed-out-abs hm2_7i92.0.pwmgen.00.value
    Attached Files Attached Files
    ..Clive
    The more you know, The better you know, How little you know

  3. #3
    Ross77's Avatar
    Lives in Devon, United Kingdom. Last Activity: 2 Weeks Ago Has been a member for 9-10 years. Has a total post count of 759. Received thanks 27 times, giving thanks to others 52 times.
    Ive just done one as well but I used the 7i76 which has the isolated spindle out so I connected direct to the Sprint board.

    Clive's the man though and helped me get mine up and running

  4. #4
    GND's Avatar
    Lives in Cambridge, United Kingdom. Last Activity: 12-02-2024 Has been a member for 8-9 years. Has a total post count of 83. Received thanks 3 times, giving thanks to others 11 times.
    Many thanks Gents - and especially Clive for the detailed information. Those photos make for a very interesting story - you certainly made some far reaching upgrades to your Novamill!

    Looks like you used a replacement board from eBay for your PWM to 10v conversion, and set your frequency at 1500Hz. As I mentioned, I am retaining the original converter, so I have no idea what its preferred frequency will be. Reading various sources were suggesting much lower rates, but seeing your board taking a higher frequency was interesting. Maybe I'll just have a play and see what frequencies I can use to get the desired 0 to 10v swing. I guess if I find a frequency that works, then that is as good as any!

    Thanks also for the HAL fragments. Today's first job is adding them (or something very similar) to mine.....

    Cheers
    Graeme

  5. #5
    GND's Avatar
    Lives in Cambridge, United Kingdom. Last Activity: 12-02-2024 Has been a member for 8-9 years. Has a total post count of 83. Received thanks 3 times, giving thanks to others 11 times.
    Just to close the loop here, I now have a working speed control on my Novamill, essentially using the lines in the HAL file that you supplied Clive - many thanks for that, it saved a lot of grief! I added them into the "custom" HAL file rather than the main HAL file, as this means I can make new main HAL files using the PnCConf tool, and not overwrite my edits. But the content was pretty much as suggested and it worked fine.

    And to answer my original question - in case anyone comes and finds this thread in the future. I tried 100Hz, 1000Hz and 1500Hz and there was no discernable difference between the results. That was as measured using a digital voltmeter on the PWM to 10v converter output - the original Novamill one. So the conclusion - it's not critical!

    Thanks again Clive for your help with this. Now to try the first tentative cuts....

    Cheers
    Graeme

  6. The Following User Says Thank You to GND For This Useful Post:


  7. #6
    Ross77's Avatar
    Lives in Devon, United Kingdom. Last Activity: 2 Weeks Ago Has been a member for 9-10 years. Has a total post count of 759. Received thanks 27 times, giving thanks to others 52 times.
    Now to try the first tentative cuts....
    Don't be shy, Ive not used it in anger yet handled some hex sockets in stainless steel with ease.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CONVERSION: Denford Novamill 1996 Conversion, Hints & Tips Appreciated
    By Husky in forum Conversion Build Logs
    Replies: 28
    Last Post: 05-01-2019, 11:35 PM
  2. High frequency vfd 1500hz
    By assadi in forum Spindles & Drive Motors
    Replies: 0
    Last Post: 28-08-2018, 04:12 PM
  3. CONVERSION: Novamill mach conversion upgrade
    By Benja in forum Conversion Build Logs
    Replies: 4
    Last Post: 18-09-2017, 09:23 AM
  4. Configuring Altivar 12 frequency regulator for PID control
    By vesilp in forum Spindles & Drive Motors
    Replies: 4
    Last Post: 28-01-2017, 04:26 PM
  5. CONVERSION: Denford Novamill Mach3 conversion
    By Miller in forum Conversion Build Logs
    Replies: 28
    Last Post: 25-06-2015, 04:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •