Jump to content
OMRON Forums

476112880

Members
  • Posts

    3
  • Joined

  • Last visited

476112880's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. I have understood. Thank you very much. Best regard for you.
  2. Thank you for your answer. I'm sorry. Maybe I didn't express my question clearly. As we know, I can use SIMULINK to create a algorithm on the PPMAC. My algorithm must run in international units, that is, the units of feedback must be converted from counters to meters, which means all numerical values are assigned physical meaning. As a result, the control input calculated by the algorithm (as u) is going to be on the order of +/-10v. As you say, the result of algorithm must be a numerical value in the +/-32,768 range. So I want to know how to convert it to +/-32,768. For example, if my plant need 6v voltages, the u calculated by the algorithm is around 6 (P.S. Although this is a numerical value, it has the physical meaning of being equal to the actual analog voltage). Therefore, in order to output 6v voltages, should I multiply it by (32768/10)? And then, when it goes through the DAC module, it's multiplied by (10/32,768). As a result, the plant gets 6v voltages. Am I making myself clear? Thank you again for your answer.
  3. Hi, I have some questions about the user servo algorithm. I want to replace the default PID algorithm with active disturbance rejection control (ADRC) algorithm (P.S. If anyone has done it, please favour me you instruction). Thus, I creat an ADRC servo algorithm with SIMULINK. However, in the frame of ADRC, the calculated control input (as u) into "PPMAC_Servo_RTN" is given an actual phycial meaning (i.e. control voltage). The value of u must be the same as the actual voltage. Therefore, I want to know the relationship between the digital and analog quantities. In my opinion, if the 16-bit (i.e. ±32,768‬) DAC corresponds to analog output range ±10v, the value entered into "PPMAC_Servo_RTN" should be u*32768/10. Is that right? (P.S.) Last week, in order to test the relationship, I created a SIMULINK program in which the constant module (value of 1) outputs directly to the "PPMAC_Servo_RTN". And then I wanted to measure the output voltage with multimeter to get the relasionship. Unfortunately, the ppmac made some mistake. Is it because the program can't be written this way? Please leave your valuable comments. Thanks.
×
×
  • Create New...