EN
 
English
Italian
French
German

Incremental encoder sin/cos

Malek ABDI

Posted on 23.03.2018 12:12

Hi guy,

I have a sensor, an incremental encoder with sin/cos output signal différential (A,A*,B,B*,Z,Z*,GND, 5V). I would like to ceonnect this sensor on my SIRIUS or DEWE43 on the super counter input (LEMO plug).

Can you please give me some advice to do this connexion.

I know that the input on dewesoft instrument are single ended and y sensor is differential. I have to connect A*,B* and Z* to GND. That's right?


Regards Malek

Urban Baš
Software Test Engineer I
Posted on 23.03.2018 14:40

Hi,

no those are negated signals and you don't connect them to anything (they are left open). You only connect A to A, B to B, Z to Z, GND to GND and +5V to 5V. Every thing else is left open. You can invert the inputs signals A, B and Z in our software.

Kind regards Urban


Attached files:
Malek ABDI

Posted on 23.03.2018 15:14

Hi Urban,

I will test it.

Best regards Malek

Malek ABDI

Posted on 27.03.2018 23:24

Hi urban,

My encoder have a sin/cos output with 1V pp, find attach A, A* output voltage (blue) and B,B* output voltage (green). I suppose that my SIRIUS will not be able to"understand" this kind of signal like a encoder?

Regards Malek


Attached files:
Urban Baš
Software Test Engineer I
Posted on 28.03.2018 08:57

This won't work when connected to the counter channel, because of the low voltage. But if you connect this signal to the analog in, you can use the Angle sensor math and Dewesoft will "understand" this signal. It works the same as the counter, but you can select the trigger level. In the attachment you'll find a picture of the angle sensor math setup.


Attached files:
Malek ABDI

Posted on 28.03.2018 13:51

In my application, I just want to use it like an incremental encoder. If I connect A,A* to AIN1 and B,B* to AIN2 to you think it's possible to know the number of count and like an encoder the sense of rotation. Can your "angle sensor math" do the job?

Urban Baš
Software Test Engineer I
Posted on 29.03.2018 07:03

Yes this can be done with the angle sensor math and two other simple math operations.

In the attachment you'll find the setup for this and a data file. I used a function generator channel to simulate the encoder. It was set on sin signal with a frequency of 1024Hz. I than used the angle sensor math, which was set on digital tacho to extract the frequency, trigger and angle of the signal. I divided the extracted frequency by 1024, because one period represents one increment of the encoder and if my encoder has 1024 increments I have to divide the frequency with that number to get the RPS. After that I used another math operation to count the increments and I named that Samples.

I hope this helps you with your project.


Attached files:
Login to reply to this topic. If you don't have account yet, you can signup for free account .
This website uses cookies to ensure you get the best experience on our website. Learn more