How can I measure black line width using a robot and QRB1134 sensor?

  • Thread starter Thread starter brad sue
  • Start date Start date
  • Tags Tags
    Line Width
AI Thread Summary
To measure the width of a 0.5-inch black line using a robot with a QRB1134 sensor, it is essential to understand the robot's capabilities and the sensor's functionality. The robot currently operates based on commands with motor speeds controlled by pulse width modulation (PWM). To achieve accurate measurements, experiments should be conducted to correlate PWM percentages with the robot's speed. Additionally, integrating another optical sensor on the wheel rim can help count rotations, providing a more precise speed measurement while the robot traverses the line. This approach will enhance the accuracy of line width measurement.
brad sue
Messages
270
Reaction score
0
Hi,
I would like to measure black line width (width of 0.5 inch)with a robot.
I don't know how to do it.
I use a QRB1134 sensor and the Analog/digital converter.
please can someone guide me on the procedure for this please?
C.
 
Engineering news on Phys.org
brad sue said:
Hi,
I would like to measure black line width (width of 0.5 inch)with a robot.
I don't know how to do it.
I use a QRB1134 sensor and the Analog/digital converter.
please can someone guide me on the procedure for this please?
C.

Your question is kind of vague. You mention a robot -- what are its capabilities? You mention a sensor -- what kind of sensor is it? You mention an ADC, but no mention of a microcontroller (uC) or any other circuitry for operating the ADC and getting results out of it. What is your level of expertise with these things (robots, ADCs, uCs)? Are you actually building this, or just doing a paper design? What course is this for (what year)?
 
berkeman said:
Your question is kind of vague. You mention a robot -- what are its capabilities? You mention a sensor -- what kind of sensor is it? You mention an ADC, but no mention of a microcontroller (uC) or any other circuitry for operating the ADC and getting results out of it. What is your level of expertise with these things (robots, ADCs, uCs)? Are you actually building this, or just doing a paper design? What course is this for (what year)?

Sorry about that!
So far the robot is just running according certain command : turn left , right etc.. The motor speeds are controlled via the pulse width modulation (PWM).
The sensor is the QRB1134. It is a photo transistor.

The MCU I used is the freescale MC9S1C32 and it has a ADC integrated. so I have no more circuitry to add but connecting the line sensor and a pull up resistor. I have worked with the ADC before but not much.

To measure the width of a black line , I think I need to compute the speed of the robot and the time the robot runs 0.5 inch. Do you think I must calculate the speed or just use the PWM?
If not how to have a precise value of the speed?

Thank you
 
You can do some experiments to see if you can correlate the PWM percentage with robot speed to within whatever your target accuracy is. Be sure that the robot is up to speed before running over the line, however.

Alternately, you could put another opto sensor on a wheel rim, and put little lines on the rim that you can count at the same time you are running over the black line...
 
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top