Calculating motion rate and conveyor move in mm for every pulse of encoder

Dear friends,
I need to understand the calculation of motion rate for given line scan rate.
i have line-scan camera connected to servo motor.
i know that the line-scan camera can run at 7.2 khz line rate (7200 lines in 1 second).
Each pixel need to be 0.1mm (in the direction of motion). 10 lines of scanning is 1mm.
i need to scan image of object that its length is 400mm (0.1mm*4000lines)
First, the Conveyor stop, the object that i need to test with the linescan camera is now 5cm from the camera.
i want that the servo motor will move the conveyor for 45cm and stop. 
(the conveyor accellerate, move const speed, decellerate, stop. the line scan camera connected to 10khz encoder for each revolution)
Now i'm getting lost with the calculation.....
if 1pixel = 0.1mm , then i need the conveyor belt be able to move 0.1mm for each pulse of the encoder???
i want that the servo motor will rotate chain (like the attached image),
but i dont know how i need to calculate the gear diameter, the chain pitch, etc...
and specially, how this parameters influence the line scan rate, and what is the role of the encoder here...
Thanks for any support.
Moti 
Attachments:
Chain_gear.jpg ‏17 KB

Discussion continued here:
http://forums.ni.com/ni/board/message?board.id=200&thread.id=20051
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Messages

  • Calculating motion rate for given line scan rate

    Dear friends,
    I need to understand the calculation of motion rate for given line scan rate.
    i have line-scan camera connected to servo motor.
    i know that the line-scan camera can run at 7.2 khz line rate (7200 lines in 1 second).
    Each pixel need to be 0.1mm (in the direction of motion). 10 lines of scanning is 1mm.
    i need to scan image of object that its length is 400mm (0.1mm*4000lines)
    First, the Conveyor stop, the object that i need to test with the linescan camera is now 5cm from the camera.
    i want that the servo motor will move the conveyor for 45cm and stop. 
    (the conveyor accellerate, move const speed, decellerate, stop. the line scan camera connected to 10khz encoder for each revolution)
    Now i'm getting lost with the calculation.....
    if 1pixel = 0.1mm , then i need the conveyor belt be able to move 0.1mm for each pulse of the encoder???
    i want that the servo motor will rotate chain (like the attached image),
    but i dont know how i need to calculate the gear diameter, the chain pitch, etc...
    and specially, how this parameters influence the line scan rate, and what is the role of the encoder here...
    Thanks for any support.
    Moti 
    Attachments:
    Chain_gear.jpg ‏17 KB

    It sounds like you are mixing two methods of using a line scan camera.
    The first method is to run the camera at a fixed speed.  If the speed of your belt is constant, this can work okay.  To calculate the desired speed, let B=belt speed (mm/sec), L=line rate (lines/sec), R=mm/line (0.1mm/line in your case)
    B = L / R    This equation can be rearranged to calculate any of the quantities.
    The second method is to use an encoder to trigger each line captured by the camera.  In this case, the speed of the belt is not important as long as you don't go too fast for the camera.  In this case, you need to know how many mm the belt will travel for each pulse.  To calculate this, you would probably measure how far the belt travels during one revolution of the encoder.  You should also know the number of encoder pulses per revolution.  Dividing distance by pulses gives you distance per pulse.  Since you want 0.1 mm/pulse, you would need to adjust either the number of pulses in the encoder or the diameter of the belt roller.  If E=encoder pulses and D=belt distance, R = D / E.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Motion 3 - Motion Tracking and Match Move

    Hi, I have no problem learning how to use motion tracking or match move because there's plenty of tutorials online. My question is, if let's say i motion tracked a clip to my original clip and half way through the movie an obstacle comes into the position where my motion tracked clip is. How do i make is so the obstacle appears in front of the motion tracked clip?
    For example, take apple's motion 3 sample video.
    http://www.youtube.com/watch?v=BwezKN_hFF4
    The place where they put the GPS clip, if while the girl is driving she moves her hand in front of the GPS. How would we make it so that her hand appears in front of the GPS not behind it?
    Any help would be appreciated,
    Thank you

    If I am understanding you correctly, it sounds like you are asking how to have an object that is part of the background layer appear in front of an object that you are going to composite in an match-move.
    The only way to do that is to duplicate the background layer and move it in front of the layer you are bringing in, then create a mask around the portion of layer you want to keep (in the example you provide - the girl's hand).
    You would have to go frame-by-frame and animate the mask to follow her hand - very time consuming but I don't see any other way.

  • HT203175 I just bought "Identity Thief".  Itunes says it has received and accepted my code and my movie is ready for viewing.... The movie shows up in my library as being there... I go to play movie and it just sits there and doesn't play... what to do

    I just bought the movie Identity Thief... Itunes says it has received and accepted my code and my movie is ready to play... when I go to click on the movie that shows up in my library... it just sits there and does not play.... i tried to reenter my code and it says the code is already in use in my library.... What do I do...???

    Hi cjgurley,
    Welcome to Apple Support Communities.
    You may find some of the steps in this article helpful:
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    If necessary, you can download purchases again by following the steps outlined here:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Best,
    Jeremy

  • Proxy Server asking for username and password almost 6 times for every page I load, but the same doesn't happen with other browsers like chrome

    The same question keeps popping up again and again "The proxy moz-proxy://proxy.iitm.ac.in:3128 is requesting a username and password. The site says: "moz-proxy://proxy.iitm.ac.in:3128""
    Even after i give the right details, it asks me like 5 more times before it completely loads the page. Some times it happens only 2 times.
    With other browsers like chrome, it asks only in the beginning. it doesn't occur after that.
    This started occurring only recently. i upgraded to firefox 9.0 and it functioned properly for more than 12 hours before it started occuring. i tried downgrading back to 8.0.1 but the problem still continued.

    i'm afraid i need to use proxy settings to connect to internet. The settings are all fine because it used to work properly all this time. i specify the proxy address and the port, which is correct, i am very confident. it is so because the page actually loads on firefox, but not before it asks for my user name and password for it a lot of times, and for every page. for other browsers, it asks only in the beginning, that is, when i start the browser.
    i've put three pics here. under the first two settings, the third image showing the user name and password thingy popping up. this happens a lot of times for every page.

  • HT201272 Why can I buy movies on the Brazilian Store, but then there is no way to re-download them. I restored my iPad backup from iCloud and all Movies I Payed for are gone. Unbelievable

    I needed to restore my iPad contends and settings, and i was using iCloud backup, but there is no way to re-download any movies I already bought on the Brazilian iTunes store, not that I was able to discover.
    All instructions where to the American one, that is slightly different. On this f****ng country(Brasil) I can only re-download music. Very sad.
    Is there another way to get my content back without having to pay all over again?
    If there is no way to re-download it then don't bother to offer the buy option, or put a warning there that if you someway lost your copy that you would have to pay to download it again. I'm really p****ed with this situation.
    First the Apple TV doesn't even have the buy option, so i had to buy and download on the iPad and use airplay to watch it on the TV, and now it's simple gone.
    This titles are almost the same price than a BD, if I had the patience to go out and buy it on a store I still would be able to watch it.
    Can this be solved? ( Re-Download the Movies already bought )

    Re-downloading of films is currently only available in the US (due to film studio restrictions), and not all films can be re-downloaded there as not all film studios are allowing it. Have you not got a copy of them on your computer and/or on a backup ? If not then you can try contacting Apple, but they are under no obligation to let you re-download them : http://www.apple.com/uk/support/itunes/contact/

  • Dates for payroll and time ( Ponts are sure for every answers )

    Hi Peers,
    I have a scenario where i have to capture the time related activates from 27 Feb to 27 March and the Payroll dates from 01.03.2007 to  31.03.2007 .
    Now my problem is when the employee took leaves on 27 and 28 then according to the above config it should deduct the 2 days salary and paid accordingly.
    Pls help how can i configure it .
    It is very urgent pls help.
    Nancy.

    Hi Anu / Peers
    Please read all the related queries.
    If it is still unclear I will explain again.
    I am configuring the Payroll for the dates 01.04.2007 to 31.04.2007
    We are using the Negative Time Management.
    Now the company wants is to configure the time realted activites from 26.03.2007  to 26.04.2007.
    Now if the employee is absent from 27.03.2007 to 28.03.2007 so his time data should capture accordingly in the time proccessing of payroll .
    Now what is a problem is it is assuming the values from 27.03.2007 to 28.03.2007 to as it was from last month and deducting  in arrears.
    Now if i know how and where to configure the time 27.03.2007 to 28.03.2007 then there will be no Problem.
    So pls help me regarding this .
    It is really urgent .
    Hope all understand and pls give inputs.
    Nancy.

  • Can motion 4 and motion 5 reside on the same cpu?

    I have motion 4 and want to use 5 for a project, but don't want to corrupt projects that are still in the edit process in 4. Can these two versions reside on the same cpu or does 5 over-right 4?

    Yes, without overwriting. Take a look at this article. The second recommendation describes the steps to take if you don't want to partition.
    Russ

  • Access to "RATE" and "PLANNING" applications in "APSHELL" Appset

    Hi,
    When I login into "BPC for Excel" why are the applications "RATE" and "PLANNING" not in drop-down for 'Application'? Has this anything to do with security or has it got to do with "RATE" and "PLANNING" being SAP delivered content in BPC?
    Regards
    DN

    Yes, it has to do with member access profiles. I updated the member access profiles per your suggestion and I can now see 'RATE' and 'PLANNING' in drop down for 'Applications'. Thanks.
    Regards
    DN

  • Carrying motion effects from 30fps to 24fps project for online

    I'm working on this program where they transfered their dailies footage to HDCam, then they downconvert their dailies to DVCam letterbox with burns. There are some effects (split screen, crop) on the motion window and now it's time for the online and the effects look all out of place. The cuts are at the right spots, but the placement in the screen is out of whack. They are all on top of one another and squezzed in.
    Let me explain the shot: 3 people all talking but each one of them is in a diferent split screen, then all 3 of them show up. 1 person occupies the top left, the other one the top right and the last one at the bottom of the screen.
    The DVCam downconvert of the masters are lettebox with burns, and it seems that the effects won't apply to the HD online since all the effects look squeezed together (like it was made for 4:3 instead of 16:9)
    Now, my question, does anyone know how to transfer the effects from a 30 fps project to a 24 fps project? More specifically, how do I transfer the effects made on the "motion" windows to work on an 23.98 timeline.
    Thank you in advance for your help.

    The red & white checkerbox means that in the rendering process it cannot find the media.
    Strange why this happens on only two instances though
    Have you tried trashing your prefs and repairing permissions.
    Could you render directly out of Motion and then drop the movie into FCP?
    Peter

  • I have 2 displays 1920 and 3840, use 1920 for every day work, some pages I would like to open in 3840 display, is this possible?

    I have 2 displays 1920x1080 and 3840x2160,
    I use 1920x1080 for every day work, some pages I would like to open in or redirect to the 3840x2160 display, is this possible?

    No, but there is a developer tool that you can add a custom size to. It is called Responsive Design View.

  • Small frame rate variation between Motion output and reference video

    Hello all,
    Here's really wonky sort of question for all you Motion/post-production wizzes out there.
    I have a 1920x1080 lower thirds project that I am trying to synch up to a HD up-res of the same dimensions. The problem is that the up-res has a frame rate of 23.976 and Motion only allows for a frame rate of 23.98, so the output synchs up ok at the begining of each act (I have the projects split up into acts), but the further down the time line you go, the more it drifts.
    I've done the math and, for this particular project, the last title begins to appear at 00:20:09:11 in Motion, but appears in FCP at 00:20:09:07, a drift of 4 frames, 3 short of the 7 frames it is supposed to drift if you multiply the timecode in secconds by 23.976 and 23.98, but none the less, very annoying.
    Is there anything that can be done to remedy the situation besides going back after the final Motion output and resynching manually? A three or four frame drift isn't a huge deal, but the largest act I have is 32 minutes, which sounds like a 6 or 7 frame drift. Again not really a huge deal, but I do have several lower thirds that need to be frame accurate (and really, it would be nice if they were all that way).
    Thanks ahead of time.
    -G
    1.6 GHz G5 1.5GB RAM   Mac OS X (10.4.3)   Final Cut Studio

    Yeah. It kind of stinks when you have to swap platforms just to finish a project. AE is also a pain for longform, so I don't want to mislead you.
    I would imagine that Motion would be fine as long as you break the Project up in sections. My workflow is usually like this:
    Generate a matte or slug in a layer above the footage to fill the area where I need the Super or Composite. This should be fairly short (below 1 minute if possible) I may also have to RAZOR out the footage below the matte to match the matte timing. Select the Matte and footage below it if you wish to see the footage and sound in Motion.
    Select File/Send to/ Motion Project
    Create a new Motion Project. Name it for the section I'm editing.
    Add overlays and animations, filters, etc.
    Save project
    switch back to FCP and view/render from FCP.
    then move on to next section of timeline that needs overlays, repeat the procedure. Just copy paste the layers from one Motion project to another if you want to maintain certain layer continuity.
    This way, the Motion projects are managable size and you don't have to re-render the whole FCP project at once. The clips are not long enough for sync issues to appear. And Motion performs much better when the footage is short enough to load into RAM (sub 20seconds for most people).
    Also, to get the most out of Motion, you might want to turn off one of your monitors if you use 2 of them. Motion can use far more VRAM from your graphics card if only one monitor is active.

  • I bought a movie on iTunes but when I try to watch it plays back slowly with no sound.  Then the video will speed up and the sound will work for a moment then off again and back to slow motion.  I have a dell laptop running windows 7

    The description says it all.    I bought a movie on iTunes but when I try to watch it plays back slowly with no sound.  Then the video will speed up and the sound will work for a moment then off again and back to slow motion.  I have a dell laptop running windows 7

    Hi Normanwh,
    If you are having video playback issues in iTunes on your Windows machine, you may find the following article helpful:
    Apple Support: Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    Regards,
    - Brenden

  • Can't open quicktime movie that I exported from Motion 5 and can't import to FCP

    Can't open quicktime movie that I exported from Motion 5 and can't import to FCP 7.
    I exported (with current settings) from Motion 5 now i can't view my movie with QT Player an FCP
    won't recognize it.
    That's the message I get ?
    I'm running Mac OSX but still on FCP 7 (upgrading to FCP X is NOT an option)
    Thanks a lot for any sugestions
    luxbud

    Thanks TOny
    i think it was just a problem during the export. i tried a second time and it just worked fine

  • Error in Currency Conversion and calculated conversion rate is too big

    When I am trying to execute the Query,I can see the result but I received below Warning messages.
    Also I am not authorized to check the conversion rate using TCURR.
    1) Calculated conversion rate 301.149,42529 is too big.
    The exchange rate 301.149,42529 was calculated via the base currency USD.This produced a rate which exceeds the maximum allowed value of 9999.99999.
    System response : The Processing can not be continued because the calculated rate cannot be used.
    2) Error occurred during currency conversion.
    You attempted to Convert the currency.The system cannot find the valid currency into which to convert the value.
    The OLAP Processor cannot convert the currency.The drilldown is not changed.
    3) No Exchange rate from TRY to EUR and date 13.11.2009 is found.
    Please reply.
    Thanks in advance!

    Thanks fr the info. that u all hv given ..... I ran one program frm our side which will be updating the transfer exchange rates as u all have mentioned. But then , i am receiving the warnings.
    Also,when i have checked the conversion rates,they r fine.
    Please find the Below diagnosis ,which they hv given.
    Diagnosis:
    The exchange rate 301.149,42529- was calculated via the base currency USD. This produced a rate which exceeds the      maximum allowed value of 9999.99999.
    System Response:
    The processing can not be continued because the calculated rate can not be used.
    Procedure:
    Check the conversion rate to the base currency USD and the exchange rate type E. If the rates are correct, you must agree different conversion factors for the currencies in question (e.g. 100:1 instead of 1:1), so that the resulting conversion rate does not exceed the value 9999.99999.  Notification Number SG 119 .
    Please solve this issue.Thanks in advance!

