[Emc-users] More Intel D510 strangeness?

2010-10-29 Thread Steve Blackmore
Got an Asus AT5NM10-I motherboard to play with.
Uses same chipset and processor as the Intel board.

Latest live 10.04 distro CD doesn't work with it. It never boots, just
stops on the first screen. Same CD will boot and install on other
machines just fine, so it's not a media problem.

Official Ubuntu 10.04 LTS cd boots and loads without a problem. EMC then
installs fine. 

I've dual booted it with Win7, that reports the parallel port as working
properly in EPP mode. 

How do I see what Linux/EMC thinks it is? 

Steve Blackmore
--

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Two control loop (EMC and Servo Driver)?

2010-10-29 Thread Caner
Hi,

I am trying to test my Mesa boards (5i23 and 7i33) with my servo motors.
But there is an unexpected problem that EMC2 can't control servo. When I
jog, servo motor tuns with oscillation and when i stop jogging, it
continue oscillation some seconds more then stop. My servo motor has
resolver with 24000ppr and i am getting differential encoder output from
its driver. Also servo driver has own control loop inside, i have tried
to disable its control loop but i could only set target loop gain to
1. Also i have tried to change PID values of EMC2.
My servo period is recommended (100ns), and PWM/PDM frequency is
recommended (10 Hz). Following Error is 0.5, and Minimum Error is
0.01. I don't know why it happens but i guess two control loop is
overlapping. Do you have any idea about my this problem? Am i using too
slow servo-thread? Did anyone have tried to use Toshiba Servo Driver
(VLASX-012P2) with EMC2?

Thanks.
---
Caner Durmusoglu


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] More Intel D510 strangeness?

2010-10-29 Thread Mark Wendt
Steve,

 Any chance you can hook up a different CDROM or DVDROM to it?  I've 
had that problem before, not with Ubuntu distros, but with other 
software.  Sometimes weird little things can cause issues with booting 
to the CDROM drive.

 When you say first screen are you talking about the one where 
you've got a choice to either install the OS or go with the live CD?  
How much memory do you have on board?

Mark

On 10/29/2010 03:27 AM, Steve Blackmore wrote:
 Got an Asus AT5NM10-I motherboard to play with.
 Uses same chipset and processor as the Intel board.

 Latest live 10.04 distro CD doesn't work with it. It never boots, just
 stops on the first screen. Same CD will boot and install on other
 machines just fine, so it's not a media problem.

 Official Ubuntu 10.04 LTS cd boots and loads without a problem. EMC then
 installs fine.

 I've dual booted it with Win7, that reports the parallel port as working
 properly in EPP mode.

 How do I see what Linux/EMC thinks it is?

 Steve Blackmore

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-10-29 Thread Mark Wendt
It's just so hard to find good help these days...  ;-)

Mark

On 10/28/2010 10:03 PM, Dave wrote:
 Apparently these new cameras do that..

 The camera I had back when I was 20 didn't do that..  Apparently we both
 need different cameras.

 Have you also noticed that they use less fabric in clothes these days..
 Cheap bastards.  ;-)

 Dave


 On 10/28/2010 10:23 AM, sam sokolik wrote:

 Yes - that would be me.   I would like to say the camera adds 40lbs.  ;)

 sam

 On 10/28/2010 9:00 AM, Mark Wendt wrote:

  
 Sweet!  Izzat you in the red hat?

 Mark


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Two control loop (EMC and Servo Driver)?

2010-10-29 Thread James Louis
Caner,

I had a similar situation with my servo amps and I found out that my system was 
a cascaded position-velocity loop.  I suspect that is what yours is too.  That 
means that my external amp, which closes a velocity loop, is nested inside of 
EMC2, which closes a position loop.
For your Toshiba VLASX-012P2 using Mode 1 Analog Input will make it a velocity 
amplifier using PI (proportional / integral) and will make EMC2 a position 
controller using only P with FF1 and FF2.  No I or D terms are used in the 
*.ini file.
Your amplifiers have Auto-Tuning right?  With EMC2 disconnected, I would 
suggest first tuning the Toshiba to be as stiff as possible. Then connect your 
analog input.  Use Halscope to view your commanded velocity profile compared to 
your actual output, and use Calibration to slowly increase only your P while 
jogging at maximum velocity.  Use FF1 and FF2 to make the two profiles match as 
close as possible.
The secret to having no oscillations is to have the bandwidth of the velocity 
loop be greater than or equal to the bandwidth of the position loop.  It sounds 
like right now you have the opposite.
Be safe, and good luck.

Jim

-Original Message-
From: Caner [mailto:cnr...@gmail.com]
Sent: Friday, October 29, 2010 2:29 AM
To: emc-users
Subject: [Emc-users] Two control loop (EMC and Servo Driver)?

Hi,

I am trying to test my Mesa boards (5i23 and 7i33) with my servo motors.
But there is an unexpected problem that EMC2 can't control servo. When I
jog, servo motor tuns with oscillation and when i stop jogging, it
continue oscillation some seconds more then stop. My servo motor has
resolver with 24000ppr and i am getting differential encoder output from
its driver. Also servo driver has own control loop inside, i have tried
to disable its control loop but i could only set target loop gain to
1. Also i have tried to change PID values of EMC2.
My servo period is recommended (100ns), and PWM/PDM frequency is
recommended (10 Hz). Following Error is 0.5, and Minimum Error is
0.01. I don't know why it happens but i guess two control loop is
overlapping. Do you have any idea about my this problem? Am i using too
slow servo-thread? Did anyone have tried to use Toshiba Servo Driver
(VLASX-012P2) with EMC2?

