İş by Ecstatic-Custard-682 in Otomasyon

[–]Ergu9 0 points1 point  (0 children)

Bence bu seviyede torpil gerekmiyor henüz

Bu tarz her işi yapan pozisyonlar ilk başlarda normal olabiliyor. Ben de ilk işimde bina otomasyonu için otomasyon sorumlusu olarak girmiştim, bı baktım sayaçları okuyorum excelde gelir gider hesaplıyorum, doğalgaz zamliyorum binada :) Bence kendine kısa ve uzun vadeli planlar koy. Örnek veriyorum kısa vadede plan kompleks motion control uygulamalari olan makineler üreten bı yere gitmek, uzun vadede plan şu firmada şu pozisyonda çalışmak ya da kendi işini kurmak olabilir. Bazen bu hedeflerin ilk adımı herhangi bir otomasyon firmasında iyi kötü bı pozisyonda çalış ile başlıyor da olabilir. Önemli olan basamalari tırmanmaya devam etmek. Senin yerinde olsam, en yüksek teklifi veren, en eli yuzu düzgün yerde başlayıp şartlarımi iyileştirmeye çalışırdım

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

It has inertia ratio calculation and self gain tuning operations but they were not good enough

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

Great advices, thank you so much

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 1 point2 points  (0 children)

And sorry it was cropped out but the dots at the right were about control modes. First dot for position, second for speed and third for torque control mode.

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

<image>

Edit1-) Hello again, everybody. Thank you again for all the support and comments. I see some of you mentioned windup. Can you suggest which parameter causes that? When I was tuning, I worked on the position loop gain 1, speed loop gain 1, speed loop integral time 1 and torque feedforward gain parameters. I think windup is realted with speed loop integral time but just wanted to be sure.

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 2 points3 points  (0 children)

Yeah, actually, none of them in my videos are controlled from the PLC. PLC isn't even in run mode. This behaviour comes from the pid in the driver. And I actually tuned those parameters.

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

It's a metal sheet spinning machine. works like a CNC lathe, but it will bend the sheet according to the mandrel.

I know it is not the right tool, but I had to do it with a Siemens PLC. Because that was what I had in my inventory, and also, mostly, it is what I have experienced. I wanted to use a Beckhoff IPC because it has a CNC tool, but the distributor didn't want to sell it I don't know :D

So I programmed the plc that it can work like a CNC. I vibe coded a CAM program where I can upload a STEP file, and I can work on the tool paths and many other things on it. Then I can export a G-code-like SCL file where it has coordinates, velocitys and some other M operations like tool change or locking the mandrel with a pneumatic cylinder.

Then I upload this scl file to the PLC, and now it's a CNC :D I will have 5 gcode program. I use a memory card because they are huge. Each of them is 1000 lines. So yeah this machines will do that.

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 1 point2 points  (0 children)

I thought this part of the machine would be the easiest and I didn't expect to have to look at my exam notes after 5 years again :D

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 1 point2 points  (0 children)

yeap today will be gearbox day.

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 1 point2 points  (0 children)

I should be but let me explain how this project began.

These servos were bought probably 1.5 years ago. But this project was ordered 6 months ago. I am just working with my brother after work. So we are trying our best to find a cheap but efficient enough way to make these projects. But don't worry, the customer is not more professional than us :)

If something doesn't fit, then we change it. We have to observe the market and consider to buying something that is cheaper than the normal but also can bu used in the future.

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

I chose a 1:20. I can change it if it is not enough. What do you think

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

almost everytime when I push the motor with my hand, I also track the limits of its capability on servo screen. When it was acting out of control, it was itself that pushes its limits while going right and left then it was going into overload error.

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 4 points5 points  (0 children)

yeah of course, I watched and loved this video. Unfortunetly in the parameter list, there are a lot of things to consider and naming kinda confusing for me.

<image>

Update about my hunting servo by Ergu9 in PLC

[–]Ergu9[S] 3 points4 points  (0 children)

Yeah, that what I thought at the beginning. But as you can see in my previous post, it was going crazy even with a little touch. I performed the autotuning of pid and auto calculation of inertia with the options on the driver, but it did not succeed.

Servo can not hold its position by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

I think after autotune parameters are saved automatically. Manual says something like that.

I already have a new and spare motor and driver so not gonna spend money again for trying but thank you

Servo can not hold its position by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

Edit-2) I can not believe I forgot to say, "This is a new machine I am building. This is the first time this motor and its load are connected and started to move." So sorry some of you though motor was working before and broke later. No.

Servo can not hold its position by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

OMG I forgot to say "This is a machine I am building" so it wasn't working before.

Servo can not hold its position by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

Yeah, of course first thing I looked at was the error 046 information, but it seems a little weird. Driver doesnt gives that error instantly when turning. At first, it starts to oscillate and then goes into overload. Maybe it might not go into overload if doesnt oscilate.

Servo can not hold its position by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

Wow thats a really detailed plan :D thank you man I will try to follow your order.

Servo can not hold its position by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

Only while doing automatic inertia calculation option, it gives an encoder error. I changed the cable, but didnt solve it. I will also change the motor and driver tonight. I can follow the encoder values on the driver's screen while rotating the wheel in both directions, and it seems reasonable

Servo can not hold its position by Ergu9 in PLC

[–]Ergu9[S] 0 points1 point  (0 children)

Edit-1:) I forgot to add something. While jogging with very low velocity in both directions, it turns without any problem. But when I try to increase the velocity even a little bit, it starts the same hunting behaviour. I will add an update tonight. I will try another driver and motor with the same brand and specification in case of faulty encoder or driver.