Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [encoder]

An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another, for the purposes of standardization, speed, secrecy, security or compressions

0
votes
1answer
21 views

interrupt-on-change on 8051 microcontroller

I am trying to read the speed or number of rotations pulses of a self-made encoder motor. I am using an AT89C52 microcontroller. It gives external interrupt on rising or falling edge. How can I ...
0
votes
0answers
14 views

how to use Sick ATM60 encoder configuration commands

The Sick ATM60 SSI Absolute Encoder documentation describes 29 function commands that appear to be useful to configure the encoder and obtain configuration information. The electrical interface ...
0
votes
0answers
22 views

Max frequency of LPC1768 QEI

Does anybody know what the highest frequency the LPC1768's QEI can handle, with X4 encoding? I've checked the datasheet, and it wasn't clear.
0
votes
1answer
38 views

Quadrature Incremental Encoder A&B phase

It’s been two days that I’m searching to understand how an incremental encoder’s precision is quadratured. I found out that we must be counting the state changes of the two channels A and B, where ...
1
vote
3answers
95 views

High resolution angular position (~0.5 degree) measurement [duplicate]

I am attempting to replace a light/mirror sensor to measure the slight low speed oscillations/ rotations of a disc over a period of time. I want to record the angular position, but I wanted to find a ...
2
votes
3answers
76 views

Generate a false encoder signal CW/CCW 1/4 shifted

I need to generate a 10-100khz square signal freq. to simulate an encoder. I'd like to be able to simulate CW and CCW, shifted by 1/4 th signal. I've thinked about a crystal with a pot and some logic ...
0
votes
0answers
34 views

CXA1645 replacement - most convenient switching between PAL and NTSC

I have built NTSC encoder using CXA1645, and picture through composite out is great. Now I want to extend it to PAL, because output device encoder is attached to can operate in both modes, changing ...
0
votes
2answers
51 views

4 axis quadrature encoders? [closed]

I am currently working on a digital input card which will feature quadrature encoder inputs. To my (basic) knowledge, quad encoders use two pulse trains that are 90 degrees out of phase with each ...
0
votes
0answers
27 views

Choosing a position sensor (encoder) and obtaining velocity from it