Thanks.
---
Caner Durmusoglu


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

This communication is for the use of the intended recipient only. It may 
contain information that is privileged and confidential. If you are not the 
intended recipient of this communication, the disclosure, copying, distribution 
or use hereof is prohibited. If you have received this communication in error, 
please advise me by return e-mail or by telephone and then delete it 
immediately.

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Two control loop (EMC and Servo Driver)?

2010-10-29 Thread Igor Chudov
I had the same exact situation with inner velocity loop. I am sure
that it is fixable, but I did not have the time and instead went to a
torque loop. Velocity loop, if tuned properly, has better
characteristics, so one day I will try to go back to it.

i

On Fri, Oct 29, 2010 at 7:29 AM, James Louis
james.lo...@gastechnology.org wrote:
 Caner,

 I had a similar situation with my servo amps and I found out that my system 
 was a cascaded position-velocity loop.  I suspect that is what yours is too.  
 That means that my external amp, which closes a velocity loop, is nested 
 inside of EMC2, which closes a position loop.
 For your Toshiba VLASX-012P2 using Mode 1 Analog Input will make it a 
 velocity amplifier using PI (proportional / integral) and will make EMC2 a 
 position controller using only P with FF1 and FF2.  No I or D terms are used 
 in the *.ini file.
 Your amplifiers have Auto-Tuning right?  With EMC2 disconnected, I would 
 suggest first tuning the Toshiba to be as stiff as possible. Then connect 
 your analog input.  Use Halscope to view your commanded velocity profile 
 compared to your actual output, and use Calibration to slowly increase only 
 your P while jogging at maximum velocity.  Use FF1 and FF2 to make the two 
 profiles match as close as possible.
 The secret to having no oscillations is to have the bandwidth of the velocity 
 loop be greater than or equal to the bandwidth of the position loop.  It 
 sounds like right now you have the opposite.
 Be safe, and good luck.

 Jim

 -Original Message-
 From: Caner [mailto:cnr...@gmail.com]
 Sent: Friday, October 29, 2010 2:29 AM
 To: emc-users
 Subject: [Emc-users] Two control loop (EMC and Servo Driver)?

 Hi,

 I am trying to test my Mesa boards (5i23 and 7i33) with my servo motors.
 But there is an unexpected problem that EMC2 can't control servo. When I
 jog, servo motor tuns with oscillation and when i stop jogging, it
 continue oscillation some seconds more then stop. My servo motor has
 resolver with 24000ppr and i am getting differential encoder output from
 its driver. Also servo driver has own control loop inside, i have tried
 to disable its control loop but i could only set target loop gain to
 1. Also i have tried to change PID values of EMC2.
 My servo period is recommended (100ns), and PWM/PDM frequency is
 recommended (10 Hz). Following Error is 0.5, and Minimum Error is
 0.01. I don't know why it happens but i guess two control loop is
 overlapping. Do you have any idea about my this problem? Am i using too
 slow servo-thread? Did anyone have tried to use Toshiba Servo Driver
 (VLASX-012P2) with EMC2?

 Thanks.
 ---
 Caner Durmusoglu


 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 This communication is for the use of the intended recipient only. It may 
 contain information that is privileged and confidential. If you are not the 
 intended recipient of this communication, the disclosure, copying, 
 distribution or use hereof is prohibited. If you have received this 
 communication in error, please advise me by return e-mail or by telephone and 
 then delete it immediately.

 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] More Intel D510 strangeness?

2010-10-29 Thread Kent A. Reed
On 10/29/2010 3:27 AM, Steve Blackmore wrote:
 Got an Asus AT5NM10-I motherboard to play with.
 Uses same chipset and processor as the Intel board.

 Latest live 10.04 distro CD doesn't work with it. It never boots, just
 stops on the first screen. Same CD will boot and install on other
 machines just fine, so it's not a media problem.

 Official Ubuntu 10.04 LTS cd boots and loads without a problem. EMC then
 installs fine.

 I've dual booted it with Win7, that reports the parallel port as working
 properly in EPP mode.

 How do I see what Linux/EMC thinks it is?

 Steve Blackmore

Steve:

Listen to the voice of wisdom from Mark.

I just booted an ASUS AT5NM10-I board, equipped with a 2GB Crucial 
memory module, into EMC2 LiveCD mode from a USB memory stick. Prior to 
booting I had disabled HyperThreading and set the parallel port to EPP 
mode using the onboard BIOS-setup utility.

Once Ubuntu boots, look for parport lines in the output from the 
command line program dmesg. In my case, dmesg reports:

 partport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]

confirming the port functionality I chosen in the BIOS setup.

FYI, I used the latest EMC2 LiveCD file 
(ubuntu-10.04-linuxcnc1-i386.iso) and booted it from a memory stick 
configured with PenDriveLinux.com's multiboot usb program. I love this 
utility. It allows me to boot a number of different .iso files without a 
lot of hassle. The only drawback is that some distributions create .iso 
files that boot in an incompatible fashion, but everything in the Ubuntu 
constellation has worked for me.

To coin a phrase, my fingers never left my hands.

Regards,
Kent


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Christchurch

2010-10-29 Thread Marshland Engineering
Is there anyone here in Christchurch New Zealand running EMC2. If not anyone in 
NZ ?

I wouldn't mind a chick chat. I need to get it up and running asap. 

Cheer Wallace PH 3237449 
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] More Intel D510 strangeness?

