This project is a work in progress, very little testing has so far been done, I supply no guarantee that the basic concepts work
Controlling an AC-type Yaesu G-5500 Az+El Rotator with PWM from a Raspberry Pi, allowing a portable and compact drive unit running off a 12V battery with no mains inverters.
Choices have been made to use high-end voltage-isolated parts to allow easy co-existence with multiple power domains, as several RF receivers will also be connected to the Raspberry Pi.
PWM board intends to mount on the back of an RPI DIN Plate, facing the Host Raspberry Pi on another DIN plate, connected by Adafruit GPIO Ribbon Cable.
PCB Render:
36-48V Input, Tracpower Isolated TEL 12-4811WI DC-DC converts down to 5.1V @ 2.4A for the Raspberry Pi.
MAX22530 12-bit Isolated ADC cam measure the input voltage, and also exposes a connector to measure 12V battery voltage, and an optional extra channel (charge current?)
Yaesu mains control box produces 80V pk-pk AC. Initially I plan to use a cheap 12V -> 36V DC-DC step-up to allow output of 72V pk-pk AC. The design allows for increasing to 48V motor bus voltage.
DRV8251A 4.1A Motor drivers used to achieve 50Hz AC PWM over the relevant winding for each direction. Initial experiments with variable-frequency were not very successful, but there may be +/-10% to play with for accel/decel softening.
E-STOP implemented with hardware logic (high-speed CMOS) holds motors in 'Brake' regardless of software - if switch contact is opened.
Footprints have been included to allow the use of RF chokes on the PWM outputs if RFI problems are encountered.
MCP3202 12-bit ADC measures the wiper voltage on each of the Az+El Potentiometers to sense position. Careful decoupling of the supply voltage and filtering of the wiper voltage is implemented to achieve a low-noise result.
-
Uputronics Ublox GPS Breakout as daughterboard for Time + Position https://store.uputronics.com/index.php?route=product/product&path=64&product_id=84
-
- Connection for NTPD Timing setup with PPS https://austinsnerdythings.com/2021/04/19/microsecond-accurate-ntp-with-a-raspberry-pi-and-pps-gps/
-
BNO055 DOF IMU Fusion for magnetic-north calibration https://thepihut.com/products/adafruit-9-dof-absolute-orientation-imu-fusion-breakout-bno055
-
- Mounted at end of aluminium boom
-
- Active I2C LTC4311 Terminator to extend the I2C far enough down the boom (screened cable will be used.)
Motor drive using pigpio's excellent ability to run hardware-timed PWM on every GPIO. https://abyz.me.uk/rpi/pigpio/index.html
-
Body diode clamping of high-z driver on other pole is enough to prevent motion of AC motor.
-
Heatsinking of existing drivers is very inadequate. (Blown EL_B1/EL_B2 )
-
- Added DIY copper tab heatsinks to both side of PCB
-
22R resistor between 48V & 5V ground domains had approx 1V across it (~50mA)
-
- Removed & shorted out.
-
Pi Running: 0.07A @ 48V
-
1x Motor drive: 0.67A @ 48V
For attachment to mast pole: https://www.ebay.co.uk/itm/265428394116
ebay wire is 16awg 1.5mm^2
12-48V: https://uk.rs-online.com/web/p/dc-dc-converters/1757784
M3.5 ring terminals for meanwell 12v mains PSU https://uk.rs-online.com/web/p/ring-terminals/0534222
- Phil Crump M0DNY phil@philcrump.co.uk