Re: [Emc-users] [OT] measuring real-world latency, was Re: worsk: sim parport component

2012-09-07 Thread Joachim Franek

What about:
http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,842,1018Prod=ANALOG-DISCOVERY

But I can not find detailed documentation. 

Joachim 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Parts

2012-06-12 Thread Joachim Franek

On Tuesday 12 June 2012 12:42:01 Ed Nisley wrote:
 There's been some work on reading analog values from various
 microcontrollers into HAL through USB. That'd be the hard part of the
 job, 

Why not use a dmm with rs232 or usb?
There are some available with a thermocouple input.

Joachim 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Parts

2012-06-12 Thread Joachim Franek


On Tuesday 12 June 2012 14:36:52 andy pugh wrote:
 On 12 June 2012 12:55, Ed Nisley ed.08.nis...@pobox.com wrote:
 
  A quick glance at the search results suggests that the combination of
  thermocouple and usb runs about $100 direct from China and *much*
  more than that from a reputable supplier.
 
 A K-type thermocouple gives you 40uV/K
 For 150C above the cold-junction that is 6mV.
 I found a 16-bit ADC with an 8x pre-amp and +/- 2.048V so that gives a
 resolution of 8uV. So that would give a temperature resolution of 0.2C
 It samples 15 times a second, and has I2C. At that sort of data rate
 parallel-port bit-banging the I2C ought to be fairly trivial.
 
I have a breakout board with a AD7718
http://www.analog.com/en/analog-to-digital-converters/ad-converters/ad7718/products/product.html
connected to a FT4232H mini module board in spi mode.
Software uses libmpsse and up to now I can read the id register.

Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Parts

2012-06-12 Thread Joachim Franek


On Tuesday 12 June 2012 13:55:13 Ed Nisley wrote:
 On Tue, 2012-06-12 at 13:22 +0200, Joachim Franek wrote:
  Why not use a dmm with rs232 or usb?
 
 A quick glance at the search results suggests that the combination of
 thermocouple and usb runs about $100 direct from China and *much*
 more than that from a reputable supplier.
 
 You'd need a pair for two extruders, although that might still be
 cheaper than cobbling up something Arduino-oid on your own.
 
Here in Europe:
UT61C / UT61B : about Euro 40 + spezial USB cable Euro 10.
with K-type up to 230°C.

For protocoll see:
http://www-user.tu-chemnitz.de/~heha/hs_freeware/UNI-T/

Joachim  

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Parts

2012-06-12 Thread Joachim Franek


On Tuesday 12 June 2012 15:54:55 andy pugh wrote:
 On 12 June 2012 14:20, Joachim Franek joachim.fra...@pibf.de wrote:
  libmpsse
 
 Does that hook in to HAL in a convenient way?
 
Today no. 
libmpsse makes tho usage of libusb easier for spi devices.
I hope to have a normal programm to get the
ad values. Than I whant to ask on this
list, how to exchange data between hal and
a (non-rt) program running on the same
(or other) computer: sockets, ipc,etc.

Alternative:
I want to look to the lcnc code for
the userspace driver for hid devices.
This works nice with spancenavd for
the 3dspacenavigator.

Joachim 



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Parts

2012-06-12 Thread Joachim Franek
On Tuesday 12 June 2012 16:18:18 andy pugh wrote:
 Have you tried using hal_input to read it? It might just work if the
 USB chip looks like a HID device at all.
 
No, I do not have tried this because this is not a hid device. 
This is a usb to rs232 converter and detaching
the ftdi_sio driver when opening the device in spi mode
the entry /dev/ttyUSBx vanishes. This is done
in libmpsse. BTW libmpsse can also do i2c.

I prefer to keep wires with analog voltage short.
On digital information exchange usually crc's
are used to detect errors.
And because an analog voltage does not carry a crc
I prefer to have two wires with the same information
to detect errors comparing the two analog values.

If the extruder is in a short distance from the lcnc
you can use bitbang i2c/spi from parallel port. But
in case you have something more far (tool exchanger etc)
and you want to avoid many long wires usually some
busses are used. 