2010-10-29 Thread Mark Wendt
On 10/29/2010 09:27 AM, Kent A. Reed wrote:

 Steve:

 Listen to the voice of wisdom from Mark.

 I just booted an ASUS AT5NM10-I board, equipped with a 2GB Crucial
 memory module, into EMC2 LiveCD mode from a USB memory stick. Prior to
 booting I had disabled HyperThreading and set the parallel port to EPP
 mode using the onboard BIOS-setup utility.

 Once Ubuntu boots, look for parport lines in the output from the
 command line program dmesg. In my case, dmesg reports:

   partport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]

 confirming the port functionality I chosen in the BIOS setup.

 FYI, I used the latest EMC2 LiveCD file
 (ubuntu-10.04-linuxcnc1-i386.iso) and booted it from a memory stick
 configured with PenDriveLinux.com's multiboot usb program. I love this
 utility. It allows me to boot a number of different .iso files without a
 lot of hassle. The only drawback is that some distributions create .iso
 files that boot in an incompatible fashion, but everything in the Ubuntu
 constellation has worked for me.

 To coin a phrase, my fingers never left my hands.

 Regards,
 Kent

Kent,

   In the military, we used to call that PFM...  ;-)

Mark

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Two control loop (EMC and Servo Driver)?

2010-10-29 Thread Caner
Thank you Jim,

I will try your recommendations as soon as possible and inform you about
process.

Caner.

On Fri, 2010-10-29 at 07:29 -0500, James Louis wrote:
 Caner,
 
 I had a similar situation with my servo amps and I found out that my system 
 was a cascaded position-velocity loop.  I suspect that is what yours is too.  
 That means that my external amp, which closes a velocity loop, is nested 
 inside of EMC2, which closes a position loop.
 For your Toshiba VLASX-012P2 using Mode 1 Analog Input will make it a 
 velocity amplifier using PI (proportional / integral) and will make EMC2 a 
 position controller using only P with FF1 and FF2.  No I or D terms are used 
 in the *.ini file.
 Your amplifiers have Auto-Tuning right?  With EMC2 disconnected, I would 
 suggest first tuning the Toshiba to be as stiff as possible. Then connect 
 your analog input.  Use Halscope to view your commanded velocity profile 
 compared to your actual output, and use Calibration to slowly increase only 
 your P while jogging at maximum velocity.  Use FF1 and FF2 to make the two 
 profiles match as close as possible.
 The secret to having no oscillations is to have the bandwidth of the velocity 
 loop be greater than or equal to the bandwidth of the position loop.  It 
 sounds like right now you have the opposite.
 Be safe, and good luck.
 
 Jim
 
 -Original Message-
 From: Caner [mailto:cnr...@gmail.com]
 Sent: Friday, October 29, 2010 2:29 AM
 To: emc-users
 Subject: [Emc-users] Two control loop (EMC and Servo Driver)?
 
 Hi,
 
 I am trying to test my Mesa boards (5i23 and 7i33) with my servo motors.
 But there is an unexpected problem that EMC2 can't control servo. When I
 jog, servo motor tuns with oscillation and when i stop jogging, it
 continue oscillation some seconds more then stop. My servo motor has
 resolver with 24000ppr and i am getting differential encoder output from
 its driver. Also servo driver has own control loop inside, i have tried
 to disable its control loop but i could only set target loop gain to
 1. Also i have tried to change PID values of EMC2.
 My servo period is recommended (100ns), and PWM/PDM frequency is
 recommended (10 Hz). Following Error is 0.5, and Minimum Error is
 0.01. I don't know why it happens but i guess two control loop is
 overlapping. Do you have any idea about my this problem? Am i using too
 slow servo-thread? Did anyone have tried to use Toshiba Servo Driver
 (VLASX-012P2) with EMC2?
 
 Thanks.
 ---
 Caner Durmusoglu
 
 
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 
 This communication is for the use of the intended recipient only. It may 
 contain information that is privileged and confidential. If you are not the 
 intended recipient of this communication, the disclosure, copying, 
 distribution or use hereof is prohibited. If you have received this 
 communication in error, please advise me by return e-mail or by telephone and 
 then delete it immediately.
 
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] More Intel D510 strangeness?

2010-10-29 Thread Viesturs Lācis
2010/10/29 Steve Blackmore st...@pilotltd.net:
 Got an Asus AT5NM10-I motherboard to play with.
 Uses same chipset and processor as the Intel board.

 Latest live 10.04 distro CD doesn't work with it. It never boots, just
 stops on the first screen. Same CD will boot and install on other
 machines just fine, so it's not a media problem.


I had the same problem with clean Lucid Live CD - I booted it from my
external DVD drive on my laptop, but did not work with D510 board. It
just did not boot. I am no IT guy, so never understood, what was
wrong.

The solution I was able to come up - created bootable USB drive with
clean Lucid and then after that connected to internet and installed
EMC2.

Viesturs

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] scale/encoder

2010-10-29 Thread Stuart Stevenson
Gentlemen,
  I have a manual CMM with scales. The display box is very old and almost
functional. I would like to replace it with EMC2. Simple enough except for
the scale feedback. The scale feedback is four sine waves at 0, 90, 180 and
270. These are, I think, approx 1 volt magnitude. What can I use to get this
into EMC2 in a usable fashion.
  The original display has an 'amplifier, check, divide' board.
  I don't know the resolution of the sine wave.
  I have an sn7404n chip and a couple germanium diodes hooked to a bread
board. I don't see anything out of the chip. I was expecting a pulse that
would allow me to determine the resolution. At this time I have exceeded my
electronics capabilities.
  Is there a chip or reasonable board I can use to change the sine waves to
