Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Controlling 14 BLDC motors Simultaneously

Status
Not open for further replies.

alphaxindia

Newbie level 5
Joined
Jan 1, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
I want to control 14 BDLC motors for three different Functional application simulataneous. I have programmed & simulated dsPIC33FJ32MC204 Controller for every motor in proteus 7.10. Now I want to command and control all these motors from single USB 3.0 or high speed 2.0 from PC.

Which approach will be best?

1. From all 14 motors I programme I2C data bus to single microcontroller board which transfers data with help of UART(USB) to PC.

2. I should program a 14 port usb hub and from all motors data is transfered through UART to that HUB and from HUB to PC.

I want control of every joint on windows platform, so that many algorithms can be tested, programmed and managed in .Net easily.

If 2 option is better then please tell how prepare a usb hub with Help of Microchip microcontroller,

If 1 option is better then please tell which microcontroller should used for this work.

Thank You.
 

Motors are 36Vdc BLDC, 8bit DAC will be ok.

What I need is that I can easily and fast, command dsPic controller from PC. I can command all 14 Controllers from Single PC Connection.
 

If this is intended to be a complex control system ie robotic or N axis controller, you may want to consider feedback design not just control. and consider what to do if one is at fault. Consider current feedback , back emf feedback or encoder feedback.

The dsPIC33FJ32MC204 is a great choice but drivers . chokes , snubbers, current sensing is still needed . If your hardware design skills are weak, buy the development boards. THey support all serial interfaces.
https://www.microchipdirect.com/productsearch.aspx?Keywords=DM330021
https://ww1.microchip.com/downloads/en/DeviceDoc/InfoSheet.pdf

14 channels will not be cheap. So master 1 or 3 channels before going forward.

This development board is more expensive but also more capabilty
**broken link removed**

Keep driver near motor and beware of EMI noise. Lots to learn.
 
Last edited:
Thanks for reply, I am using Hall Effect sensor which is interfaced by BLDC motor itself. But Which way is better 1 or 2?

---------- Post added at 21:15 ---------- Previous post was at 21:03 ----------

I want to keep controller nearest to the motor. But should be done for fast communication between 14 controllers with PC (I2C or USB)?

---------- Post added at 21:20 ---------- Previous post was at 21:15 ----------

I sensing three Hall effect sensors and Potentiometer will be used.
 

Choice of a communication network depends on many factors.
There are more than 2 than that mentioned.
Factors to consider are , co$t (overall), Time (development), Complexity (learning curve) , Reliability (fault tolerant) and Performance.( Latency, bandwidth, buffer time, command feedback, resolution, scaleability) This is generally considered for all SCADA communication systems.
Based on sketchy requirements you gave, I2C would be easier but with shared bi-directional bus, more likely to fail with that many devices on bus in a noisy environment.. so filter & shields essential. If the communication is 1PC to 1 target, I2C would be cleaner but ensure timing/bandwidth is adequate. If 1PC to many targets spread apart, then topology distance, limits USB to 1 meter, whereas I2C can be more remote. ////
Consider also ethernet https://www.ti.com/lit/ml/spmu013a/spmu013a.pdf
 
I understand, I saw this spmu013 board some months ago. Now SPI is best for interconnection inside circuit, I2C standalone with PC is best (but I need 14 controller so quiet tough), And Of course distance between PC to controllers in many conditions is more than 1meter so USB is also tough. I saw ENC28J60 PIC Ethernet after your suggestion. I can connect it through SPI to motor controller, LAN can be easily controlled to 14 ports with switch then to PC 1gbps port. Then by TCP programming in C# for PC and C for micro-controller I can control 14 controllers simultaneously.

I think this will best of all solution.

---------- Post added at 05:18 ---------- Previous post was at 05:17 ----------

I understand, I saw this spmu013 board some months ago. Now SPI is best for interconnection inside circuit, I2C standalone with PC is best (but I need 14 controller so quiet tough), And Of course distance between PC to controllers in many conditions is more than 1meter so USB is also tough. I saw ENC28J60 PIC Ethernet after your suggestion. I can connect it through SPI to motor controller, LAN can be easily controlled to 14 ports with switch then to PC 1gbps port. Then by TCP programming in C# for PC and C for micro-controller I can control 14 controllers simultaneously.

I think this will best of all solution.
 

If you want to think ahead, why not join the ranks of Microsoft and 4 other major companies who developed a secure high speed CNC protocol for remote machines.
**broken link removed**
 
Thank You for suggesting me 3 helpful reply.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top