The STM32 Discovery dev board is used to read an SPI serial interface magnetic absolute angle sensor and drive PWM and DIR signals to an H-bridge for a brushed gear-motor directly coupled to the weighted base. Sample loop is 1024 Hz and the PWM frequency is approximately 8 kHz. A brass and PTFE composite thrust washer is used between the gearbox face and the 6061 aluminum hub of the weighted base.
The beam is dual-ball bearing mounted on a 3/8″ vented cap screw, which is fastened to the rotating platform with a nylon insert lock nut. The vented cap screw allows signal wires to pass through to the angle sensor fixed at the other end of the mount screw. Neodymium magnets are fixed to the beam on an aluminum bracket over the angle sensor.
The gearbox has experienced accelerated wear, likely do to half of the planetary gears being nylon despite being specified in the sales literature as metal. It has been rebuilt several times, with thrust washer moved in the gear stack, and exhibits a “detented” non-linearity while rotating. The PID must compensate for this as well.
The Raspberry Pi is used to update PID loop gains through an SSH terminal WiFi user interface, and generate live plots of the angle and PWM data using gnuplot and NGINX web server. Wireless interfaces allow for full continuous 360 degree rotation to balance the beam.
The Raspberry Pi and STM32 Discovery communicate using bidirectional UART serial. Processing is otherwise completely independent and parallel.
The project is used to demonstrate Zigler-Nichols and other PID tunings. The coefficients used are from the Wikipedia article on Zigler-Nichols tuning method.
Things are heating up QUICKLY between Rihanna and soccer superstar Karim Benzema … ’cause after the two partied in Hollywood together Monday night, Benzema capped off the night with a cheesy romantic finishing move … ROSES!!!
SUBSCRIBE: https://po.st/TMZSubscribe
About TMZ:
TMZ has consistently been credited for breaking the biggest stories dominating the entertainment news landscape and changed the way the public gets their news. Regularly referenced by the media, TMZ is one of the most cited entertainment news sources in the world.
Subscribe to TMZ on YouTube for breaking celebrity news/ gossip and insight from the newsroom staff (TMZ Chatter & TMZ News), the best clips from TMZ on TV, Raw & Uncut TMZ paparazzi video (from TMZ.com) and the latest video from TMZ Sports and TMZ Live!
Keeping Up with Our YouTube Exclusive Content:
TMZ Chatter: TMZ newsroom staff insight and commentary from stories/ photos/ videos on TMZ.com
TMZ News: The latest news you need to know from TMZ.com
Raq Rants: Raquel Harper talks to a celebrity guest with ties to the hip hop and R&B communities.
Behind The Bar Podcast: TMZ’s lawyers Jason Beckerman and Derek Kaufman loiter at the intersection of law and entertainment, where they look closely at the personalities, events and trends driving the world of celebrity — and how the law affects it all.
We love Hollywood, we just have a funny way of showing it.
Need More TMZ?
TMZ Website: https://po.st/TMZWebsite
LIKE TMZ on Facebook! https://po.st/TMZLike
FOLLOW TMZ on Twitter! https://po.st/TMZFollow
FOLLOW TMZ on Instagram! https://po.st/TMZInsta
TMZ on TV & TMZ Sports on FS1 Tune In Info: https://po.st/TMZOnAir
TMZ is on iOS! https://po.st/TMZiOS
TMZ is on Android! https://po.st/TMZonAndroid
Got a Tip?
Contact TMZ: https://po.st/TMZTip
Check out TMZ Live, TMZ Sports and toofab!
TMZ Live: https://po.st/TMZLiveWebsite
Subscribe! TMZ Live: https://po.st/TMZLiveSubscribe
TMZ Sports: https://po.st/TMZSportsWebsite
Subscribe! TMZ Sports: https://po.st/TMZSportsSubscribe
Toofab: https://po.st/toofabWebsite
Subscribe! toofab: https://po.st/toofabSubscribe
Rihanna Clubbing with Hot Soccer Stud Karim Benzema | TMZ
https://www.youtube.com/channel/UCK7IIV6Q2junGSdYK3BmZMg