pulse or quadrature?
thanks
Stuart
-- 
dos centavos
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread John Prentice
Stuart

Apologies if this is stating the obvious, but the existing board almost 
certainly uses the amplitude of the Sin/Cos to interpolate the basic counts 
and so get a useful accuracy out of the scale. Heidenhain often have a 
ruling of 20 micrometres so with quadrature, discarding the analogue 
information, you only get 5 micron resolution.

John Prentice

- Original Message - 
From: Stuart Stevenson stus...@gmail.com
To: EMC2-Users-List Emc-users@lists.sourceforge.net
Sent: Friday, October 29, 2010 5:58 PM
Subject: [Emc-users] scale/encoder



 Gentlemen,
  I have a manual CMM with scales. The display box is very old and almost
 functional. I would like to replace it with EMC2. Simple enough except for
 the scale feedback. The scale feedback is four sine waves at 0, 90, 180 
 and
 270. These are, I think, approx 1 volt magnitude. What can I use to get 
 this
 into EMC2 in a usable fashion.
  The original display has an 'amplifier, check, divide' board.
  I don't know the resolution of the sine wave.
  I have an sn7404n chip and a couple germanium diodes hooked to a bread
 board. I don't see anything out of the chip. I was expecting a pulse that
 would allow me to determine the resolution. At this time I have exceeded 
 my
 electronics capabilities.
  Is there a chip or reasonable board I can use to change the sine waves to
 pulse or quadrature?
 thanks
 Stuart
 -- 
 dos centavos
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America 
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 




--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Chris Radek
On Fri, Oct 29, 2010 at 11:58:10AM -0500, Stuart Stevenson wrote:
 Gentlemen,
   I have a manual CMM with scales. The display box is very old and almost
 functional. I would like to replace it with EMC2. Simple enough except for
 the scale feedback. The scale feedback is four sine waves at 0, 90, 180 and
 270. These are, I think, approx 1 volt magnitude. What can I use to get this
 into EMC2 in a usable fashion.
   The original display has an 'amplifier, check, divide' board.
   I don't know the resolution of the sine wave.
   I have an sn7404n chip and a couple germanium diodes hooked to a bread
 board. I don't see anything out of the chip. I was expecting a pulse that
 would allow me to determine the resolution. At this time I have exceeded my
 electronics capabilities.
   Is there a chip or reasonable board I can use to change the sine waves to
 pulse or quadrature?
 thanks
 Stuart

I have a glass scale that gives a weird analog sine wavey signal.  I
was able to find some conditioned quadrature inside the amplifier box,
and I ran that into a mesa card.  I think there were only two sines 90
degrees apart though, so the conditioning was probably simple zero
crossing detection perhaps with a bit of hysteresis.   With your four
signals maybe you just have the differential equivalent of mine?

I suggest a little more deciphering of the amplifier board and/or
poking with the scope.

I'll try to help in two weeks if you don't get it by then.

Chris

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Andy Pugh
On 29 October 2010 17:58, Stuart Stevenson stus...@gmail.com wrote:

  Is there a chip or reasonable board I can use to change the sine waves to
 pulse or quadrature?

I suspect that the Pico Resolver converter might work, which I think
is based on something like this
http://docs-europe.origin.electrocomponents.com/webdocs/0e38/0900766b80e382db.pdf

I think Mesa have a resolver converter too (or one on the cards).

You can probably do 3 axes with a single Arduino, too, have a look at:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ResolverToQuadratureConverter


-- 
atp

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Stuart Stevenson
On Fri, Oct 29, 2010 at 12:08 PM, Chris Radek ch...@timeguy.com wrote:


 I have a glass scale that gives a weird analog sine wavey signal.  I
 was able to find some conditioned quadrature inside the amplifier box,
 and I ran that into a mesa card.  I think there were only two sines 90
 degrees apart though, so the conditioning was probably simple zero
 crossing detection perhaps with a bit of hysteresis.   With your four
 signals maybe you just have the differential equivalent of mine?

 I suggest a little more deciphering of the amplifier board and/or
 poking with the scope.

 I'll try to help in two weeks if you don't get it by then.

 Chris

   I am attempting to get rid of the amplifier box as it is old. I have
already replaced the caps in the power supply and this made it better. When
the EMC group was here a couple years ago we got it adjusted and running. I
have been chasing the adjustments to keep it from faulting. I adjust it and
two day or two weeks later it is unusable because of a fault condition.
  I am working on this at this time because I know help will be here
shortly. I just need to get fully prepared. :)
thanks
Stuart



--
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
dos centavos
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Stuart Stevenson
John,
  For some the obvious is obvious. For me the obvious is not necessarily
obvious. :)
  At this time I was only trying to find the resolution of one of the sine
waves to see what I had to work with.
  thanks
Stuart

