Spindle Orientation
- Masa
 - Offline
 - Senior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 59
 - Thank you received: 10
 
			
	
						05 May 2022 12:54				#242037
		by Masa
	
	
		
			
	
			
			 		
													
	
				Spindle Orientation was created by Masa			
			
				I'm Japanese and I'm not good at English. Posts use Google Translate, so please forgive me if it's hard to read.
Please tell me about the spindle orientation of the 3-axis milling machine.
With LinuxCNC + EtherCAT, XYZ uses a torque controlled servo amplifier.
The analog voltage is output by PID.
The main axis is a speed-controlled servo amplifier. use.
The speed from the Spindle is converted to analog voltage and output.
The spindle and servomotor are connected 1: 1 and the encoder of the motor is fed back to perform rigid tapping.
I want to orient the spindle, but I don't understand how to configure HAL. I also read a manual that uses orient to control with pid, but I think that the main axis cannot be used as it is for speed control.
I have a huge question. In the experience of old FANUC etc., there is no setting of the speed to rotate the spindle for orientation. In other words, even the speed setting for positioning is unknown.
Please give me some advice. Is there anything that needs to be done with torque control on the spindle?
Articles and materials with references are also fine.
Thank you very much.
					Please tell me about the spindle orientation of the 3-axis milling machine.
With LinuxCNC + EtherCAT, XYZ uses a torque controlled servo amplifier.
The analog voltage is output by PID.
The main axis is a speed-controlled servo amplifier. use.
The speed from the Spindle is converted to analog voltage and output.
The spindle and servomotor are connected 1: 1 and the encoder of the motor is fed back to perform rigid tapping.
I want to orient the spindle, but I don't understand how to configure HAL. I also read a manual that uses orient to control with pid, but I think that the main axis cannot be used as it is for speed control.
I have a huge question. In the experience of old FANUC etc., there is no setting of the speed to rotate the spindle for orientation. In other words, even the speed setting for positioning is unknown.
Please give me some advice. Is there anything that needs to be done with torque control on the spindle?
Articles and materials with references are also fine.
Thank you very much.
Please Log in or Create an account to join the conversation.
- andypugh
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 19678
 - Thank you received: 4559
 
			
	
						05 May 2022 23:12		 -  05 May 2022 23:13		#242083
		by andypugh
	
	
		
			
	
	
			 		
													
	
				Replied by andypugh on topic Spindle Orientation			
			
				The answer is to have two PID controllers, one for speed control and one for position control.
One possible arrangement is illustrated here
]
					One possible arrangement is illustrated here
]
		Last edit: 05 May 2022 23:13  by andypugh.			
			Please Log in or Create an account to join the conversation.
- Masa
 - Offline
 - Senior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 59
 - Thank you received: 10
 
			
	
						07 May 2022 07:36				#242217
		by Masa
	
	
		
			
	
			
			 		
													
	
				Replied by Masa on topic Spindle Orientation			
			
				Thank you, andypugh.
I rewrote the HAL with reference to the figure and executed it.
Spindle orientation is now working.
There are problems such as slow operation, but the result is satisfactory for the time being.
Since the servo amplifier of the spindle is used in the speed control mode, it does not seem to move smoothly, so I would like to consider how to handle it in torque control. It is an issue to consider because it needs to be changed from the wiring.
Thank you very much.
					I rewrote the HAL with reference to the figure and executed it.
Spindle orientation is now working.
There are problems such as slow operation, but the result is satisfactory for the time being.
Since the servo amplifier of the spindle is used in the speed control mode, it does not seem to move smoothly, so I would like to consider how to handle it in torque control. It is an issue to consider because it needs to be changed from the wiring.
Thank you very much.
Please Log in or Create an account to join the conversation.
		Time to create page: 0.082 seconds