585,663 active members*
2,986 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Spindles / VFD > GRBL controller 0-10v spindle
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2018
    Posts
    1

    GRBL controller 0-10v spindle

    I am trying to control the speed of my Chinese spindle from a self built GRBL controller. I have Best VFD and 800w spindle. I had a lot of noise problems initially that were solved when I took off the end of the spindle and connected the ground wire to it. I have added the attached circuit to my controller board and have verified that it is outputting 0-10v when controlled either via bCNC or terminal. My system all works fine when I control the VFD speed from the control panel. But when I connect it to the controller board - connected to COM and AVI - when I start the spindle it works for a few seconds and then slows back down and stops and nothing will work. I have to disconnect and reconnect to it in order for it to work again. I have blown the output on pin 11 on one Atmega328 ic already testing it so something is definitely not right...

    All of my cables are shielded and twisted on my CNC machine. And all of the shields, the frame and power supply earth are connected. The Spindle pin 4 and shield are connected to PE on the VFD - as mentioned I had a problem when trying to router a PCB with the machine the hard limits would trigger (but I was able to work on non metal parts). Once I connected the ground on the spindle that problem went away. The COM on the VFD is not connected to PE, and my 12/5v- is not connected to the earth on the CNC either.

    I have tested with the output of Pin 11 directly and through the attached circuit and it reacts the same in both cases - the MCU crashes as soon as the spindle is started and I need to disconnect the connection in bCNC and reconnect to be able to do anything.

    What is the proper way to control a 0-10 VFD through a GRBL controller?

  2. #2
    Join Date
    Mar 2015
    Posts
    409

    Re: GRBL controller 0-10v spindle

    Your problem is probably ground current from the motor chassis return by using the GRBL connections.

    You could start by powering the GRBL controller from the same outlet as the rest of the machine, but that will probably not solve the problem.

    Powering the arduino from the PWM converter power supply could probably solve the problem. Check the maximum voltage your arduino board can handle.

    The best solution to get rid of the problem is to add an optocoupler (galvanic isolation) between the output of the GRBL controller and the input of the PWM to 0-10V converter. Then you have an isolated PWM output on the GRLB controller and an isolated input on the converter. Add the optocoupler on the PWM converter side. Here is example on how to
    https://electronics.stackexchange.co...-arduino-input

Similar Threads

  1. GRBL - UGS Controller Direction Understanding
    By Deacon07 in forum Arduino
    Replies: 2
    Last Post: 12-05-2017, 01:43 AM
  2. 109JB's User interface for the Arduino GRBL controller
    By 109jb in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 47
    Last Post: 11-14-2017, 06:51 AM
  3. Replies: 1
    Last Post: 08-19-2016, 11:57 AM
  4. DIY L298N Controller with GRBL Wiring Question???
    By Rymanvw in forum DIY CNC Router Table Machines
    Replies: 17
    Last Post: 03-05-2016, 11:17 PM
  5. Spindle controller?
    By cncmadman in forum Daewoo/Doosan
    Replies: 1
    Last Post: 03-23-2008, 02:35 AM

Tags for this Thread

Posting Permissions

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