1. USB
Assume I attach a spi device to ftdi and
have a userspace non rt program which
can read/write to the device. 
What do you suggest to exchange data with hal
for not really time critical data (like this case
of temperature control of the extruder head)?

2. Eth
Assume I attach a spi device to a Rasperry Pi
because the cable length is a bit longer and
development is much more comfortable. Here runs
a program as a server which opens a tcp or udp port.
How to communicate with this program (with sockets)
and transfer some data to hal?

Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Parts

2012-06-11 Thread Joachim Franek
On Monday 11 June 2012 02:09:23 Jeshua Lacock wrote:
 Oh, can anyone recommend a decent RS485 card that will just work with Ubuntu?
http://www.ftdichip.com/Products/Cables/USBRS485.htm

But I have not tested it.

Joachim 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: and Soapbox: 3D Printer Mods?

2012-06-06 Thread Joachim Franek
On Tuesday 05 June 2012 09:08:34 Joachim Franek wrote:
 My suggestion is to use a pcb board mechanically attached to the extruder 
 with a cpu and eth/rs232.

I have played with a FTDI 4232 mini modul.
With libmpsse-1.1 I see spi clk and data changing
with a write command. 

With libftdi-0.20 (/exmples/bitbang) I see some level
changes on the scope.

So there is also a usb version possible.

Cheers,
Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: and Soapbox: 3D Printer Mods?

2012-06-05 Thread Joachim Franek
On Tuesday 05 June 2012 02:28:48 Jeshua Lacock wrote:
 Personally what I would like to see is:
 
 • Compatible with existing popular slicing software, filtering with a script 
 is acceptable (but of course not ideal), for instance using the python script 
 at:
 http://www.thingiverse.com/thing:5233
Yes, but in the long run the scripts functionality is integrated into the 
slicing software.

 • Compatible with off the shelf components such as MakerBots newest 
 extruder the MK7:
My setup for 3mm wire is similar: 
http://dl.dropbox.com/u/18713924/IMG_3032.JPG
You see the stepper and the driver board connected to the parallel port.
Notice the changed position of the temperature sensor near to the nozzle.
This effects measurement accuracy.
The motor axis has a second axis end for mounting a encoder (not visible).
The flat front face is for a cpu-cooler (maybe with a peltier in between).
I am wondering this reprap wire feeders are running without any monitoring:
my suggestion is a encoder driven by the wire.

My summary of electronics needed:
• Stepper driver (nothing to do, use lcnc usual parts, movement is lcnc driven!)
• Encoder interface (maybe 2x, nothing to do)
• 3x temperatur measurement, 12bit resolution (2x nozzle, 1x feader housing)
• 3x pwm (nozzle, peltier, fan)
My suggestion: something like pmod's: 
http://www.digilentinc.com/Products/Catalog.cfm?NavPath=2,401Cat=9
and a avr/arm board with eth. You use what you need (price/accuracy).

For cheap temperature measurement with 1n4148 up to 400 °C see Bild2 from:
http://thomaspfeifer.net/laminator_temperatur_regelung.htm


 • And their controller card. If we could eliminate the card with standard CNC 
 hardware, that works too. But this card looks like it essentially just 
 controls the power of the extruder heater.
 http://store.makerbot.com/extruder-controller-v3-6.html
This controller does not fullfill all my requierements. But have thermocouple 
support.
But this is only an advantage, if you use a better ad converter.


 Note the CNC conversion at:
 http://www.thingiverse.com/thing:5233
I am working on a very similar setup. Have you seen a extruder with MK2-M10 
taper?
And the electronic board has 2 connectors: power and eth. Easy to change.

  I am not sure how the slicing software handles the extruder stepper motor, 
 but I would guess it is with G Code.
http://www.reprap.org/wiki/EmcRepStrap
My suggestion: we change the postprocessor of the slicing software to fit lcnc 
gcode requirements.

 • Multiple extruder support would be great too, either for increased print 
 speeds and/or different material. That of course can come later.
You can use multiple boards of the above described type or use more pmod's.

