Hybrid View
-
20-01-2015 #1
I seem to have made some progress:
So need to buy VFDs from China now. I was intending to split the design into a logic board and power board, but realised that realistically it's going to be a some time until I have time to complete that design, so instead I made a few improvements to the previous PCB and got a heap of them made.
I've worked a bit on the code too - it can now drive motors with hall sensors. I'm using the sensors to generate a position reference field oriented (vector) control, so it's smoother than the generic method of just switching on hall signal transitions. I'll take a video soon, but for now here's a picture:
With the previous design and more-so with this one, I've made is so spare I/O and signals are available on headers, so I can make 'expansion boards'. Here's one to add a 4th output to enable controlling stepper motors:
Now I've actually thought about it, I'm pretty confident you can control a stepper motor properly with a 3-phase inverter, so I might instead use this board to do power factor correction or just an isolated buck converter to eliminate the need for a transformer when using low voltages. If you connect the two phases of a stepper motor together, then connect the center point and two ends to the 3-phase inverter, you can still apply bipolar voltages to each.
I also mounted a 12-bit encoder on a 3Nm stepper motor yesterday, so I'm planning to use that to implement sensored vector control, rather like the Leadshine closed loop version ... but open source and cheap. There's plenty of information on how to do it, such as this, so I'll try it and see. That paper makes it look straightforward ... watch this space.
-
22-01-2015 #2
Re. stepper motor use.
If you are splitting the power section onto a separate board maybe you could use a common DC link psu to power several controllers. I suppose this is what the current stepper drivers do.
Also if you fit encoders maybe it would be worth including a system for homing a master /slave without external intervention.
Keep up the excellent workLast edited by EddyCurrent; 22-01-2015 at 09:03 AM.
Spelling mistakes are not intentional, I only seem to see them some time after I've posted
-
23-01-2015 #3
Currently the design has a rectifier so it accept an AC input, but I also put connection to the DC-link so you can power from a DC source, add more capacitance or share between drives. One interesting consequence of connecting the DC links in parallel is energy can transfer from one motor (regenerating) to another, which is a regular occurrence on a CNC machine as often when one axis is decelerating another will be accelerating.
If instead of adding an extra leg I connect the stepper motor to the 3-leg inverter, as mentioned in my previous post, the only obvious disadvantage is you end up with 'poor' utilization of the DC-bus voltage, V. Depending on the output voltage vector angle, you either get V or V/sqrt(2). See this paper, fig 4. I don't think that's an issue though, as we can simply supply the motor from a higher voltage to compensate. The current controller bandwidth will have to be a little higher to compensate and the insulation resistance of the motor also must be greater, but I don't think the difference in voltage is a big enough factor to matter in either case. Maybe there's something I've missed, as it seems strange that all commercial drives seem to use 8 mosfets when this method only needs 6.
Yes, why not ... it's just software. When I've got the code tidy enough I'll release it as open source and hardware, then people can add things like that if they like. Also the encoder I'm currently using is absolute, so homing is trivial.
I've started soldering five of the PCBs. It's very time consuming though, maybe I should make a pick and place machine next.Last edited by Jonathan; 23-01-2015 at 08:00 PM.
-
24-01-2015 #4
I think that separate controller board and inverter with power supply is the only way to go. I recetly began looking into PMSM control and the differences in motors are too big to use one MCU/power stage combo. On eBay there is plentiful of used servomotors from industrial machines (probably from modernization/retrofit), which are quite cheap and for us hobbyist still good enought. And the difference in DC link bus voltage of inverter stage is huge. The motor I bought has the original driver using 670V DC link, some Fanuc ones use about 100V and so on. Also there is difference for power resistor for dynamic braking and other aspect of design that make me think that ability to differentiate the inverter is only way to go for general purpose driver.
-
20-03-2015 #5
I tend to agree. Since we're not too concerned about efficiency you can get some way by over-rating the components, which doesn't increase the cost too much, but you soon become limited by the switching frequency (and thus control bandwidth) that can be used.
I've been vaguely looking out for one to try, as my driver may not be working well with position control just due to the non idealistic properties of the motor I've been testing with.
Really trying to keep the ball rolling with this project, but my PhD work and related things keep getting in the way as I tend to be spending 9am~8pm in the lab. Still, I have however done some more soldering on a few of the PCBs. Here are a few pictures:
Can anyone spot the mistake in this one...
Time to stop now though as it's 1:30am and I don't want to miss the eclipse this morning...
-
20-03-2015 #6
I cant see that great on my phone, but is it that component across the pins on the microcontroller?
Great work!
-
20-03-2015 #7
Yes that's right - I accidentally connected the core voltage regulation filter pin to Vss instead of the capacitor. Fortunately that pin is only connected to a capacitor, so I'm instead lifting that pin and soldering an 0402 capacitor between it and the adjacent Vss pin. Bit fiddly, but it works ...
I've not found any other mistakes yet.
-
21-03-2015 #8
-
21-03-2015 #9
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Similar Threads
-
Closed loop Step Servo Drive Driver 2HSS86H + 4.5N.M Motor + Encoder
By george uk in forum Motor Drivers & ControllersReplies: 20Last Post: 23-06-2014, 08:38 PM -
Servo drive problems
By Tomnewry in forum Motor Drivers & ControllersReplies: 15Last Post: 27-03-2013, 11:30 PM -
servo control vs stepper control
By Peter. in forum Motor Drivers & ControllersReplies: 24Last Post: 17-09-2012, 08:36 AM -
NEW MEMBER: I am going to build a 3 axis servo control
By markey1979 in forum New Member IntroductionsReplies: 8Last Post: 16-11-2011, 12:53 AM -
drive control system
By oadamo in forum General ElectronicsReplies: 1Last Post: 22-05-2011, 07:30 PM
Bookmarks