Re: [Emc-users] Mixing BLDC and brushed motors

2014-09-06 Thread Peter C. Wallace
On Sat, 6 Sep 2014, John Prentice (FS) wrote:

> Date: Sat, 6 Sep 2014 22:51:51 +0100
> From: "John Prentice (FS)" 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "'Enhanced Machine Controller (EMC)'" 
> Subject: Re: [Emc-users] Mixing BLDC and brushed motors
> 
> Greetings to anyone who "compiles" Mesa bitfiles
>
>> -Original Message-
>> From: Peter C. Wallace [mailto:p...@mesanet.com]
>
>> On Thu, 4 Sep 2014, John Prentice (FS) wrote:
>
>>> Date: Thu, 4 Sep 2014 22:44:13 +0100
>>> From: "John Prentice (FS)" 
>>> Reply-To: "Enhanced Machine Controller (EMC)"
>>> 
>>> To: "'Enhanced Machine Controller (EMC)'"
>>> 
>>> Subject: Re: [Emc-users] Mixing BLDC and brushed motors
>>> 
>>>> Not sure if theres a standard bitfile for that but its easy
>>>> copy-paste a pinout up and make one
>>>
>>> I have a spare 7i40 so I think I ought to learn how to do this - I see
>>> resources on the web that will start me going.
>>>
>>> Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22
>>> (Spartan
>>> 2) boards? What OS would you run it on - I feel concerned that it is
>>> so old that it will give trouble on my Win 8.1 (64 bit) system. I can
>>> run some Linux flavour in a V-Box to provide any environment to best suit
> the app.
>
>> I think 10 is the latest that supports Spartan but 9.2 is my preferred
> version (before they broke the editor)
>
> The short question is: What is the best location for downloading Mesa
> source?
>
> The full story is:
>
> Following the link on the 5i20 entry on the main website gets me to a source
> ZIP which seems to have two files missing from the project (irqlogic.vhd and
> dpll.vhd) and fails to synthesise - the log is in first half of attached
> PDF.

The latest source is http://www.mesanet.com/software/parallel/5i20.zip

/5i20/CONFIGS/HOSTMOT2/SOURCE/hostmot2.zip

(updated last thursday)

If there are any bugs with the project file, tell me and I will fix them


Peter Wallace
Mesa Electronics

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


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mixing BLDC and brushed motors

2014-09-06 Thread John Prentice (FS)
Greetings to anyone who "compiles" Mesa bitfiles

>-Original Message-
>From: Peter C. Wallace [mailto:p...@mesanet.com] 

>On Thu, 4 Sep 2014, John Prentice (FS) wrote:

>> Date: Thu, 4 Sep 2014 22:44:13 +0100
>> From: "John Prentice (FS)" 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>> 
>> To: "'Enhanced Machine Controller (EMC)'" 
>> 
>> Subject: Re: [Emc-users] Mixing BLDC and brushed motors
>> 
>>> Not sure if theres a standard bitfile for that but its easy 
>>> copy-paste a pinout up and make one
>>
>> I have a spare 7i40 so I think I ought to learn how to do this - I see 
>> resources on the web that will start me going.
>>
>> Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22 
>> (Spartan
>> 2) boards? What OS would you run it on - I feel concerned that it is 
>> so old that it will give trouble on my Win 8.1 (64 bit) system. I can 
>> run some Linux flavour in a V-Box to provide any environment to best suit
the app.

>I think 10 is the latest that supports Spartan but 9.2 is my preferred
version (before they broke the editor)

The short question is: What is the best location for downloading Mesa
source?

The full story is:

Following the link on the 5i20 entry on the main website gets me to a source
ZIP which seems to have two files missing from the project (irqlogic.vhd and
dpll.vhd) and fails to synthesise - the log is in first half of attached
PDF.

A Google for  "inputpinspermodule" gets me to this post

http://tinyurl.com/o3h4lra

and Peter's link to

http://freeby.mesanet.com/hostmot2.zip