On Fri, Oct 29, 2010 at 12:05 PM, John Prentice 
j...@castlewd.freeserve.co.uk wrote:

 Stuart

 Apologies if this is stating the obvious, but the existing board almost
 certainly uses the amplitude of the Sin/Cos to interpolate the basic counts
 and so get a useful accuracy out of the scale. Heidenhain often have a
 ruling of 20 micrometres so with quadrature, discarding the analogue
 information, you only get 5 micron resolution.

 John Prentice

 - Original Message -
 From: Stuart Stevenson stus...@gmail.com
 To: EMC2-Users-List Emc-users@lists.sourceforge.net
 Sent: Friday, October 29, 2010 5:58 PM
 Subject: [Emc-users] scale/encoder


 
  Gentlemen,
   I have a manual CMM with scales. The display box is very old and almost
  functional. I would like to replace it with EMC2. Simple enough except
 for
  the scale feedback. The scale feedback is four sine waves at 0, 90, 180
  and
  270. These are, I think, approx 1 volt magnitude. What can I use to get
  this
  into EMC2 in a usable fashion.
   The original display has an 'amplifier, check, divide' board.
   I don't know the resolution of the sine wave.
   I have an sn7404n chip and a couple germanium diodes hooked to a bread
  board. I don't see anything out of the chip. I was expecting a pulse that
  would allow me to determine the resolution. At this time I have exceeded
  my
  electronics capabilities.
   Is there a chip or reasonable board I can use to change the sine waves
 to
  pulse or quadrature?
  thanks
  Stuart
  --
  dos centavos
 
 --
  Nokia and ATT present the 2010 Calling All Innovators-North America
  contest
  Create new apps  games for the Nokia N8 for consumers in  U.S. and
 Canada
  $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
  marketing
  Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
  http://p.sf.net/sfu/nokia-dev2dev
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users
 





 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
dos centavos
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Stuart Stevenson
On Fri, Oct 29, 2010 at 12:13 PM, Andy Pugh a...@andypugh.fsnet.co.ukwrote:

 On 29 October 2010 17:58, Stuart Stevenson stus...@gmail.com wrote:

   Is there a chip or reasonable board I can use to change the sine waves
 to
  pulse or quadrature?

 I suspect that the Pico Resolver converter might work, which I think
 is based on something like this

 http://docs-europe.origin.electrocomponents.com/webdocs/0e38/0900766b80e382db.pdf

 I have some of the Pico resolver converter boards.
Jon E. - do you think they will work?



 I think Mesa have a resolver converter too (or one on the cards).

   I have a 5i23 - will it do this?

You can probably do 3 axes with a single Arduino, too, have a look at:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ResolverToQuadratureConverter


 thanks
Stuart


-- 
dos centavos
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Chris Radek
On Fri, Oct 29, 2010 at 06:13:48PM +0100, Andy Pugh wrote:
 On 29 October 2010 17:58, Stuart Stevenson stus...@gmail.com wrote:
 
  ?Is there a chip or reasonable board I can use to change the sine waves to
  pulse or quadrature?
 
 I suspect that the Pico Resolver converter might work

I'm pretty sure these scales are optical.  If it's the one I remember
fiddling with, it's got light bulbs.  I suspect the signals are just
unconditioned light level detection.

I'm not sure I know the right terminology to describe it, but they use
a second piece of glass with the same pitch (?) lines in front of the
master one.  The second glass is at a slight angle so as you watch the
light shining through it as you move the head, there is something like
a moire pattern (?) that makes large areas of light and dark move
perpendicular to the head's motion.  It is these lines that are
detected optically.  For this reason I doubt there is interpolation.
I bet the lines are the resolution of the device.  I think they were
too fine to see by naked eye. 

I bet very basic signal conditioning (thresholding) will be adequate
to read this at full resolution.

Chris

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Peter C. Wallace
On Fri, 29 Oct 2010, Stuart Stevenson wrote:

 Date: Fri, 29 Oct 2010 12:37:44 -0500
 From: Stuart Stevenson stus...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] scale/encoder
 
 On Fri, Oct 29, 2010 at 12:13 PM, Andy Pugh a...@andypugh.fsnet.co.ukwrote:

 On 29 October 2010 17:58, Stuart Stevenson stus...@gmail.com wrote:

  Is there a chip or reasonable board I can use to change the sine waves
 to
 pulse or quadrature?

 I suspect that the Pico Resolver converter might work, which I think
 is based on something like this

 http://docs-europe.origin.electrocomponents.com/webdocs/0e38/0900766b80e382db.pdf

 I have some of the Pico resolver converter boards.
 Jon E. - do you think they will work?



 I think Mesa have a resolver converter too (or one on the cards).

   I have a 5i23 - will it do this?

The 5I23 can work with the resolver interface card (7I49) but this would need 
firmware modifications for DC exitation like your scale uses (sine and cosine 
signals with no carrier)

But as Chris says if interpolation is not needed, a simple comparator would do 
to convert the signals to TTL quadrature. Can you slowly move .010 or so and 
count the peaks? if the resolution or your display is more than 4X the number 
of peaks from one signal then interpolation is needed.


 You can probably do 3 axes with a single Arduino, too, have a look at:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ResolverToQuadratureConverter


 thanks
 Stuart


 -- 
 dos centavos
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Stuart Stevenson
On Fri, Oct 29, 2010 at 1:22 PM, Chris Radek ch...@timeguy.com wrote:

 On Fri, Oct 29, 2010 at 06:13:48PM +0100, Andy Pugh wrote:
  On 29 October 2010 17:58, Stuart Stevenson stus...@gmail.com wrote:
 
   ?Is there a chip or reasonable board I can use to change the sine waves
 to
   pulse or quadrature?
 
  I suspect that the Pico Resolver converter might work

 I'm pretty sure these scales are optical.  If it's the one I remember
 fiddling with, it's got light bulbs.  I suspect the signals are just
 unconditioned light level detection.

 I'm not sure I know the right terminology to describe it, but they use
 a second piece of glass with the same pitch (?) lines in front of the
 master one.  The second glass is at a slight angle so as you watch the
 light shining through it as you move the head, there is something like
 a moire pattern (?) that makes large areas of light and dark move
 perpendicular to the head's motion.  It is these lines that are
 detected optically.  For this reason I doubt there is interpolation.
 I bet the lines are the resolution of the device.  I think they were
 too fine to see by naked eye.

 I bet very basic signal conditioning (thresholding) will be adequate
 to read this at full resolution.

   Yes the scales are optical as you describe. I changed the bulbs and set
the gap and angle for the greatest signal strength. I have no idea of the
basic resolution. That is what I am trying to find out at this time.


 Chris


 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
dos centavos
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Andy Pugh
On 29 October 2010 19:32, Peter C. Wallace p...@mesanet.com wrote:

 The 5I23 can work with the resolver interface card (7I49) but this would need
 firmware modifications for DC exitation like your scale uses (sine and cosine
 signals with no carrier)

At that point you could strip down my Arduino code to remove the PWM
generation, take off the no-longer required filter/amplifier and
simply keep the analogue sampling and arctan calculation.
Then it would simply measure 6 voltages (sin and cos for three
channels), calculate angle and output the results as quadrature
pulses. You could re-jig for 16-bit A to D too (I have it at 10 bits
for speed).

Even if Chris is right that there is no interpolation, at $20 an
Arduino is a very simple way to measure 6 analogue voltages, threshold
them, and pass it to digital.

-- 
atp

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Chris Radek
On Fri, Oct 29, 2010 at 02:54:19PM -0500, Stuart Stevenson wrote:

 Yes the scales are optical as you describe. I changed the bulbs and set
 the gap and angle for the greatest signal strength. I have no idea of the
 basic resolution. That is what I am trying to find out at this time.

Have you tried to count the fringes going by as you give it a little
shove while an indicator is against it?  Seems pretty possible.
Maybe a .001 move (tenths indicator)?

I bet you'll come up with 2500/inch or 6350/inch or some other nice
round number.

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Stuart Stevenson
On Fri, Oct 29, 2010 at 3:49 PM, Chris Radek ch...@timeguy.com wrote:

 On Fri, Oct 29, 2010 at 02:54:19PM -0500, Stuart Stevenson wrote:

  Yes the scales are optical as you describe. I changed the bulbs and set
  the gap and angle for the greatest signal strength. I have no idea of the
  basic resolution. That is what I am trying to find out at this time.

 Have you tried to count the fringes going by as you give it a little
 shove while an indicator is against it?  Seems pretty possible.
 Maybe a .001 move (tenths indicator)?

I will check this before I go the Arduino route. I may be back there later
today to check this.
thanks
Stuart



 I bet you'll come up with 2500/inch or 6350/inch or some other nice
 round number.


 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
dos centavos
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Stuart Stevenson
On Fri, Oct 29, 2010 at 3:07 PM, Andy Pugh a...@andypugh.fsnet.co.ukwrote:

 On 29 October 2010 19:32, Peter C. Wallace p...@mesanet.com wrote:

  The 5I23 can work with the resolver interface card (7I49) but this would
 need
  firmware modifications for DC exitation like your scale uses (sine and
 cosine
  signals with no carrier)

 At that point you could strip down my Arduino code to remove the PWM
 generation, take off the no-longer required filter/amplifier and
 simply keep the analogue sampling and arctan calculation.
 Then it would simply measure 6 voltages (sin and cos for three
 channels), calculate angle and output the results as quadrature
 pulses. You could re-jig for 16-bit A to D too (I have it at 10 bits
 for speed).

 Even if Chris is right that there is no interpolation, at $20 an
 Arduino is a very simple way to measure 6 analogue voltages, threshold
 them, and pass it to digital.

 --
 atp


This sounds good - I will try it
thanks
Stuart

-- 
dos centavos
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Kent A. Reed
Andy Pugh wrote:
 Even if Chris is right that there is no interpolation, at $20 an
 Arduino is a very simple way to measure 6 analogue voltages, threshold
 them, and pass it to digital.

For those of us who grew up in the middle of the last century, this is 
the most amazing fact about today's microcontrollers.

They are nearly always the most cost-effective solution to the problem 
at hand, even when the application seems too trivial to waste one on it. 
No matter your favorite microcontroller family, everyone should have a 
drawerful of different capability chips on hand.

Now that I'm over the hill, I think about the number of times in my life 
I implemented yet another purpose-built, multi-package, hybrid, 
analog-digital solution where a single microcontroller would do. I also 
think about how many more things I could have achieved had I not had to 
spend so much time getting each hybrid solution right. Sigh.

My vacuum tube-era engineer-dad once said to me, you whippersnappers 
will never know how good you have it.  I wonder what the technology 
will be like when you find yourselves saying it to those who follow you.

Regards,
Kent

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Kirk Wallace
On Fri, 2010-10-29 at 13:22 -0500, Chris Radek wrote:
... snip
 I'm not sure I know the right terminology to describe it, but they use
 a second piece of glass with the same pitch (?) lines in front of the
 master one.  The second glass is at a slight angle so as you watch the
 light shining through it as you move the head, there is something like
 a moire pattern (?) that makes large areas of light and dark move
 perpendicular to the head's motion.  It is these lines that are
 detected optically.  For this reason I doubt there is interpolation.
 I bet the lines are the resolution of the device.  I think they were
 too fine to see by naked eye. 
 
 I bet very basic signal conditioning (thresholding) will be adequate
 to read this at full resolution.
 
 Chris
... snip