My suggestion is to use a pcb board mechanically attached to the extruder with 
a cpu and eth/rs232.
Alternatives to avr based boards are:
- Raspberry Pi
- OLINUXINO (https://github.com/OLIMEX/OLINUXINO from 
http://www.olimex.com/dev/index.html)
- ?

Cpu power is sufficient to run termperature controll.

Cheers,
Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: and Soapbox: 3D Printer Mods?

2012-06-05 Thread Joachim Franek
On Tuesday 05 June 2012 09:08:34 Joachim Franek wrote:
 Alternatives to avr based boards are:
 - Raspberry Pi

I have in the moment a rpi board from a fried in my hands and 
have seen it booting to a command login.

Looking to 
http://elinux.org/Rpi_Low-level_peripherals
I think there are for a extruder control:
- spi or i2c (for a ad converter)
- 8 pins (for pwm)

see for details:
http://elinux.org/RPi_BCM2835_GPIOs

Driver for spi and i2c:
http://www.bootc.net/archives/2012/05/19/i2c-and-the-raspberry-pi/

Some source code is on the page to drive the pins.

Summary:
It seems to me an overshoot to use so many
cpu power for such a simple task, but the board
is cheap and has a camera interface.

Cheers,
Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: and Soapbox: 3D Printer Mods?

2012-06-05 Thread Joachim Franek
I forgot:
http://elinux.org/RPi_Expansion_Boards

Maybe this is a stating point:
http://zuzebox.wordpress.com/2012/03/14/userport-for-raspberry-pi-v0-10/

Cheers,
Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: and Soapbox: 3D Printer Mods?

2012-06-04 Thread Joachim Franek
On Monday 04 June 2012 19:53:48 Jeshua Lacock wrote:
 
 ... and I am all for doing things the right way,
I agree.

 do you think it makes sense if we all collaboratively work towards a common 
 goal?
Yes.

 It just seems that several people are going in several directions, and we 
 might all benefit from a shared strategy.
It is time to tell, what is essential and what desirable.

For me essential: 
- temp. control of head(s) etc.
  from my experiance 12bit a/d is required, (I wil test 10bit with avr board)
  because of thermal long time constant 8 bit of pwm output may be ok

Desirable:
 - common lcnc api: gcode and hal parts

Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Mods?

2012-06-01 Thread Joachim Franek
On Wednesday 30 May 2012 09:28:56 Joachim Franek wrote:
 http://www.ethersex.de/index.php/Main_Page

I played with this code (hw: netio).

Results:
- ADC is working (10bit)
- pwm (named Stellalight) works (range 0..255)

Commands: ECMD (http://ethersex.de/index.php/ECMD_Reference)

Interfaces: rs232, tcp, udp

Examples:

rs232:  (with 2,7V)
command: adc get 4
response: 228

command: channel 0 240
response: OK

eth tcp:
$ echo -e adc get 4 | nc 192.168.1.92 2701
227 
$ echo -e channel 0 250 | nc 192.168.1.92 2701
OK

eth udp:
$ echo -e adc get 4 | nc -u 192.168.1.92 2701
227 
$ echo -e channel 0 250 | nc -u 192.168.1.92 2701
OK

Joachim 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Mods?

2012-06-01 Thread Joachim Franek
Andy,

prior to express my question you give the answer.
Thanks. Joachim 

On Friday 01 June 2012 12:36:51 andy pugh wrote:
 #! bin/bash
 ADC = $( echo -e adc get 4 | nc 192.168.1.92 2701)
 halcmd setp motion.analog-in-00 $ADC

BTW: 
which comp to load for testing (without lcnc running)?
Is a signal possible?



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: 3D Printer Mods?

2012-06-01 Thread Joachim Franek
On Friday 01 June 2012 16:47:57 Przemek Klosowski wrote:
 - post-processing, i.e. CNC the precision part out of a rough 3D
 printed shape, just like machining a casting.
With a spindel parallel to the extruder head.
Here lcnc has it's advantage.

Joachim 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Mods?

2012-05-30 Thread Joachim Franek
On Wednesday 30 May 2012 05:04:15 Jeshua Lacock wrote:
 ... and ultimately I will share my plan of attack.
 I'm curious about it.

 The board already working with LinuxCNC sounds like it is the most ready to 
 use, 
 but on the downside it looks like I would have to have the board custom made 
 for me. 
Necessarily not. I think you can also use the avr board from reprap with 
goaran's software.
I suggest to add a crc byte to goaran's code to check communication integrity.

I have here in my basket a avr-net-io board (which is popular in Germany)
http://www.pollin.de/shop/dt/MTQ5OTgxOTk-/Bausaetze_Module/Bausaetze/Bausatz_AVR_NET_IO.html
http://www.mikrocontroller.net/articles/AVR_Net-IO_Bausatz_von_Pollin

Here is code to use it as an arduino.
http://code.google.com/p/avr-netino/

Yesterday evening I copied the ethersex code
http://www.ethersex.de/index.php/Main_Page
and I was able to compile it on my linux box.
Many features. Because of networking you do
not need  a serial port on LCNC.
(ENC28J60 based arduino shield are also available.)

Joachim 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Mods?

2012-05-29 Thread Joachim Franek

On Tuesday 29 May 2012 11:26:14 andy pugh wrote:
 On 29 May 2012 08:48, Joachim Franek joachim.fra...@pibf.de wrote:
 
  I am looking for a solution for the analog a/d part with a resolution of 12 
  bit
  with interface to LCNC (temperatur control of head and bed).
 
 An Arduino is one solution. http://axis.unpy.net/01198594294
10 bit ad resolution. 

 Another idea is to use PWM output and a comparator. This would need a
 hal compoenent to be written.
 The idea is that the PWM is converted to analogue voltage (with
 optical isolation this could even be mains voltage). A comparator chip
 then sets an input bit depending on whether the PWM voltage is over or
 under the voltage to be measured. A simple inc/dec or P controller
 adjusts the PWM duty cycle to track the measured voltage.
Tricky. Advantage is only two pins on the parport for 1 ad conversion
and software only in hal. For debug: halscope.
Summary: easy and cheap solution (if timeconstant is low of analog input)

Thanks Andy,
Joachim 

 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Mods?

2012-05-29 Thread Joachim Franek

Joachim 

On Tuesday 29 May 2012 18:22:00 Alex Hunt wrote:
 I mounted a Wade type extruder to my gantry router and have been 3D
 printing with LinuxCNC for about 6 months now.  The extruder thermal
 control is managed by RepRap firmware on an Arduino.  

Which type of Arduino hardware do you use?

see also:
http://reprap.org/wiki/EMCRepRap

Joachim 



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3D Printer Mods?

2012-05-29 Thread Joachim Franek
On Tuesday 29 May 2012 20:19:26 Adam Okon wrote:
 You have almost ready solution with electronics and soft for EMC2 (now 
 called LINUXCNC):
 
 http://www.thingiverse.com/thing:6480
 
 Yours
 Adam Okon
 

Someone can do a makefile for Adam's software?
Maybe this way?
http://mjo.tc/atelier/2009/02/arduino-cli.html

Joachim 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-05-02 Thread Joachim Franek

High speed interpolation for micro-line trajectory and adaptive
real-time look-ahead scheme in CNC machining
http://www.mmrc.iss.ac.cn/~xgao/papernc/2011-scichina-1.pdf

Joachim 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Bldc_Hal

2012-04-28 Thread Joachim Franek
See my little report on bldc comp on this list:
http://www.mail-archive.com/emc-users@lists.sourceforge.net/msg33911.html

Until now not tested:
component delay_rising_edge
http://www.mail-archive.com/emc-users@lists.sourceforge.net/msg34466.html

Joachim 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Drive Tuning

2012-04-28 Thread Joachim Franek

see chapter 4ff Rigsby_James.pdf: 
http://uwspace.uwaterloo.ca/handle/10012/5325

Joachim 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Trajectory planning and other topics from a EMC(LinuxCNC) newbie (TheNewbie)

2012-04-25 Thread Joachim Franek

http://hal.archives-ouvertes.fr/docs/00/67/91/18/PDF/2012_beudaert_lavernhe_tournier_Feedrate_interpolation_with_axis_jerk_constraints_on_5_axis_NURBS_and_G1_tool_path.pdf

Joachim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Bldc Drive

2012-04-17 Thread Joachim Franek
See:

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Bridges_-_Half,_Full,_Three_Phase

From:
http://osdir.com/ml/emc-users-enhanced-machine-controller/2012-03/msg00162.html
FNB41060 - IGBT SMART PM,600V,10A
 10 Euro at Farnell

Joachim 

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] IRAMS Plan

2012-03-12 Thread Joachim Franek
On Sunday 04 March 2012 10:34:32 Joachim Franek wrote:
 
 2. Add 6 and gates to stop motor commutation in case of to high DC voltage.
 

Search the net for IGBT protection and find for example:
ir2137igbt.pdf: IGBT Protection for AC and BLDC Motor Drives
fuji_igbt_application_manual(REH984).pdf: See chapter 5.


Joachim 

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] IRAMS Plan

