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

Connection vfd

Discussion in 'SimTools compatible interfaces' started by zapata_h, Apr 11, 2019.

  1. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    Could a direct connection be made between arduino smc3 and a variable speed drive?
  2. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,568Coins
    Ratings:
    +1,831 / 32 / -1
  3. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    Thank you for your answer, I have seen that plate several times, but I do not see myself able to build it, so I asked if maybe there was another way such as modbus or rs485 / 232
  4. dddman

    dddman New Member Gold Contributor

    Joined:
    Apr 7, 2019
    Messages:
    16
    Balance:
    193Coins
    Ratings:
    +3 / 0 / -0
    If you mean controlling a VFD with an arduino, you can, but not directly. You would need an operational amplifier, a 12V supply and probably a transistor (with a couple of resistor around it) to be able to scale your analog 5V voltage to analog 0-10V needed by the VFD. Also keep in mind that an arduino doesn't do analog output, it's a PWM that simulate a lower voltage (think of switching the light very fast, the total lominosity will seem lower).

    Pretty simple when you can do hand soldering on a proto board. I can help if you need.

    [reviving old treads! yeah!]
  5. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    Thanks for your answer, the board to convert the 0-5v to 0-10v for the speed reference I have it working ok, the problem is that if I try to connect the outputs of smc3 dir1 and dir2 I can not get the inverter to work, I guess the solution will happen to use the speedy plate
  6. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,133
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    47,903Coins
    Ratings:
    +5,027 / 16 / -0
  7. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    Right yobuddy, I have transistors placed, I've already managed to make it work
    • Winner Winner x 1
  8. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    I have a problem when trying smc3 in mode 1, using vfd, it turns out that when I connect motor 3 I see that it does not work correctly, I see the value of Fpwm is 4-31khz, if I connect in motor1 or motor2 it works perfect with 25khz, but when connecting in motor 3 it does not work with 4khz-31khz, what could be happening? I use vfd schneider atv12
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,461
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    144,596Coins
    Ratings:
    +10,741 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I do not know what the issue is but for a simple solution why not use another Arduino for the third motor.
    Last edited: May 10, 2019
  10. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    I was thinking about that, but then engine 3 only works with 12 / 24vdc engines ?, I'll make another plate and add another arduino just for that engine
  11. Llewelyn

    Llewelyn Member

    Joined:
    Nov 10, 2017
    Messages:
    69
    Occupation:
    IT consultant
    Location:
    south africa
    Balance:
    108Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Hello,did you build the EZ board to convert the pwm to 0-10v?What did you use for the direction wires connection?Thanks
  12. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    Hello friend, if I built a PCB to convert the 0-5 PWM to 0-10v, but then I replaced the drives with those of schneider, which have 0-5v analog input, so it is not necessary to do anything with respect to the pwm, to The question about what I used for connection cables is not exactly what you mean, I built my own PCB on which I have arduino placed
  13. Llewelyn

    Llewelyn Member

    Joined:
    Nov 10, 2017
    Messages:
    69
    Occupation:
    IT consultant
    Location:
    south africa
    Balance:
    108Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Thanks for getting back to me,I was talking about reverse/forward from arduino board,do you connect directly to vfd drive forward and reverse?
  14. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    Not exactly, with the SMC3 program while the simulator is at rest, all the arduino outputs are high, which means that the drive is blocked by having the Run command in advance and backward, what I did was make my own board to reverse those signals and stay low
  15. Llewelyn

    Llewelyn Member

    Joined:
    Nov 10, 2017
    Messages:
    69
    Occupation:
    IT consultant
    Location:
    south africa
    Balance:
    108Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Okay thanks,think this is way over my head.
  16. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino
    You're welcome friend, any questions that arise do not hesitate to ask, surely in the end you get it, encourage!
    • Like Like x 1
  17. Llewelyn

    Llewelyn Member

    Joined:
    Nov 10, 2017
    Messages:
    69
    Occupation:
    IT consultant
    Location:
    south africa
    Balance:
    108Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    HI,do you have a circuit diagram for the transistor circuit for direction signal for the vfd?
    Thanks
  18. Llewelyn

    Llewelyn Member

    Joined:
    Nov 10, 2017
    Messages:
    69
    Occupation:
    IT consultant
    Location:
    south africa
    Balance:
    108Coins
    Ratings:
    +18 / 0 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Sorry got it sorted.Thanks.
  19. zapata_h

    zapata_h Active Member

    Joined:
    Dec 25, 2013
    Messages:
    221
    Occupation:
    Industrial Maintenance Manager
    Location:
    España
    Balance:
    307Coins
    Ratings:
    +43 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino