theWituch / ServoControllerX3

3 Axis Open-Loop STEP/DIR Position Control to Closed-Loop +/-10V Speed Control Interface
3 stars 0 forks source link

If use pwm10v it suport for Axis Mach3 #1

Open artayasa opened 7 months ago

artayasa commented 7 months ago

Hi sir. I interest with your project i have ac servo snayo denki 200v, with 2000ppr. It posoble to use ypur hardware and frimeware? I want to used mach3

theWituch commented 6 months ago

Hi, you are free to use this design for personal purposes if you do not intend to commercially offer this layout for sale. The project is unfinished (firmware), so if you want it as it is, it will be difficult to make it work - anyway fell free to create PR with updates ;)

artayasa commented 6 months ago

Hi, you are free to use this design for personal purposes if you do not intend to commercially offer this layout for sale. The project is unfinished (firmware), so if you want it as it is, it will be difficult to make it work - anyway fell free to create PR with updates ;)

So it not suport for step/dir but closeloop with encorder 2000ppr?? And posible to make for stm32f401??

theWituch commented 6 months ago

It support STEP/DIR input from controller (eg. Mach3) - also this board has capability to recieve command also by RS-485 port (need firmware development).

Its designed to recieve motion commands (especially STEP/DIR) and control closed-loop +/-10V speed-control servo. Any TTL encoder supported (2000ppr will work excellent).

Read README for more informations. But remember - project is unfinished ;)

artayasa commented 6 months ago

It support STEP/DIR input from controller (eg. Mach3) - also this board has capability to recieve command also by RS-485 port (need firmware development).

Its designed to recieve motion commands (especially STEP/DIR) and control closed-loop +/-10V speed-control servo. Any TTL encoder supported (2000ppr will work excellent).

Read README for more informations. But remember - project is unfinished ;)

This is for bldc/pmsm motor control right sir??

theWituch commented 6 months ago

It is as described: 3 Axis Open-Loop STEP/DIR Position Control to Closed-Loop +/-10V Speed Control Interface

artayasa commented 1 month ago

It is as described: 3 Axis Open-Loop STEP/DIR Position Control to Closed-Loop +/-10V Speed Control Interface

So its mean posoble to used for cnc?? Because speed control?? And cnc is position control right?? So its mean, the pmsm closed loop speed control. For the encorder of pmsm also should be connect to board?? Or must have external encorder again?? Because my working place around 70x70cm sir

theWituch commented 1 month ago

Of course, it is designed primarily for use in CNC machines :)

I'm afraid you don't understand the purpose of SCX3. It is primarily a controller, not an motor driver like servo driver (not have a power amplifier). It must cooperate as interface between NC controller and motor driver.

Here is simple diagram of major usage of SCX3.

artayasa commented 1 month ago

Of course, it is designed primarily for use in CNC machines :)

I'm afraid you don't understand the purpose of SCX3. It is primarily a controller, not an motor driver like servo driver (not have a power amplifier). It must cooperate as interface between NC controller and motor driver.

Here is simple diagram of major usage of SCX3.

Owhh i got it now. Do u have idea for encorder actual position?? Must be linier encorder??? And if like that its mean any servo suport speed control 0-10v are posible right??? So i will planing to used any servo drive or vesc ( vesc suport speed control but as i know only 0-5v) it posible to make it 0-5v??

And it not suport by using the motor encorder sir??. So used only one encorder

theWituch commented 1 month ago

No, linear encoder is not neccesary but best - you can use any encoder which will be used as "real position" feedback. In fact, the motor encoder can also be used to measure the real position, but the mechanical system of the axis introduces an error and then such positioning is worse by a few micrometers or more.

Yes, any servo which accept analog input as control signal will work with SCX3.

Yes, you can make it 5V in two ways - one is to change values ​​of the appropriate resistors of analog output block (its harder) and second is to limit the maximum value for output in the firmware (easier and you can change it anytime by reflashing).

And again, as I mentioned previously you can use motor encoder as position feedback (connecting to SCX ENDODERx inputs) but you must change it in firmware to properly process motor encoder signal to position (very rarely one ppr is exactly a linear movement like 1um or 1mm because of mechanical system).

artayasa commented 1 month ago

No, linear encoder is not neccesary but best - you can use any encoder which will be used as "real position" feedback. In fact, the motor encoder can also be used to measure the real position, but the mechanical system of the axis introduces an error and then such positioning is worse by a few micrometers or more.

Yes, any servo which accept analog input as control signal will work with SCX3.

Yes, you can make it 5V in two ways - one is to change values ​​of the appropriate resistors of analog output block (its harder) and second is to limit the maximum value for output in the firmware (easier and you can change it anytime by reflashing).

And again, as I mentioned previously you can use motor encoder as position feedback (connecting to SCX ENDODERx inputs) but you must change it in firmware to properly process motor encoder signal to position (very rarely one ppr is exactly a linear movement like 1um or 1mm because of mechanical system).

Oke thank u i gotit now, but the chip hard to find on my country, i think it is a stm32f407

theWituch commented 1 month ago

I think STM32f407 chip will be good as long have a hardware support for quadrature encoder.

artayasa commented 1 month ago

I think STM32f407 chip will be good as long have a hardware support for quadrature encoder.

Yes they have quadature suport, it just upload your code to stm32f407???

theWituch commented 1 month ago

No, its not that simple. Firmware is written with Microchip libraries and for PIC32 uC registers. STM is quite different, so it must be adjusted. General firmware flow will work probably, but I didnt check how much work it needs. And dont forget, the board must be changed too because STM32F407 has different package and pinout.

artayasa commented 1 month ago

No, its not that simple. Firmware is written with Microchip libraries and for PIC32 uC registers. STM is quite different, so it must be adjusted. General firmware flow will work probably, but I didnt check how much work it needs. And dont forget, the board must be changed too because STM32F407 has different package and pinout.

Oke sir, first must loking for pic32, and it posible used other pic32 sir?? No problem il not used rs conector. Maybe do u have other solution and easy to find in my country sir

theWituch commented 1 month ago

Im not familiar with whole PIC32 family, so dont know. Just use PIC32MK1024MCF064 and you are ready to go with testing. Which version of SCX3 you would use? I reccomend to start with latest 1.2.0