2012-03-06 Thread Joachim Franek

FNB41060 - IGBT SMART PM,600V,10A
 10 Euro at Farnell


Joachim 

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] IRAMS Plan

2012-03-04 Thread Joachim Franek

 Any suggestions are welcome.

Hello.

Overvoltage protection:
If the motor acts as a generator DC voltage increases. 

1. Add a transistor which switches a resistor in parallel to the DC supply.
2. Add 6 and gates to stop motor commutation in case of to high DC voltage.


Joachim 

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] IRAMS Plan, FAN7382 with BUZ11

2012-03-04 Thread Joachim Franek
Hello,

I can report some progress for my attempts to
drive 3 phase motors. I do this to be familiar with the 
bldc component and use for safety low voltage devices.

My setups:
Electronics: FAN7382 and BUZ11 board
(http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Bridges_-_Half,_Full,_Three_Phase)
Hal:
loadrt threads name1=fast fp1=0 period1=5 name2=slow period2=100
loadrt encoder num_chan=1 (parport is used)

1. BLDC motor 24V 100W; 3 hall signals; encoder 3ch, 500 
loadrt bldc cfg=hB6
loadrt pwmgen output_type=0 (to the upper fets)
setp bldc.0.pattern   0x0019

2. SPSM motor (Panasonic)  62V 200W; no hall signals; encoder 3ch, 2500
loadrt bldc cfg=iqB6
loadrt pwmgen output_type=0 (to the upper fets)
setp bldc.0.poles 8
setp bldc.0.scale 1

