Recently met a problem, want to ask everybody a great god,
problem background CodePudding user response:
See the host's questions, said meng,
Analysis of 1: now that USES the incremental encoder (my understanding), using the acquisition card, should be collected level, but I don't understand this data figure PC read what data, as well as the data is used to do? The building Lord told,
Analysis 2: if the incremental encoder, one-way acquisition (return), single-phase (of the building Lord said A phase) can be used only as A trigger the clock; But return (i.e., positive &negative data) collection, then, in turn, use another phase as the trigger clock, if you are using the incremental encoder, the proposal goes to read data query related data, or the original poster can inform model, can I make some personal suggestion,
CodePudding user response:
reference 1st floor Brendon_Tan response: see the host's questions, said meng, Analysis of 1: now that USES the incremental encoder (my understanding), using the acquisition card, should be collected level, but I don't understand this data figure PC read what data, as well as the data is used to do? The building Lord told, Analysis 2: if the incremental encoder, one-way acquisition (return), single-phase (of the building Lord said A phase) can be used only as A trigger the clock; But return (i.e., positive &negative data) collection, then, in turn, use another phase as the trigger clock, if you are using the incremental encoder, the proposal goes to read data query related data, or the original poster can inform model, can I make some personal advice, I this is to do the test, the output of the encoder pulse just as trigger clock of acquisition card, data collected is a machine over there, under which I get the system actual testing data, then the data is why, this is a set of eddy current testing system, the detection is a four-way carbon fiber composite board, will be to collect real-time data imaging, you can see the internal structure of the board, the above figure inside the grain is the conductive carbon fiber, This is incremental type, omron encoder E6B2 - C, 100 p/r, for example, I probe to scan a 10 cm * 10 cm square, was left 10 cm collection, the original road to return to 10 cm moves to the right, go up 1 cm, repeat this step for (a total of 10) back and forth, now I want to change to both routine data back and forth, left 10 1 on 1 right 10 (only 5) back and forth so that we can speed up my detection efficiency, the original good a return to the original road, because motor encoder back to the initial position, adjacent line trigger pulse phase, but after improvement method, at the ends of the position, the encoder output of the initial phase, also caused the adjacent line pulse rising along the sampling point location (corresponding) position deviation, caused the dislocation, CodePudding user response:
CodePudding user response:
The building Lord that I knew, First of all, I don't know you don't understand pulse generation principle of incremental encoder, (if you don't understand, I draw a diagram to you tomorrow) I have provided A solution: left by A rising along the trigger when acquisition card collection, moves to the right when using A falling edge phase triggering acquisition card for acquisition, This solution is the premise of your acquisition card can acquisition trigger level threshold, flexible Settings (as for the principle, the building Lord succeeded to say again) CodePudding user response:
The reference 4 floor Brendon_Tan reply: I can understand that the original poster said, First of all, I don't know you don't understand pulse generation principle of incremental encoder, (if you don't understand, I draw a diagram to you tomorrow) I have provided A solution: left by A rising along the trigger when acquisition card collection, moves to the right when using A falling edge phase triggering acquisition card for acquisition, This solution is the premise of your acquisition card can acquisition trigger level threshold, flexible Settings (as for the principle, the building Lord succeeded to say again) I tried this at the time, but seems to have no effect, also don't know is what reason, on the principle of it, do it should be feasible,