Problem whit pololu jrk 21v3 and converter

Topics and questions about AMC, h-bridges, JRK's etc.

Re: Problem whit pololu jrk 21v3 and converter

Postby yokoyoko » Sun 19. May 2013, 14:21



Can't remember all details of the past but I think I am using a regular 3.0.1.4 x-sim installation and did not change the plugin.

@ sir what is the difference of the pololujrkv2 of the seperate thread and the version containing in the version 3.0.1.4?
User avatar
yokoyoko
 
Posts: 392
Images: 28
Joined: Tue 7. Aug 2012, 03:16
Location: Germany / Bad Eilsen
Has thanked: 33 times
Been thanked: 13 times

Re: Problem whit pololu jrk 21v3 and converter

Postby sirnoname » Sun 19. May 2013, 16:38

Ups, a bug ;)
The old problem with virtual comports above Com9. This is a random number from Windows, what is currently available. Some virtual comport drivers do not accept 5 letter comports and there must be a workaround.
The current plugin does not allow pololu driver comports lower than 10 of pololu.
The old plugin does allow com1 - 9 but not higher. Then I fixed the upper comports and the result is the new plugin.
So please make a workaround and go to your device manager, select the pololu and set the comport to i.e. COM14
Update in next release 3.0.1.5 and up.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Problem whit pololu jrk 21v3 and converter

Postby yokoyoko » Sun 19. May 2013, 16:57

The current plugin does not allow pololu driver comports lower than 10 of pololu.
The old plugin does allow com1 - 9 but not higher.


My pololus refer to comports 3;4 and 7 and it works.? So I might be using the "old" plugin... How could this be if I installed version 3.0.1.4?

Best regards
yoko
User avatar
yokoyoko
 
Posts: 392
Images: 28
Joined: Tue 7. Aug 2012, 03:16
Location: Germany / Bad Eilsen
Has thanked: 33 times
Been thanked: 13 times

Re: Problem whit pololu jrk 21v3 and converter

Postby sirnoname » Sun 19. May 2013, 17:12

I am not sure! Because it is a bug in a virtual comport driver it might be a updated driver from pololu itself that is buggy?
3.0.1.4 is newest and can access comport 9 and higher what speaks against the 10.
I tried 9 which is accesable with and without the workaround for comports. 3 does not work with the 3.0.1.4 plugin.
I have attached a plugin which will/should bugfix the error for testing.
Perhaps this one does work on all PC's. You can test it by the device manager and set different comport numbers in the advanced menu.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Problem whit pololu jrk 21v3 and converter

Postby graw78 » Tue 21. May 2013, 09:41

GRAZIE GRAZIE GRAZIE GRAZIE GRAZIE!!!!!!!!!
:-D :-D :-D :D :D :D :D :D :D :D :D :D :D :D :D :D
ok now it works fine. X-SIM recognizes the two plolu jrk and the two wiper motors go *
the two jrk 21v3 with a single alimentastore have the right power for the project I have in mind.
I have already 'a simulator with two actuators scn5 and the second sim I'm' building I need to be small, cheap and portable.
-----------------------------------------------------------
-I also ask you a little help. engines continue to run.
-TEST done with rFactor
-The two engines perceive the changes sent by the ForceFeedback. ES: When you increase the gear you feel a tug, Just as with the two SCN5.
-So far so good. just like I wanted.
-The problem 'that the two wiper motors continue to run. while I want them to do only small displacements of a few centimeters. First clockwise then counterclockwise.
-UP-DOWN UP-down
-just like I see in the various video simulators 2 dof.

Credo di capire che devo modificare i PID nel pololu software ma non ho capito come funzionano i vari settaggi.
Keep in mind that I can not change the parameters in the motor because if you modify the wiper motors lose power.
Can you help me please?
Tell me if I have to move the post in another section of the work at this point.
A special thanks to:
Motiondave
Sirnoname
Yokoyoko
graw78
 
Posts: 60
Joined: Thu 16. May 2013, 23:45
Has thanked: 0 time
Been thanked: 0 time

Re: Problem whit pololu jrk 21v3 and converter

Postby graw78 » Tue 21. May 2013, 09:43

GRAZIE GRAZIE GRAZIE GRAZIE GRAZIE!!!!!!!!!

ok now it works fine. X-SIM recognizes the two plolu jrk and the two wiper motors go *
the two jrk 21v3 with a single alimentastore have the right power for the project I have in mind.
I have already 'a simulator with two actuators scn5 and the second sim I'm' building I need to be small, cheap and portable.
-----------------------------------------------------------
-I also ask you a little help. engines continue to run.
-TEST done with rFactor
-The two engines perceive the changes sent by the ForceFeedback. ES: When you increase the gear you feel a tug, Just as with the two SCN5.
-So far so good. just like I wanted.
-The problem 'that the two wiper motors continue to run. while I want them to do only small displacements of a few centimeters. First clockwise then counterclockwise.
-UP-DOWN UP-down
-just like I see in the various video simulators 2 dof.

I think I understand that I have to change the PID in the Pololu software but I did not understand how the various settings.
Keep in mind that I can not change the parameters in the motor because if you modify the wiper motors lose power.
Can you help me please?
Tell me if I have to move the post in another section of the work at this point.
A special thanks to:
Motiondave
Sirnoname
Yokoyokograw78

Posts: 5
Joined: Thu 16. May 2013, 23:45
Has thanked: 0 time
Been thanked: 0 time
Private messageE-mail graw78
graw78
 