3. Asynchon motor 230V triangle, 120W; encoder 3ch, 500
loadrt bldc cfg=n
loadrt pwmgen output_type=2,2,2 (to all fets)

Results:
1 and 2 works nice. 
Speed is limited from encoder parport usage.

But I see cross current
in case one leg is  active from pwm and a 
commutation occurs. Then for about 120ns
I measure a current of 70A (peak).  
I need a comp to delay the rising edge
on the upper fet for one cycle of the fast thread
in case in the last cycle the fet was on.
And the same for changed roles.
I think in case of a high voltage setup this
destroys something.

To 3: Up to 5Hz this works. Distorted
(pwm sine modulated) currents are observed
because of limited pwm resolution.


Joachim 

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] IRAMS Plan, FAN7382 with BUZ11

2012-03-04 Thread Joachim Franek
On Sunday 04 March 2012 18:12:09 Kirk Wallace wrote:
 I don't know what a SPSM motor is, but from this they can get big:
 http://www-personal.engin.umd.umich.edu/~chrismi/publications/2009_45_12_TMAG_Solid_equi.pdf
  


Excuse the typo:
PMSM: permanent magnet synchronous motor 

All test are with 24V.

Joachim 


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] An alternative way to make encoders.

2012-01-08 Thread Joachim Franek

From:
kontaktspray.hu/?download=A-20_TDS_EN.pdf

A temperature treatment of the lacquer
at 190°C will result in durable inscriptions or graphics having a blackish-
brown color

Someone has tried this?

Joachim 

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Remote desktop