Another possibility might be a vernier sensor. Over the span of four
in-line sensors, there is a mask with a pitch of the scale pitch -1.
This would present a dark region that would travel across the four
sensor area. Each sensor would have a peak every scale line to line
span/4 of movement. Another thought is that the designers might have
tried to allow for variable bulb brightness, so two sets of two sensors
are set up to have their peak and valley at the same location so the
difference could be used as the signal threshold. How many bulbs are
there?
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] OT update on fanless, untra-reliable PC

2010-10-29 Thread Igor Chudov
A few weeks ago I asked buying a fanless, no moving parts, low power
consumption server. I wanted to buy something that I can use to hold
critical data (CVS etc), be a nameserver, and be used for port
forwarding.

I was looking at various Atom based options.

After much asking, thinking and reading I settled down on this:

  http://www.newegg.com/Product/Product.aspx?Item=N82E16856101096
  Shuttle Intel Atom/D510 based slim, fanless PC.

For the hard drive, I bought this:

  http://www.newegg.com/Product/Product.aspx?Item=N82E16820167025
  Intel 40 GB SSD.

I set it up with Ubuntu 10.04. The only problem was that Ubuntu did
not see its network interface and reported no network cards found. I
finally learned that the driver is called jme, so after modprobling
it, the box has a network connection.

It does not see much of a load, as intended. It stays cool at 64
degrees C CPU, with maximum temp reported as 104C. It is fed with
power through a laptop style power brick.

Top sees four CPUs, but in reality the CPU has two hyperthreaded cores.

According to my own benchmark test (perl script that I wrote for
benchmarking single or multicore machines), it is very slow, 5 times
slower than my desktop, and two times slower than my 5.5 year old,
semi-retired webserver. That does not bother me a bit, as speed was
never a requirement.

I will try to find a couple of extra laptop style power supplies that
fit it, and hope that this server will last me many years.

This machine has no terminal, keyboard or mouse attached.

i

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] AVR Gadget, was: scale/encoder

2010-10-29 Thread Kirk Wallace
On Fri, 2010-10-29 at 17:43 -0400, Kent A. Reed wrote:
... snip
 For those of us who grew up in the middle of the last century, this is 
 the most amazing fact about today's microcontrollers.
 ...  I also 
 think about how many more things I could have achieved had I not had to 
 spend so much time getting each hybrid solution right. Sigh.

I have just restarted learning about C programming AVR's (ATtiny2313).
I've gotten an LED to flash with a button push, and to vary the LED
light with a ramped PWM, so I'm getting a better idea of what I might be
able to accomplish. Atmel's website has a wide range of application
notes that cover LCD displays, PWM, encoders and such. I'm thinking that
it would nice to have a stand-alone gadget as a source to test PWM input
devices (Pico AMPs). A frequency could be selected, and the duty cycle
varied with a knob (quadrature encoder), with the values being displayed
on an LCD. My problem is that the gadget would only save me booting a
PC, and it would be a fair amount of work to build the gadget. I'm
trying to figure out if it would be worth it. Anybody have other ideas
for an AVR project that might be worth doing? I tend to think a PLC or
Tool changer controller is better done with EMC2. An e-stop or watchdog
controller might be worthy. EPP to Modbus converter? EPP to fast step or
PWM generator?

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] AVR Gadget, was: scale/encoder

2010-10-29 Thread Stephen Wille Padnos
Kirk Wallace wrote:
 On Fri, 2010-10-29 at 17:43 -0400, Kent A. Reed wrote:
 ... snip

 For those of us who grew up in the middle of the last century, this is
 the most amazing fact about today's microcontrollers.
 ...  I also
 think about how many more things I could have achieved had I not had to
 spend so much time getting each hybrid solution right. Sigh.
  
 I have just restarted learning about C programming AVR's (ATtiny2313).
 I've gotten an LED to flash with a button push, and to vary the LED
 light with a ramped PWM, so I'm getting a better idea of what I might be
 able to accomplish. Atmel's website has a wide range of application
 notes that cover LCD displays, PWM, encoders and such. I'm thinking that
 it would nice to have a stand-alone gadget as a source to test PWM input
 devices (Pico AMPs). A frequency could be selected, and the duty cycle
 varied with a knob (quadrature encoder), with the values being displayed
 on an LCD. My problem is that the gadget would only save me booting a
 PC, and it would be a fair amount of work to build the gadget. I'm
 trying to figure out if it would be worth it.
Or you could buy one :)

http://www.cncgear.com/MPG/
 Anybody have other ideas
 for an AVR project that might be worth doing? I tend to think a PLC or
 Tool changer controller is better done with EMC2. An e-stop or watchdog
 controller might be worthy. EPP to Modbus converter? EPP to fast step or
 PWM generator?

Now an AVR based doohickey that can have internal HAL-like signal 
connections between its peripherals - that would be something :)

- Steve

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Gene Heskett
On Friday, October 29, 2010 08:26:57 pm Kent A. Reed did opine:

 Andy Pugh wrote:
  Even if Chris is right that there is no interpolation, at $20 an
  Arduino is a very simple way to measure 6 analogue voltages, threshold
  them, and pass it to digital.
 
 For those of us who grew up in the middle of the last century, this is
 the most amazing fact about today's microcontrollers.
 
 They are nearly always the most cost-effective solution to the problem
 at hand, even when the application seems too trivial to waste one on it.
 No matter your favorite microcontroller family, everyone should have a
 drawerful of different capability chips on hand.
 
 Now that I'm over the hill, I think about the number of times in my life
 I implemented yet another purpose-built, multi-package, hybrid,
 analog-digital solution where a single microcontroller would do. I also
 think about how many more things I could have achieved had I not had to
 spend so much time getting each hybrid solution right. Sigh.
 
 My vacuum tube-era engineer-dad once said to me, you whippersnappers
 will never know how good you have it.  I wonder what the technology
 will be like when you find yourselves saying it to those who follow you.
 
 Regards,
 Kent
 