Maybe you are looking for

  • How do I start a new iTunes, iCloud account on iPod, iPad?

    I need to know the best way to approach this... I have an iPhone & iPad that I share an iTunes account with my brothers (each of them has an iPhone). I want to start a new iTunes account on my personal laptop since i'm no longer living with them. Sho

  • Cant Rotate First Page of ANY pdf

    I can no longer rotate the first page of ANY pdf. If I try to rotate all pages, every page but the first will rotate. If I try to rotate only the first page I get a message saying "Invalid Page Range". I've been using Acrobat for years and never had

  • Illustrator CS4 - Batch Live Trace all images in one directory?

    Hello everyone I have 200 pages or so scanned at the same resolution from a notepad, which I would like to vectorize. Since they're all pretty much similar I'd imagine the trace settings can be consistant for all of them I'd rather not Live trace eac

  • T61 - New NVIDIA driver disabled OpenGL (NVS 140M)

    After recently updating my NVIDIA video driver using the ThinkPad update tool, my OpenGL drivers were disabled!  Everytime I try to run an OpenGL enabled application, I get the following error message: "nVidia OpenGL Driver: Driver components mis-mat

  • Link in Opportunity

    I do have a problem to make a link out of a field (in View Details of BT111H_OPPT). This field holds the QuotationNo. (out of the ERP) By clicking the link, the system should jump into ERP System, opening TX VA22 and open the relevant quotation (Numb