Control Systems Project Closed Feedback Image Focusing

Click For Summary
SUMMARY

The forum discussion centers on implementing a closed feedback image focusing system using a digital camera and a stepper motor controller. The project utilizes a Lego Mindstorms Vision Command System camera to capture images of a checkerboard, which are then processed by an algorithm to adjust the camera's focal length. Key challenges include finding a USB webcam with an adjustable focal length and determining an effective mechanism to couple the focusing knob with the stepper motor. The discussion highlights the importance of understanding the rotation range of the focus knob for successful motor coupling.

PREREQUISITES
  • Understanding of closed feedback control systems
  • Familiarity with stepper motor mechanics and control
  • Knowledge of digital image processing algorithms
  • Experience with USB camera specifications and functionalities
NEXT STEPS
  • Research USB webcams with adjustable focal lengths
  • Explore coupling mechanisms for stepper motors and focus knobs
  • Learn about closed-loop control algorithms for image focusing
  • Investigate the integration of Lego Mindstorms with external hardware
USEFUL FOR

This discussion is beneficial for robotics engineers, control systems designers, and hobbyists interested in image processing and mechanical coupling techniques in camera systems.

maverick280857
Messages
1,774
Reaction score
5
Hi

For our control systems project, we are trying to implement a closed feedback image focusing system. A digital camera captures the image of an object (a checkerboard), sends it to a computer algorithm which determines the amount of defocus in it and sends an actuation signal to a stepper motor controller which adjusts the focal length of the camera lens mechanically (by rotating the knob flanking the lens).

For our experimentation right now, we're using a Lego Mindstorms Vision Commad System camera (lego cam), but our challenge is to be able to couple a stepper motor to the focusing knob which does not rotate freely.

I have two questions:

1. Is there a USB webcam which has an adjustable focal length, with a knob that is convenient to couple with something?

2. What mechanism should be employed to couple the knob with the motor?

Thanks for your help.

Cheers
Vivek.
 
Engineering news on Phys.org
2. What mechanism should be employed to couple the knob with the motor?

That would depend on you focus knobs amount of rotation. If it's range is <360° then you could just couple a 360° stepper directly. I don't think the power of the stepper will be much consideration if the focus control is done with a pot.
 
Last edited:
Hi dlgoff, sorry I did not notice your reply. We have since made considerable progress in the hardware aspects, but the software aspects remain fuzzily addressed.

Below is the link to my most recent post regarding the same project:

https://www.physicsforums.com/showthread.php?t=227684

I am sorry for the double posts, but as the problem statement has been modified, it seemed appropriate to start a new thread.
 

Similar threads

Replies
9
Views
3K
Replies
19
Views
7K
  • · Replies 5 ·
Replies
5
Views
6K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K