Angle displacement sensor is an electronic component that uses angle changes to locate the position of an object. It is suitable for servo systems of automobiles, engineering machinery, space devices, missiles, aircraft radar antennas, as well as injection molding machines, woodworking machinery, printing machines, electronic rulers, robots, engineering monitoring, computer-controlled sports equipment and other occasions that require accurate displacement measurement. This article introduces the principle of angle displacement sensor and its application examples.
Principle of Angle Displacement Sensor
Angle Sensor This is used to detect angles. It has a hole in its body that fits the Lego axle. When attached to the RCX, the angle sensor counts once for every 1/16 turn of the axle. The count increases when turning in one direction and decreases when the direction of rotation changes. The count is related to the initial position of the angle sensor. When the angle sensor is initialized, its count value is set to 0, and you can reset it programmatically if necessary.
Angular displacement sensor example
If you connect the angle sensor to any of the drive shafts between the motor and the wheel, you must factor the correct gear ratio into the data you read. Here's an example of a calculation. On your robot, the motor is connected to the main wheel with a 3:1 gear ratio. The angle sensor is connected directly to the motor. So its gear ratio to the drive wheel is also 3:1. That is, for every three revolutions of the angle sensor, the drive wheel rotates once. Each revolution of the angle sensor counts 16 units, so 16*3=48 increments equal one revolution of the drive wheel. Now, we need to know the circumference of the gear to calculate the distance traveled. Fortunately, each LEGO gear has its diameter marked on the tire. We chose the largest wheel with an axle, which has a diameter of 81.6CM (LEGO uses metric units), so its circumference is 81.6×π=81.6×3.14≈256.22CM. Now we have all the known quantities: the distance the gear travels is 48 divided by the increments recorded by the angle and then multiplied by 256. Let's summarize. R is called the resolution of the angle sensor (count value per rotation), G is the transmission ratio between the angle sensor and the gear. We define I as the increment of the angle sensor per rotation of the wheel. That is:
I = G × R
In this example, G is 3, and for the Lego Angle Sensor, R is always 16. Therefore, we can get:
I = 3 × 16 = 48
The distance the gear travels per rotation is exactly its circumference C, and applying this equation, using its diameter, you can come to this conclusion.
C=D×π
In our example:
C = 81.6 × 3.14 = 256.22
The final step is to convert the data recorded by the sensor - S - into the distance the wheel traveled - T, using the following equation:
T=S×C/I
If the photoelectric sensor reads a value of 296, you can calculate the corresponding distance:
T=296×256.22/48=1580 The unit of distance (T) is the same as the unit of wheel diameter.
Angle displacement sensor is actually used
Using an angle sensor to control your wheels can indirectly detect obstacles. The principle is very simple: if the motor angle sensor structure is running, but the gear does not turn, it means that your machine has been blocked by an obstacle. This technology is very simple to use and very effective; the only requirement is that the moving wheel cannot slip on the floor (or slip too many times), otherwise you will not be able to detect the obstacle. This problem can be avoided if an idle gear is connected to the motor. This wheel is not driven by the motor but by the movement of the device: during the rotation of the driving wheel, if the idler wheel stops, it means that you have hit an obstacle.
Angle sensors are very useful in many situations: controlling the position of arms, heads and other movable parts. It is worth noting that when running too slowly or too fast, the RCX will suffer in terms of accurate detection and counting. In fact, the problem is not with the RCX, but its operating system. If the speed exceeds its specified range, the RCX will lose some data. Steve Baker has experimentally proved that the speed range between 50 and 300 revolutions per minute is a more appropriate range, within which there will be no data loss problem. However, in the range below 12rpm or above 1400rm, some data will be lost. In the range of 12rpm to 50rpm or 300rpm to 1400rpm, RCX will occasionally have data loss problems.
Previous article:Pressure unit and pressure detection method of earthquake-resistant pressure gauge
Next article:Industrial Ethernet or fieldbus, which one will become mainstream?
- Popular Resources
- Popular amplifiers
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Ginkgo USB-SPI nRF24L01 host computer debugging software source code download
- New Technology for Air Quality Monitors and Smoke Detectors
- 【ESP32-C3-DevKitM-1】ESP32-C3 development environment construction
- Layoffs, employment difficulties…what do you think of this winter?
- DSP28 fir low-pass filter design source code
- Semiconductor Device Physics (Shi Min)
- [Analysis of the topic of the college electronic competition] - 2019 National Competition G "Wireless transceiver system for dual-channel voice simultaneous interpretation"
- USB Type-c charging and music listening two-in-one adapter solution
- Prize-winning quiz | Xuanzhi Technology—High-performance, highly integrated motor control solutions
- Playing with Zynq Serial 41——[ex60] Image smoothing processing of OV5640 camera