Controlling a Boeing 747 Fuel Quantity Indicator with a Raspberry Pi Pico
Автор: Glen Akins
Загружено: 2023-06-07
Просмотров: 4422
In this video, I demonstrate controlling an AC servo motor at the heart of a Boeing 747 fuel quantity indicator using a PID controller running on a Raspberry Pi Pico development board. The outputs of the PID controller are two sine waves converted to analog by a pair of Microchip MCP4802 dual channel DACs. The sine waves are amplified using an LT1010 fast buffer amplifier and control the AC servo motor. Feedback for the PID controller is from a linear potentiometer inside the gauge that's connected to the Pico's ADC. The fuel level to display is entered from a serial terminal.
At the end of the video I demonstrate the effect of ADC noise on the derivative term of the PID controller. Slight amounts of ADC noise will cause the derivative term to go wild. As a result, the AC servo motor spins back and forth needlessly consuming power and putting wear and tear on the motor. I then show a fix where I average 512 ADC samples for each run of the PID controller. This removes the noise from the input to the PID controller and now the servo motor stops completely once it reaches its target.
Complete details on my blog: https://bikerglen.com/blog/fuel-gauge...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: