Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/20/06 07:22
Read: times


 
#128291 - PCA upsetting Servo Ramp-up
Responding to: ???'s previous message
This is what's being done in my application for a servo system.

1. PCA is configured to HSO mode ( CMOD~02h, CCAPM0~04Dh ).

2. CCAP0h & CCAP0L is loaded with the desired frequency ( example : 3125 produces 1Khz for a 25Mhz crystal ).

2. The PCA needs to produce frequencies from 1Khz to 40 Khz, however 100 pulses per frequency ( 4000 pulses ) in increments of 1Khz.

3. Because its 4000 pulses, its difficult to use a scope. However I'v verified that the values loaded in CCAP0h & CCAP0l do produce the desired frequency in steps of 1Khz.

4. However when we look at the servo encoder feedback signal ( command speed vs actual motion ), it's notice that at certain frequencies the PCA takes time to switch & this causes to motor to loose its momentum.

I'm not sure how to get out of this fix now, and any assistance would be much appreciated.

Rgds
Ranjit

List of 41 messages in thread
TopicAuthorDate
PCA Problems            01/01/70 00:00      
   Problem or deisgn feature?            01/01/70 00:00      
      PCA upsetting Servo Ramp-up            01/01/70 00:00      
         How are you doing this?            01/01/70 00:00      
            more questions            01/01/70 00:00      
            How to connect Cool Edit            01/01/70 00:00      
               does not work            01/01/70 00:00      
                  Pulses generated ok            01/01/70 00:00      
            My Code            01/01/70 00:00      
               ther is your problem            01/01/70 00:00      
               Why are you...            01/01/70 00:00      
                  Assistance Please Russell            01/01/70 00:00      
               A suggestion            01/01/70 00:00      
   Minor Problem in Suggestion            01/01/70 00:00      
      I might have a guess            01/01/70 00:00      
      More comments            01/01/70 00:00      
         Thanks Eric n Russell            01/01/70 00:00      
            A two way street            01/01/70 00:00      
            Lost communication?            01/01/70 00:00      
            not a question of intelligence            01/01/70 00:00      
   This Code Works !            01/01/70 00:00      
      Much better with the comments!            01/01/70 00:00      
      explain a bit here            01/01/70 00:00      
      Moving in the positive            01/01/70 00:00      
         Russell you comment plz !            01/01/70 00:00      
            My comments            01/01/70 00:00      
               Guess you must be right !            01/01/70 00:00      
                  does not work !            01/01/70 00:00      
                     Make it work - thats your job!            01/01/70 00:00      
      Why disable interrupts            01/01/70 00:00      
         I thought the same about the interrupts            01/01/70 00:00      
      Cool Edit            01/01/70 00:00      
         re: Cool Edit            01/01/70 00:00      
            if not square waves - what did you get?            01/01/70 00:00      
               Cool Edit vs Digital Scope            01/01/70 00:00      
                  Cool edit            01/01/70 00:00      
                     Thank You !            01/01/70 00:00      
                     sample rates!!!            01/01/70 00:00      
   Will provide feedback            01/01/70 00:00      
   please help me about visisp52            01/01/70 00:00      
      discussed ad nauseam            01/01/70 00:00      

Back to Subject List