How do I know how many counts per revolution I need for an encoder for my application? I need to be able to accurately capture a 1000 Hz signal on an input side running from 1-133 rev/sec (60-8000 ...
0
votes
1answer
77 views

Quadrature Encoder Interface Circuit

This is an interface circuit of Quadrature Encoder (A, A', B, B') with MCU. I cannot make sense of the working of OpAmps in this circuit. Is it some standard circuit for doing signal conditioning or ...
2
votes
1answer
130 views

Rotary Encoders

I am trying to find a replacement for an obsolete encoder. I thought I had found a good replacement, hiwever the unit increments up when turned both ways, instead of up for right and down for left. ...
0
votes
2answers
52 views

quadrature encoder

I have an quadrature encoder. my minimum and maximum positions are fixed, and I can count the relative position. If my encoder is mid way, looses power and is then restarted, how can I know my current ...
0
votes
1answer
34 views

PIC QEI encouter values being weird

I'm getting weird values when using the QEI on the dspic33. The QEI counter goes up to about 32700 then goes to negative 32650 and starts decrementing to 0 where it starts from 32700 and starts ...
0
votes
2answers
283 views

How can I design a 8 to 3 priority encoder using 4 to 2 priority encoders?

This is what I've done so far and I really don't understand how to continue. The V variable is for verification [EDIT] it works for Y2 and Y0, but it doesn't work for Y1
1
vote
1answer
105 views

How would I use a rotary encoder without housing?

I'm looking to buy a rotary encoder and I've stumbled upon this: which I assume is an encoder stripped of its housing. My question is how would I use it? There is no shaft to turn, so I'm assuming I ...
0
votes
2answers
273 views

How to handle rotary encoder overflow

I am using a magnetic rotary encoder(AS5048B) to detect the rotation angle of a motor shaft. This is fed to a pid loop to calculate the PWM value for motor position control. The encoder has a 14Bit ...
1
vote
1answer
42 views

Step down open collector circuit

I'm trying to use the LPD3806-400 incremental encoder with an Arduino DUE. I have the problem that the datasheet says 5 V to 24 V and also the output is open collector. Therefore, I have to pull up ...
3
votes
1answer
142 views

Unusual Rotary Encoder Output

I'm trying to replace a rotary encoder with push switch from a Boss SE70 effects unit as the switch is broken; the same encoder is apparently used in a number of Roland products such as the JD-990, JV-...
0
votes
1answer
106 views

How do memory seats keep track of their position?

I was wondering how do memory seats keep track of their position. Since this kind of equipment existed in 1990's cars, it must be simple yet ingenious. I have been thinking about this for quite a time ...
-1
votes
1answer
121 views

What do the pins mean on this rotary encoder?

I'm trying to repair a speaker of mine (old AudioEngine A5). The encoder that controls the volume is not working properly and turning the volume up REALLY loud sometimes when you touch it. I had some ...
1
vote
1answer
59 views

Confused why outputs of a priority encoder could be X instead of 0 or 1

So this is the truth table given for the Priority Encoder: and this is its logic diagram: I am extremely confused with the part where the outputs x and ...
3
votes
1answer
1k views

Why do we need bit scrambling when using 8b/10b?

I want to ask the opposite of this question. Here are the purpose of the bit scramblers: Encrypt, but LFSR (and other used) bit-scramblers are breakable. Clock recovery, but it is done by the 8b/ ...
2
votes
2answers
687 views

Implementing a function using decoder, encoder and some gates

Implement the function F(A,B,C,D,E) = A’B’C’DE’+ABCD’E using only the components required from the ones given below: One 3:8 decoder with active high outputs and an active high enable input One 8:3 ...
0
votes
1answer
96 views

Is the wikipedia article on 3b4b encoding in 8b10b encoding correct?

On the wikipedia page for 8b10b encoding (as of writing), the 3b4b table shows that if RD=-1, the outputs can have more 0's than 1's, and if RD=+1, it can have more 1's than 0's. This does not make ...
0
votes
1answer
273 views

Problem with my 8-to-3 line priority encoder using verilog gate level description

I am attempting to build a working 8-to-3 line encoder using gate level description in verilog. Although, I have working models, in terms of successful compilation and simulation, the recurring issue ...
0
votes
1answer
40 views

2D Positioning Localization

I have a robot. My robot has three main sensors one is a gyro from which i can get my yaw, pitch, and roll. I also have an encoder in the x and y axis. How can I use these sensors together to reliably ...
0
votes
2answers
176 views

Determining optical rotary encoder RPM

I hope the first part of this question isn't too physics based for this forum but I am trying to use an optical rotary mask encoder such as this one (Optical Encoder Pair Kit) to determine the RPM of ...
0
votes
1answer
52 views

Testing an Encoder's Accuracy

I'm using a high-frequency (1024PPR) RS-422 encoder, connected to a differential line receiver, and in turn, a quadrature encoder interface. Initial tests were conducted with a low-PPR hand turned ...
-3
votes
1answer
43 views

Tail biting Convolution Encoder

I understand how encoder and decoder works but what are theses values ??
1
vote
4answers
427 views

Method to determine angle of a rotating stage

I am currently working on a project that requires the rotation of polarizers to very specific angles. It is necessary that we are able to determine what angle the polariser is currently at so that we ...
0
votes
0answers
16 views

rateless code is worse than purely retransmissions in single link scenario?

As the title says, I found that the rateless code or fountain code is only optimal in multi-cast scenarios, i.e., multiple link transmission. In single link transmission scenarios, the retransmission ...
0
votes
2answers
462 views

Measuring Rotary Encoder Signal with Multimeter

I'd like to measure the A and B signal of an encoder (https://www.amazon.co.uk/gp/product/B079H3C98M/ref=oh_aui_detailpage_o06_s00?ie=UTF8&psc=1) using my multimeter. I've tried testing the A ...
0
votes
1answer
188 views

Hooking up incremental encoder to mbed

I've spent the last hour trying to get an incremental encoder working with an mbed module. Keyes KY-040 Rotary Encoder https://www.amazon.co.uk/gp/product/B079H3C98M/ref=oh_aui_detailpage_o06_s00?ie=...
3
votes
1answer
427 views

Voltage regulator frequency range

I'm designing a new encoder pulses counter for my project, my encoder HE50B uses a 12-24 VDC Input, and it has 1,000 pulses per each revolution. also the maximum permissible speed is 5,000 RPM. Now I ...
2
votes
1answer
591 views

How to calculate RPM, given timer frequency and counter on STM32

on my STM32F103, I use a timer to read rotary encoder Prescaler = 71 Period = 20 Clock = 72MHz Rotary encoder: 2000 ppr Given the formula: TIMUpdateFrequency(Hz)=Clock/((PSC−1)∗(Period−1)) I ...
0
votes
3answers
309 views

how to find the DC motor turning angle using encoder?

I have a DC motor (MTR11_200) encoder rotating at 100 RPM with and encoder(EH_30_M) which sending 200 PPR how to fix the DC motor to turn at specific angle using this information?
17
votes
9answers
7k views

Is there something such as an infinite potentiometer?

I am trying to find a component, that, similar to a potentiometer, delivers an analog output, but which can be turned indefinitely in a single direction. I have tried searching for something like this,...
1
vote
1answer
54 views

Modulated IR for optical transmission of encoder data (TSOP 4840)

Some background: I am a mechatronics engineer and I have just recently started my first job out of university as an electrical engineer. I feel a little out of my depth but I wasn't going to turn the ...
0
votes
2answers
197 views

How to connect two FPGA boards - VHDL

Hi all, I am trying to figure out a way to connect two fpga boards (like in the image) for a Morse code decoder/encoder. Our first plan was to make the decoding and the encoding in the same board ...
7
votes
1answer
381 views

Implementing line propagation delay compensation for BiSS master in software

Following up on a question I asked some time ago: Simple Implementation of BiSS C interface for a position encoder. I have implemented a simple BiSS master (point to point) to communicate with an ...
2
votes
3answers
114 views

Quadrature encoder has one synced edge and one phase-shifted edge, is this a special encoding scheme?

Special encoder output scheme? I am testing an inexpensive encoder and encountered a strange but consistent output pattern. In other encoders I've used, the A signal consistently has a 90 degree or -...
0
votes
0answers
27 views

Are differential line drivers “active” circuits?

Some quadrature encoder datasheets describe their outputs as either Differential Line Driver or Line Driver. On closer inspection of the diagrams, they appear to be the same thing (differential line ...
1
vote
3answers
176 views

Are Pull Down Resistors too Slow to read Encoder Counts? [closed]

I'm planning on using the LPC1768's QEI module for reading a motor's encoder (which has a high resolution - http://encoder.com/literature/datasheet-770.pdf). I've read some people have hooked up ...
0
votes
0answers
70 views

How commercial spinning LiDAR measure its laser orientation?

I want make my own spinning LiDAR that produce 360 degree 2D point cloud using LiDAR Lite V3 that mounted on spinning platform that used slip ring connector and a DC motor. The design is inspired by ...
0
votes
1answer
161 views

How to convert fixed point binary numbers to BCD? [duplicate]

I am trying to make a calculator that can do fixed point calculations but I don't know how to display them in decimal (BCD). People have told me to use reverse double dabble but I am looking for ...
1
vote
2answers
114 views

Reduce voltage going from absolute encoder to MCU

My absolute encoder need 24VDD (minimum is 11v) and send the same VDD to the output pin. But My MCU only tolerate 3.3v or 5v I could use a resistor but if the amp slightly change for any reason, it ...
0
votes
2answers
64 views

Why the encoder isn't giving a proper square wave?

I have two encoders. As it can be seen below, one of them gives a proper square wave but the other doesn't. What could be the reason for such behaviour? Thanks!
0
votes
1answer
55 views

Data Path Routing or Switching for AFE circuit

Currently i am making the PCB (for analog front end) for the digitization of some sensors(electro-chemical and photo-ionizations). To simply the things this sensors are giving output in Milli volt(...
-1
votes
1answer
532 views

Quadrature encoder - Most efficient implementation

Simply put, I'm controlling a simple DC-motor with a dual-channel encoder with a microcontroller for a personal project, and I'm trying to find the "best" implementation of the following state-machine ...
0
votes
2answers
355 views

Wiring Optical Encoder according to datasheet

I've had success wiring a mechanical CUI encoder according to their datasheet. Values are spot-on for a hardware debouncing and diagram simple to understand for me. Nevertheless, I prefer for my ...