1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Jerky Hall Effect Pot? (Arduino)

Discussion in 'Electronic and hardware generally' started by Pit, Apr 3, 2015.

  1. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,463Coins
    Ratings:
    +3,096 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Hi
    Yesterday I got some new gadgets: the TT Electronics/BI 6127V1A180L.5FS.
    First of all installation is very simple as usual like the standard potentiometer (however no availability of switching polarity).
    While testing SMC3 newly I get sometimes (rarely) jerky impulses - not regular, only sometimes. Mostly directly after changing some parameters of SMC. At the moment I do not know if this is SMC3 (huhu @RufusDufus :) ) or pot related.
    The hall effect pots are new to me if someone knows any reason about that "issue" any help would be kindly appreciated.
    Unbenannt-1.jpg
    • Like Like x 1
  2. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,463Coins
    Ratings:
    +3,096 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    hmm Fpid = 1 and Fpwm = 25khz no issues since 1hour...
    @RufusDufus what "happens" with the target line? I am quite sure that this "feature" comes from the Ard and not from the hall effect pots (despite of that the issue has not been shown using the standard pots). NTL I can be wrong...
  3. Nick Moxley

    Nick Moxley Well-Known Member

    Joined:
    Dec 13, 2013
    Messages:
    2,779
    Occupation:
    Owner/Operator- Moxleys Rantals
    Location:
    Winnipeg Manitoba Canada
    Balance:
    17,056Coins
    Ratings:
    +2,506 / 30 / -2
    My Motion Simulator:
    2DOF, 3DOF, DC motor, JRK
    Not that I know ANYTHING about ARD code or how it works, But maybe the reason its seeing that tiny glitch is the fact halls are That much more sensitive and maybe the standard pot was "dumb" enough not to see it ? I duno, just a guess. Hope you get it figured out :cheers
    • Friendly Friendly x 1
  4. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,573
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,320Coins
    Ratings:
    +2,854 / 39 / -0
    My Motion Simulator:
    AC motor, Motion platform
    While monitoring the setup utility, place a Oscilloscope probe or volt meter (may catch it) on the pots feedback line to see if it is a problem with the pot, or an issue with the card/software. Also check the power to the pot as well, to ensure the supply voltage has no noise on it.
    • Useful Useful x 2
  5. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    16,060Coins
    Ratings:
    +1,016 / 10 / -1
    Hi @Pit, while this behaviour is undesirable it is actually not really a problem at all.

    As the SMC settings are stored in EEPROM on the arduino, I save them automatically I think about 20 seconds? after the last change has been made. Writing a block of data to EEPROM takes some time and "blocks" the normal PID loop temporarily.

    This will not occur during normal operation - only using Windows SMC3 Utility and only shortly after making changes to settings.
    • Informative Informative x 4
    Last edited: Apr 4, 2015
  6. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,463Coins
    Ratings:
    +3,096 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    @RufusDufus thank you, luckily no issue. I wonder why this behavior I never noticed before. I am quite sure it never happened :). NTL if this will not occur during normal operation I do not matter.