I would liked to have met your dad, Kent.  He sounds like an old warhorse 
I'd like to trade battle stories with.

For some things, it wasn't till we shut down the analog transmitter 18 
months ago that the last vacuum tube was allowed to cool down for good.  I 
saved a dud, non-rebuildable final tube from our old GE transmitter just so 
I could show it off to the younger set who will today, cheerfully use 8192 
transistors in parallel to do what this tube did when it was fresh.  A 
water cooled anode that required deionized water in the coolant system 
because the tubes anode had 7200 volts on it.  This tube was rated to make 
85 kilowatts (sync tip peak) of power in the low vhf band, but our 
transmitter let it relax with its feet up on the coffee table because we 
only needed 26.7 sync tip peak to make our power.

Most 'engineers' don't know how to baby those big tubes  use one up every 
6 months at $7000 a rebuild.  In the time since I became the CE at WDTV in 
1984, I only used 3 of them.  That was a significant reduction in the 
stations C.O.D.B.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
This PORCUPINE knows his ZIPCODE ... And he has VISA!!

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Gary P. Fiber

-- 
Gary Fiber K8IZ
GROL PG-19-6691 with shipboard radar endorsement
Washington State resident


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Jon Elson
Chris Radek wrote:
   With your four
 signals maybe you just have the differential equivalent of mine?
   
Yes, and one of the advantages of that is it gives a clear indication if 
the light bulb fails.
All 4 signals go the same way and you lose the differential nature of 
the signals.
(I will bet it DOES have an actual bulb, or was made just after the 
first LEDs came out,
they used this in Allen-Bradley and other CNC controls as a fail-safe 
scheme.)

Jon

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Jon Elson
Andy Pugh wrote:
 On 29 October 2010 17:58, Stuart Stevenson stus...@gmail.com wrote:

   
  Is there a chip or reasonable board I can use to change the sine waves to
 pulse or quadrature?
 

 I suspect that the Pico Resolver converter might work, which I think
 is based on something like this
 http://docs-europe.origin.electrocomponents.com/webdocs/0e38/0900766b80e382db.pdf
   
No, unfortunately, these boards drive a rotary transformer-type device 
with an AC signal,
and detect the resulting AC output, both amplitude and phase.  It won't 
work with the
photocell output of a glass scale.

Jon

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] scale/encoder

2010-10-29 Thread Jon Elson
Gene Heskett wrote:
   A 
 water cooled anode that required deionized water in the coolant system 
 because the tubes anode had 7200 volts on it.  This tube was rated to make 
 85 kilowatts (sync tip peak) of power in the low vhf band, but our 
 transmitter let it relax with its feet up on the coffee table because we 
 only needed 26.7 sync tip peak to make our power.
   
Up at Michigan State University's National Superconducting Cyclotron Lab 
they
have two cyclotrons.  Each has 3 transmitting tubes, as they have 6 
Dees, 3 grounded
and 3 live, with 120 degree phase relationship.  Kind of like 3 phase 
mains power only
at 14 MHz or something.  The main DC supply is 18 KV at 42 amps.  That 
is 756 KW
of DC power!  I know the smaller cyclotron has smaller transmitting 
tubes in it,
but that averages out to 126 KW per tube!  They really aren't very big, 
either.
(Just to be clear, the 42 A is not the rating, it is the ACTUAL load as 
read off the
meters.)  Almost all of this power is turned into RF heating of the 
inside of the cyclotrons.

Jon


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] SGI Legacy.

2010-10-29 Thread Don Stanley
Hi Kent;
I have wondered how SGI faired over the years.
A look at Wiki and WOW.

It looked like some awesome graphics near the end, especially
their larger systems.

I was using their IRIS 1000 - 3000 and the IRIS 4D (Baby steps).
But they were great by comparison to what was available otherwise.

In the end did it appear they were too big or too programed to step
into the inexpensive Video Production and PC Gaming markets?

Thanks
   Don
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Power outage EMC2 [Was: Re: fanless, untra-reliable PC]

2010-10-29 Thread Erik Christiansen
On Fri, Oct 29, 2010 at 05:21:04PM -0500, Igor Chudov wrote:
 
 I will try to find a couple of extra laptop style power supplies that
 fit it, and hope that this server will last me many years.

If it should also be reliably up, or at least be able to be brought down
gracefully in the event of power failure, a cheap UPS can be built in to
the host, if a PicoPSU is used, as suggested upthread.

Having bought a PicoPSU with each of two mini-ATX boards, I've
interposed a spare 12v SLA battery on one, and cobbled up a 13.8v power
supply to keep it charged. (So that UPS involved no expenditure.)

A UPS seems useful on a EMC2 host? We have occasional fleeting power
interruptions here. I'm not keen on power flicking off three times in
five seconds, then staying on, in the middle of a job. It has to be
better for EMC2 to remain conscious, even if it is best to trigger an
estop. The encoders can be powered by the UPS, so we don't lose
position. (With summer looming, I'm nervous about power interruptions.
Last summer I was once the only hardware-store customer in a checkout
queue of four, _not_ walking out with an airconditioner on a trolley.)

Erik

-- 
Never worry about theory as long as the machinery does what it's
supposed to do.
  -- Robert A. Heinlein

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users