Posts: 60
Joined: Thu 16. May 2013, 23:45
Has thanked: 0 time
Been thanked: 0 time

Re: Problem whit pololu jrk 21v3 and converter

Postby yokoyoko » Tue 21. May 2013, 15:10

Hi,

a few more informations are needed for me to answer your question.

First:
The jrk 21v3 is a versatile, general-purpose motor controller that supports a variety of interfaces, including USB. The broad operating range from 5 V to 28 V and continuous output current of 3 A (5 A peak) allow this board to control most small DC brushed motors. Analog voltage and tachometer (frequency) feedback options allow quick implementation of closed-loop servo systems, and a free configuration utility (for Windows) allows easy calibration and configuration through the USB port.


If you are using normal wiper motors I am not sure if the output current of the 21v3 is high enough. While I was testing wipers I had peaks of 18[A] :!: @ 13,8[V]

-The problem 'that the two wiper motors continue to run.
Do you have the pots attached to the motors and set this up correctly in the Pololu-Configurtaion-Utility? (What kind of Feedback do you send back to the Pololus)? (Are the min/max values setup and stored on the 21v3)?

I think I understand that I have to change the PID in the Pololu software but I did not understand how the various settings.

For the first tests you can stay with the original PID settings. If everything is running as you want you can start to tune your PID. PID is a far-reaching and complex field, which was also not enough discussed / debated here. (or I missed it)

Atm I use kind of "ziegler/nichols -method" or like it is described in the Pololu manual:

Tuning PID constants is a complicated process that can be approached in many different ways. Here we will give a basic procedure that works for some systems, but you will probably want to try various different methods for finding the best possible values. You will want to have the Plots window open, displaying a nice view of the Error, Target, Scaled Feedback, and Duty Cycle. When setting the Integral Coefficient, it will also be useful to look at the value of the Integral.

1) Increase your Max. duty cycle, Max. current, and other limits to reasonable values for high-performance operation of your system.
2) Try increasing the Proportional Coefficient until you reach a point where the system becomes unstable. Note that the stability could be different at different target positions, so try the full range of motion when hunting for instability.
3) Decrease the value from the point of instability by about 40-50%. This is the first step of the Ziegler-Nichols Method.

Note how close your system gets to an error of zero using just the proportional term. You can use the integral term to get it much lower: with the integral limit set at 1000,
4) try increasing the Integral Coefficient until you see a correction that brings the error closer to zero. .......

...... Experiment with your system. Adjust any parameters as necessary to get the behavior that you need.
look here: http://www.pololu.com/docs/0J38/5

The two engines perceive the changes sent by the ForceFeedback
I really don't know what you are doing or meaning by this? Can you give us a screenshot of you convertor (math per axis, output, interface) or upload your profile - if I have time at the weekend I will have a look.

Keep in mind that I can not change the parameters in the motor because if you modify the wiper motors lose power.
What parameters can you change in a wiper-motor? Do you want to add some turns/windings; or use thicker copper; or other magnets in the casing ? :lol:

Best regards
yoko
User avatar
yokoyoko
 
Posts: 392
Images: 28
Joined: Tue 7. Aug 2012, 03:16
Location: Germany / Bad Eilsen
Has thanked: 33 times
Been thanked: 13 times

Re: Problem whit pololu jrk 21v3 and converter

Postby graw78 » Tue 21. May 2013, 17:04

I yokoyoko tanks.
now I'm 'working .... I can just send you a video so 'you can see with your own eyes everything. Ok?
I'll see what happens when I start rFactor. I make a video of the two wiper motors during the session. And even screenshots of software pololu
graw78
 
Posts: 60
Joined: Thu 16. May 2013, 23:45
Has thanked: 0 time
Been thanked: 0 time

Re: Problem whit pololu jrk 21v3 and converter

Postby graw78 » Tue 21. May 2013, 17:26

http://youtu.be/15R6XWJjNtc

Sorry!!!!!!!!!!!!???????
in this video he does exactly what I need!!!
non capisco..... quando muove manualmente il wiper motor si apre una finestra di dialogo che chiede di calibrare massimo e minimo.
exactly what I was looking for!!!
dialog box opens automatically, or select something with the mouse him?

maybe that 'the solution to my problem!! we hope!!
:shock: :shock: :shock: :shock:

:) :D :D :D :D :) :D
graw78
 
Posts: 60
Joined: Thu 16. May 2013, 23:45
Has thanked: 0 time
Been thanked: 0 time

Re: Problem whit pololu jrk 21v3 and converter

Postby graw78 » Tue 21. May 2013, 19:04

I understand now ..... damn! I do not think you can do. :| :? :? :?
from the video I understood everything. to me when I click to calibrate the wiper motors always error.
I can so it will not set the parameters minimum and maximum. :o :o :o :o
I think I'm forced to buy two more pololu. this time the version 12V12


what you say. I do other tests? Or I give up? in the case for pololu jrk 12V12 these power supplies are fine?
1)http://www.ebay.it/itm/Alimentatore-Switching-Trasformatore-12V-12A-/260875382113?pt=Trasformatori_e_Raddrizzatori&hash=item3cbd626d61&_uhb=1#ht_1758wt_692

Or this?
2) http://www.ebay.com/itm/12V-30A-Switchi ... 0785514737
graw78
 
Posts: 60
Joined: Thu 16. May 2013, 23:45
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Controllers and Drivers

Who is online

Users browsing this forum: No registered users and 2 guests