gets a source which, while still "missing files" (see screenshot at end of
attachment), will create a bitfile (for an arbitrary version) once one has
added  InputPinsPerModule.vhd to the library.

I want to be sure I am actually starting from the definitive source code
before I risk any changes to make a custom combination of features.

 TIA

John Prentice





JAP-ISE-troubles.pdf
Description: Adobe PDF document
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mixing BLDC and brushed motors

2014-09-04 Thread Peter C. Wallace
On Thu, 4 Sep 2014, John Prentice (FS) wrote:

> Date: Thu, 4 Sep 2014 22:44:13 +0100
> From: "John Prentice (FS)" 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "'Enhanced Machine Controller (EMC)'" 
> Subject: Re: [Emc-users] Mixing BLDC and brushed motors
> 
> Peter thank you
>
>> -Original Message-
>> From: Peter C. Wallace [mailto:p...@mesanet.com]
>
>> Yes you can look at the 7i39 as 6 individual 1/2 bridges and drive 3 DC
> motors from one 7i39. if a brushed motor was connected to half bridges A and
> B, I _think_ >what is needed is to drive A with the PID output and B with
> -PID output.
>
>> You can also dedicate one 1/2 bridge output as a 1/2 way up reference and
> then run up to 5 small dc  motors (1/2 voltage 1/5 current) from the other 5
> 1/2 bridges
>
> Ingenious - but it leaves one short on encoder interfacing. I will try the A
> and B with ++Pid-out and --Pid-out
>>>
>>>
>>> The ideal card for the brushed motor would be a 7i40. Would it be
>>> practicable to have Hostmot2 firmware for both 7i39 and 7i40 co-exist
>>> in the 5i20? If so does a BIT file exist with this combination.
>>>
>>>
>
>
>> Not sure if theres a standard bitfile for that but its easy copy-paste a
> pinout up and make one
>
> I have a spare 7i40 so I think I ought to learn how to do this - I see
> resources on the web that will start me going.
>
> Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22 (Spartan
> 2) boards? What OS would you run it on - I feel concerned that it is so old
> that it will give trouble on my Win 8.1 (64 bit) system. I can run some
> Linux flavour in a V-Box to provide any environment to best suit the app.

I think 10 is the latest that supports Spartan but 9.2 is my preferred
version (before they broke the editor)



>
> Do you have a link to a document showing the  "compile" workflow for your
> firmware?  A few years ago I have written standalone FPGA and CPLD code for
> Xilinx - albeit in Verilog so hope not to prove a total nooby.
>
> TIA
>
> John Prentice
>


Yes Tom Light has a nice tutorial here:

http://tom-itx.no-ip.biz:81/~webpage/emc/xilinx/xilinx14_install_index.php

>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> 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.


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mixing BLDC and brushed motors

2014-09-04 Thread John Prentice (FS)
Peter thank you

>-Original Message-
>From: Peter C. Wallace [mailto:p...@mesanet.com] 

>Yes you can look at the 7i39 as 6 individual 1/2 bridges and drive 3 DC
motors from one 7i39. if a brushed motor was connected to half bridges A and
B, I _think_ >what is needed is to drive A with the PID output and B with
-PID output.

>You can also dedicate one 1/2 bridge output as a 1/2 way up reference and
then run up to 5 small dc  motors (1/2 voltage 1/5 current) from the other 5
1/2 bridges

Ingenious - but it leaves one short on encoder interfacing. I will try the A
and B with ++Pid-out and --Pid-out
>>
>>
>> The ideal card for the brushed motor would be a 7i40. Would it be 
>> practicable to have Hostmot2 firmware for both 7i39 and 7i40 co-exist 
>> in the 5i20? If so does a BIT file exist with this combination.
>>
>>


>Not sure if theres a standard bitfile for that but its easy copy-paste a
pinout up and make one

I have a spare 7i40 so I think I ought to learn how to do this - I see
resources on the web that will start me going. 

