Driving analog galvo scanner
- vre
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 605
- Thank you received: 17
			
	
						09 Dec 2023 12:42				#287650
		by vre
	
	
		
			
	
	
			
			 		
													
	
				Driving analog galvo scanner was created by vre			
			
				Hello.
I have a xy galvo scanner with analog interface
shown in image.
Can drive it with linuxcnc?
What mesa card needed?
Thanks.
					I have a xy galvo scanner with analog interface
shown in image.
Can drive it with linuxcnc?
What mesa card needed?
Thanks.
Please Log in or Create an account to join the conversation.
- tommylight
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 20843
- Thank you received: 7106
			
	
						09 Dec 2023 12:57				#287651
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic Driving analog galvo scanner			
			
				Most probably Mesa 7i77 or 7i97, but 7i77 also requires one of 7i92 (eth) or 5i25 (PCI) or 6i25 (PCI-E).			
					Please Log in or Create an account to join the conversation.
- vre
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 605
- Thank you received: 17
			
	
						09 Dec 2023 14:52				#287665
		by vre
	
	
		
			
	
			
			 		
													
	
				Replied by vre on topic Driving analog galvo scanner			
			
				The interface seems unusual..
It doesn't have 1 input that takes +-10v
But 1 input for positive voltage and 1 input
for negavite voltage command.
Also outputs +-3v analog feedback voltage
must read this or only run open loop?
Can mesa 7i77 with linuxcnc meet the strict
time constraints for galvo operation because
i know that timinings in galvo scanners are 1 or 2 orders magnitude smaller than servomotors of cnc machines
					It doesn't have 1 input that takes +-10v
But 1 input for positive voltage and 1 input
for negavite voltage command.
Also outputs +-3v analog feedback voltage
must read this or only run open loop?
Can mesa 7i77 with linuxcnc meet the strict
time constraints for galvo operation because
i know that timinings in galvo scanners are 1 or 2 orders magnitude smaller than servomotors of cnc machines
Please Log in or Create an account to join the conversation.
- PCW
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 17371
- Thank you received: 5064
			
	
						09 Dec 2023 15:26				#287675
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic Driving analog galvo scanner			
			
				That's a standard differential input, it can be wired to a single ended output:
IN- --> GND IN+ -->ANA
I doubt that a servo thread update rate would be good enough for this however
unless you are scanning quite slowly, The XY2-100 interface has the advantage
that it interpolates between LinuxCNCs waypoints, but you lose this advantage
with a simple analog interface.
					IN- --> GND IN+ -->ANA
I doubt that a servo thread update rate would be good enough for this however
unless you are scanning quite slowly, The XY2-100 interface has the advantage
that it interpolates between LinuxCNCs waypoints, but you lose this advantage
with a simple analog interface.
Please Log in or Create an account to join the conversation.
- andypugh
- 
				  
- Offline
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19677
- Thank you received: 4553
			
	
						09 Dec 2023 18:58				#287708
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Driving analog galvo scanner			
			
				There is a Mesa FPGA component for galvanometers, but I suspect that PCW would have mentioned it if it was relevant?
linuxcnc.org/docs/html/man/man9/hostmot2.9.html#xy2mod
					linuxcnc.org/docs/html/man/man9/hostmot2.9.html#xy2mod
Please Log in or Create an account to join the conversation.
- vre
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 605
- Thank you received: 17
			
	
						11 Dec 2023 03:45		 -  11 Dec 2023 03:48		#287812
		by vre
	
	
		
			
	
	
			 		
													
	
				Replied by vre on topic Driving analog galvo scanner			
			
				Can i drive the command+ / command- differential input with 2 opamps
1 inverting and 1 non-inverting with gain 0.5 without using gnd right?
Which opamp ic will be suitable ? lm324 or something better with lower rail voltages ?
Also is there a ready made linuxcnc example configuration for analog galvo control?
					1 inverting and 1 non-inverting with gain 0.5 without using gnd right?
Which opamp ic will be suitable ? lm324 or something better with lower rail voltages ?
Also is there a ready made linuxcnc example configuration for analog galvo control?
		Last edit: 11 Dec 2023 03:48  by vre.			
			Please Log in or Create an account to join the conversation.
- PCW
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 17371
- Thank you received: 5064
			
	
						11 Dec 2023 04:56				#287815
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic Driving analog galvo scanner			
			
				You can do that but it doesn't actually gain you anything.
GND --> IN-
and
AOUT --> IN+
will work as well
The real issue will be the low position update rate and the
lack of interpolation between waypoints at the servo thread rate
How fast do you expect to scan this?
 			
					GND --> IN-
and
AOUT --> IN+
will work as well
The real issue will be the low position update rate and the
lack of interpolation between waypoints at the servo thread rate
How fast do you expect to scan this?
Please Log in or Create an account to join the conversation.
- MAF
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 4
- Thank you received: 0
			
	
						23 Dec 2023 15:52				#288923
		by MAF
	
	
		
			
	
			
			 		
													
	
				Replied by MAF on topic Driving analog galvo scanner			
			
				Hello, I think what I'm working on may be suit you need, although it's not a simple solution.
What I'm working on is an SL2-100 interpreter. It receives signal from scanner controller, converts differential signal into single ended, feed it into FPGA chip, the signal is decoded and fed into 2 DACs. I connect the DAC outputs to an oscilloscope to visualize it. While you may connect them to the analog galvo scanner.
The chips I'm using are:
AM26C32/AM26LV32 for differential line receive, Gowin GW1N-LV9 the FPGA chip, Analog AD5422 the DAC chip.
 			
					What I'm working on is an SL2-100 interpreter. It receives signal from scanner controller, converts differential signal into single ended, feed it into FPGA chip, the signal is decoded and fed into 2 DACs. I connect the DAC outputs to an oscilloscope to visualize it. While you may connect them to the analog galvo scanner.
The chips I'm using are:
AM26C32/AM26LV32 for differential line receive, Gowin GW1N-LV9 the FPGA chip, Analog AD5422 the DAC chip.
Please Log in or Create an account to join the conversation.
- MAF
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 4
- Thank you received: 0
			
	
						23 Dec 2023 16:05				#288924
		by MAF
	
	
		
			
	
			
			 		
													
	
				Replied by MAF on topic Driving analog galvo scanner			
			
				My verilog program takes 179 logic cells. A Xilinx Spartan6, Intel EP4C, maybe EPM570 will also work.
SL2-100 transfers 20bit position signals. For my purpose of visualizing it 16bit DACs are good enough.
XY2-100 protocol information:
www.sigrok.org/wiki/Protocol_decoder:Xy2-100
www.alaser.com.tw/db/upload/webdata4/5al...1412422541519318.pdf
 			
					SL2-100 transfers 20bit position signals. For my purpose of visualizing it 16bit DACs are good enough.
XY2-100 protocol information:
www.sigrok.org/wiki/Protocol_decoder:Xy2-100
www.alaser.com.tw/db/upload/webdata4/5al...1412422541519318.pdf
Please Log in or Create an account to join the conversation.
- vre
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 605
- Thank you received: 17
			
	
						04 Jan 2024 15:43				#289789
		by vre
	
	
		
			
	
			
			 		
													
	
				Replied by vre on topic Driving analog galvo scanner			
			
				Very interesting...
What is the status ?
 			
					What is the status ?
Please Log in or Create an account to join the conversation.
		Moderators: PCW, jmelson	
		Time to create page: 0.093 seconds	
 
													