2011-07-28 Thread Joachim Franek
On Thursday 28 July 2011 08:51:41 Viesturs Lācis wrote:
 ... Total and
 permanent control of a distant PC is not my goal, not to mention
 managing BIOS settings :)
 
 Viesturs

Hello.

BIOS: 
I have testet Intel ME, AMT and KVM.
http://en.wikipedia.org/wiki/Intel_Active_Management_Technology
http://software.intel.com/en-us/blogs/2011/03/21/intel-vpro-technology-with-
intel-amt-what-to-look-for/?wapkw=%28vpro+amt+chipset%29
http://eibler.at/intel-me_amt/intel-me_amt.html (in german)
on a Asus P7Q57-MDO board with i5-560 cpu.
Distant control of BIOS settings and boot from distant images works.

EMC2 from Ubuntu 10 LTS cd image:
Latency is about 10µs (with and without HT, no big difference)
from a short test.

With cpu hog http://wiki.linuxcnc.org/emcinfo.pl?RealTime
I observed one time 1µs over some minutes.

Joachim

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Guidance on usb comp

2011-02-28 Thread Joachim Franek
On Sunday 27 February 2011 14:13:12 Erik Christiansen wrote:
 
 If the community decided to go with this, I'd buy a couple, and arc up
 the gnu toolchain for this target, just for the fun of playing with ARM.
 These chips have one quadrature encoder input. At 100 MHz, and with
 hardware counters, I'd figure we could handle a couple.
 
 However, I'm much more familiar with AVR (Atmel), have the toolchain up
 to working temperature, and can fix problems more quickly there. There
 are AVR-based ehternet card, including ethernut 1.3:
 

I have update the
http://wiki.linuxcnc.org/emcinfo.pl?ARM
with the links from the last postings.

Have also a look to the bottom of the 
http://wiki.linuxcnc.org/emcinfo.pl?AVR
page: it is about AVR32 for motor control
(with eclipse based ide for linux).

I also prefer udp packets. Maybe we are
able to concentrate our forced and avoid
12 or more variants of udp packets. Is there
some code available on the emc side?

BTW: what do you think about PTP (IEEE 1588)?

Joachim

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Guidance on usb comp

2011-02-28 Thread Joachim Franek
On Monday 28 February 2011 10:31:32 Erik Christiansen wrote:
 And our RTAI environment probably wouldn't help much toward RT sending
 of UDP packest, because we'd still be using the linux kernel (non-RT) to
 push them out.

Thats  exactly my question: how to send/receive udp packets
on a (additional) rt-eth interface? Has someone done something
allready? 
I have here on my destop 3 variants:
- FPGA (http://wiki.linuxcnc.org/emcinfo.pl?FPGA)
- RDK-BLDC from LM
- EVK1100
which receive and answer udp packets. So I can test this.
(And I expext Intel is not telling us ethernet is deprecated.)
Do not understand my hardware as a decision.
My preference is to select one microprocessor
to get something working in short time. And if the
comunity decides to go with hardware xy, I buy this.
I think there are more people familiar with programming
micros compared to the number familiar with VHDL.

I think we need some structure for the udp packet!
And it is also possible to use this protocoll
over the parallel port with micros or FPGA's.

Joachim

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Modbus TCP/IP response time [orig: EMC2 and Ethernet]

2011-02-16 Thread Joachim Franek
On Wednesday 16 February 2011 07:22:21 John L. Craddock wrote:
 If someone with
 the know-how could port the slave functions of RTnet to something like a
 NXP LPC1768 see
 http://www.littlebirdelectronics.com/products/mbed-%252d-LPC1768-Developme
 nt-Board.html then it is possible that a 200us cycle time could be achieved
 on 128 bits of IO on a fast ethernet connection pretty cheaply with the
 bonus of 300 feet transmission limit without a hub. Altenatively, porting
 to Ralph Stirling's setup might also be possible. Just my thoughts after a
 bit of research. Although I don't have the grey matter to do it myself.
 Regards
 John C

Have a look to:
http://wiki.linuxcnc.org/emcinfo.pl?FPGA
and today I have written
http://wiki.linuxcnc.org/emcinfo.pl?ARM

Joachim

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users