Is ISE Webpack 9.2 still your preferred version for 5i20 and 5i22 (Spartan
2) boards? What OS would you run it on - I feel concerned that it is so old
that it will give trouble on my Win 8.1 (64 bit) system. I can run some
Linux flavour in a V-Box to provide any environment to best suit the app.

Do you have a link to a document showing the  "compile" workflow for your
firmware?  A few years ago I have written standalone FPGA and CPLD code for
Xilinx - albeit in Verilog so hope not to prove a total nooby.

TIA 

John Prentice



--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mixing BLDC and brushed motors

2014-09-04 Thread Peter C. Wallace
On Thu, 4 Sep 2014, John Prentice (FS) wrote:

> Date: Thu, 4 Sep 2014 13:50:23 +0100
> From: "John Prentice (FS)" 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)" 
> Subject: [Emc-users] Mixing BLDC and brushed motors
> 
> Greetings
>
>
>
> This is probably a question for PCW but others might know or have dome it.
>
>
>
> I am looking at a small machine design where two axes will be BLDC motors
> and one (or perhaps two) brushed DC.
>
>
>
> The BLDC motors suit a 7i39 very well (interfaced by a 5i20). Are there any
> problems in using just two "phases" of another 7i39 to drive the brushed
> motor? I presume that one would drive, say A, with the desired level
> (positive or negative) holding  inputs B and C at zero - i.e. no bldc
> component is needed.
>


Yes you can look at the 7i39 as 6 individual 1/2 bridges and drive 3 DC motors 
from one 7i39. if a brushed motor was connected to half bridges A and B, I 
_think_ what is needed is to drive A with the PID output and B with -PID 
output.

You can also dedicate one 1/2 bridge output as a 1/2 way up reference
and then run up to 5 small dc  motors (1/2 voltage 1/5 current) from
the other 5 1/2 bridges


>
>
> The ideal card for the brushed motor would be a 7i40. Would it be
> practicable to have Hostmot2 firmware for both 7i39 and 7i40 co-exist in the
> 5i20? If so does a BIT file exist with this combination.
>
>


Not sure if theres a standard bitfile for that but its easy copy-paste a 
pinout up and make one

>
> TIA
>
>
>
> John Prentice
>
>
>
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> 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.


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mixing BLDC and brushed motors

2014-09-04 Thread andy pugh
On 4 September 2014 13:50, John Prentice (FS)
 wrote:

> The BLDC motors suit a 7i39 very well (interfaced by a 5i20). Are there any
> problems in using just two "phases" of another 7i39 to drive the brushed
> motor? I presume that one would drive, say A, with the desired level
> (positive or negative) holding  inputs B and C at zero - i.e. no bldc
> component is needed.

Yes, that shouldn't be a problem.

> The ideal card for the brushed motor would be a 7i40. Would it be
> practicable to have Hostmot2 firmware for both 7i39 and 7i40 co-exist in the
> 5i20? If so does a BIT file exist with this combination.

I don't think that the BIT file will exist, but the only reason it
couldn't be made to exist would be if the firmware won't fit on the
5i20 FPGA.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Mixing BLDC and brushed motors

2014-09-04 Thread John Prentice (FS)
Greetings

 

This is probably a question for PCW but others might know or have dome it.

 

I am looking at a small machine design where two axes will be BLDC motors
and one (or perhaps two) brushed DC.

 

The BLDC motors suit a 7i39 very well (interfaced by a 5i20). Are there any
problems in using just two "phases" of another 7i39 to drive the brushed
motor? I presume that one would drive, say A, with the desired level
(positive or negative) holding  inputs B and C at zero - i.e. no bldc
component is needed.

 

The ideal card for the brushed motor would be a 7i40. Would it be
practicable to have Hostmot2 firmware for both 7i39 and 7i40 co-exist in the
5i20? If so does a BIT file exist with this combination.

 

TIA

 

John Prentice

 

 

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users