Search found 1594 matches
- Wed Dec 28, 2016 9:32 am
- Forum: Velocity and Position Control
- Topic: Soft start/stop and position control
- Replies: 3
- Views: 5523
Re: Soft start/stop and position control
How are you planning on controlling the controller? RC Mode, Analog or Packet Serial? Are you planning on using an encoder on the motor to turn it into a big servo or is this going to be an open loop? If you will be using an encoder and using the motor like a servo you will use the position commands...
- Tue Dec 27, 2016 9:52 am
- Forum: General Discussion
- Topic: end of move question
- Replies: 1
- Views: 3077
Re: end of move question
That is also how you check for the end of each move. The buffer value will decrease until there are no commands left in the buffer(indicated by a 0x80 value). So if you send 3 buffered commadns, the first will begin to execute immediately and the buffer value will be 2. When it finishes the next com...
- Mon Dec 26, 2016 10:52 am
- Forum: Velocity and Position Control
- Topic: Novice Velocity PID Instructions?
- Replies: 13
- Views: 18283
Re: Novice Velocity PID Instructions?
Sorry... one more question. The library I have (yes, I know it's old) shows the function as follows: bool SetM1VelocityPID(uint8_t address, float Kd, float Kp, float Ki, uint32_t qpps); ...so the order is DPI, not PID, correct? Thanks again, Nick. Yes, in older libraries for the arduino that was th...
- Mon Dec 26, 2016 10:51 am
- Forum: Velocity and Position Control
- Topic: Novice Velocity PID Instructions?
- Replies: 13
- Views: 18283
Re: Novice Velocity PID Instructions?
Thank you again for your instructions - they were very helpful. I do have a follow-up question, however. The PID values that I set, seem to work well for a given distance - say a distance value of 80,000, but when I use the same PID values with a distance much shorter, such as 10,000, then the dist...
- Sat Dec 17, 2016 3:44 pm
- Forum: General Discussion
- Topic: library bug found
- Replies: 10
- Views: 10705
Re: library bug found
I've hooked up a motor and after autotuning I've run tests in IonMotion. My maximum speed is 40000(eg the QPPS). I set the speed to 10000 and then did some position movements and the correct speed was used(eg 10000). Changed to 2500 retested and same thing. I used the graphing function to confirm as...
- Fri Dec 16, 2016 9:59 am
- Forum: General Discussion
- Topic: library bug found
- Replies: 10
- Views: 10705
Re: library bug found
What are your Velocity and Position PID settings when testing in the Position Settings screen?
- Fri Dec 16, 2016 9:58 am
- Forum: General Discussion
- Topic: Arduino Library consumes lots of sketch memory
- Replies: 1
- Views: 4026
Re: Arduino Library consumes lots of sketch memory
Since most of the heavy work is done with a handful of helper functions most code shouldnt increase in size significantly after a few commands have been used(once the helper functions are linked into the code). The actual function calls for most commands are single lines of code calling the helper f...
- Fri Dec 16, 2016 9:05 am
- Forum: General Discussion
- Topic: Motors use excessive current when idling after a position cmd
- Replies: 4
- Views: 6625
Re: Motors use excessive current when idling after a position cmd
We will be working on the home sensor code this weekend. After a brief examination of the code the problem was obvious. We use an on-change interrupt to detect the switch being triggered. If the switch is triggered before powering up then of course the interrupt will never get fired. We will be addi...
- Fri Dec 16, 2016 8:59 am
- Forum: General Discussion
- Topic: library bug found
- Replies: 10
- Views: 10705
Re: library bug found
Please re-test it using IonMotion and check if the speed is controlled properly. Note you must set the speed it will use for the movement in the appropriate field to the right of the motor control sliders.
- Wed Dec 14, 2016 9:28 am
- Forum: General Discussion
- Topic: Motors use excessive current when idling after a position cmd
- Replies: 4
- Views: 6625
Re: Motors use excessive current when idling after a position cmd
If while holding position the motors are using excesive current it usually indicates the PID settings are set too agressively and they never let the PWM to the motor stop. The motor is constantly fighting itself. Even thought he encoder reading you are seeing may not be moving, the motor controller ...