To cap off the series of scripts for doing easy timelapse video on the Raspberry Pi, here’s a script to generate a H.264 video from the images.
[snippet id=”1771″]
This should be run on a powerful PC rather than the Pi – generating video on the Pi itself is likely to be very slow indeed.
I have also done a quick update to the timelapse generator script to generate images of the correct size. This helps save disk space & the video generation doesn’t have to resize the images first, saving CPU cycles.
Since I have a fair few 750GB disks sat doing nothing, I figured I’d get some USB3 caddies for them. Back when USB -> IDE caddies appeared, they were hideously expensive. Not so much these days!
USB HDD
For Β£6 on eBay, you get a basic plastic box with the required bridge circuitry.
USB – SATA Bridge
Here’s the PCB – a very basic affair, with only 2 ICs. The large QFN IC on the left is the USB-SATA bridge. It’s a JMicron JMS567. Unfortunately JMicron are rather secretive about their bridge chips & I can’t find much information about it, nor a datasheet.
PCB Reverse
Here’s the other side of the bridge PCB – not much on here, the activity indicator LED is a bit of a bodge job, but it’s functional. The IC on the right is a Pm25LD512 512Kbit SPI EEPROM. This is used to store things like the USB device & vendor IDs, device name, type, etc. Here’s what dmesg spits out when the disk is connected on my standard Linux system:
[snippet id=”1769″]
Here’s some speed benchmarks:
USB2 Benchmark
First attached to a USB2 port, above
USB3 Benchmark
And finally attached to a USB3 port, above
Tests were done with a 320GB 5400RPM Samsung HM321HI drive, direct into the root hub, for the shortest possible signal length.
Sometimes while taking timelapse video on the Pi, it misses frames, for no apparent reason. I have been playing with various combinations of disks/SATA cases to see what the bottleneck is. Oddly enough a faster drive actually made the problem worse!
Really Bad Frame Skipping
Here’s an example of some really bad frame skipping, this is with a frame interval of 1250ms, which has worked fine in the past. The disk used is a 750GB WD Black 7200RPM, so disk access time shouldn’t be an issue.
Since frame skipping is rarely a problem in timelapse video I do, I’ve been searching for something to automatically renumber all the frames for processing into video – after writing my own script, which was a bit crusty, I came across a very handy script on SourceForge. It required a couple of small modifications to work correctly with what I want, but here’s the slightly modified version.
[snippet id=”1770″]
With the small modifications, it renumbers the images correctly for processing by AVConv.
More scripting to come when I sort out an automatic transcode kludge!
It’s time for the final part of getting the boat’s engine & drive back together, now I have the new coupling hub. I decided to address one of the issues with the pump mounting while I had everything in bits. When the hydraulic drive was installed, a custom plate was laser cut to fit the pump stack to, as we had no bellhousing with a standard mounting pattern.
Even though this plate is 10mm steel, under full load it actually bends – so to strengthen it along the long edge, I have welded a pair of ribs to the plate.
Pump Mounting Plate
The mounting plate as removed from the mounting brackets. The slotted holes at the sides allow for some movement to adjust the position of the pump & flywheel coupling.
Prepared For Welding
I ground off the paint & grease with an abrasive disc, and am replacing one of the pump mounting studs while I’m at it.
Strengthening Ribs
Here’s the plate after welding. a pair of 10mm bars have been attached along the edges, this will give the mounting significantly more strength on the long axis & prevent any deformation.
Pump On Hoist
Here the plate has been loosely mounted on it’s brackets, & I’ve got the pump stack with it’s associated tangle of hoses on the chain hoist. This unit is very heavy on it’s own – a 2 man job to lift it into place on it’s mounts – with the very stiff hydraulic hoses attached & filled with oil it’s absolutely unmanageable.
Lining Up The Mountings
Here the pump is being jostled into place. The central hole in the mounting plate is a very snug fit, if the pump doesn’t go in exactly straight it will jam & cause damage to both parts. The mating hole in the coupling hub can be seen here – it’s not quite lined up yet.
Almost There
We’ve got about 10mm to go before the pump is seated. It’s held in place with a pair of large studs & nuts.
Coupling Connected
Here the pump is fitted enough to get the main mounting bolts into the coupling. These are torqued down to 150ft/lbs – a difficult thing to do considering the restricted space in the engine bay.
Flush Mounting
The pump has been pulled down onto the plate evenly with the mounting studs, and is now completely flush with the plate. As can be seen, I didn’t bother tidying up the welds with a grinder, they aren’t in any visible place in normal operation, so it didn’t warrant the effort.
Pump Refitted
Finally, the control cable is reattached to the pump’s control lever & everything is installed! A short test trip proved that everything was stable & no undue movement of the pump or coupling was noticed.
To make my timelapse video capture a little easier, I wrote a small script that handles creation of a new folder for every timelapse instance, deals with the runtime & frame interval flags & generally makes everything a little cleaner.
As with most of my code, it’s rough, but functional
In my previous post, I mentioned I’d be replacing the factory supplied charging gear with something that actually charges lithium chemistry cells correctly.
Charging Base
Here’s the base as supplied, with an indicator LED on the right hand side. This LED indicates nothing other than power being applied to the charging base. It’s just connected across the power input with a resistor. This also means that any battery left in the charger while it’s unplugged will discharge itself through this LED over time. Great design there China!
PCB Removed
Here I’ve removed the PCB – there’s no need for it to be taking up any space, as it’s just a complete waste of copper clad board in the first place. The battery tabs have been desoldered & hot snot used to secure them into the plastic casing.
USB Hole
The charger modules I use are USB powered, so a small hole has been routed out in the casing to allow access to the port.
Charging Module
Here the charging module has been installed & wired to the battery tabs. Output is now a nice 4.18v, and will automatically stop charging when the cell is full.
Safety has been restored!
A member of the family recently bought one of these torches from Maplin electronics, and the included chargers for the 18650 lithium-ion cells leave a lot to be desired.
Torch
Here’s what’s supplied. The torch itself is OK – very bright, and a good size. Me being cynical of overpriced Chinese equipment with lithium batteries, I decided to look in the charging base & the cigar-lighter adaptor to see if there was any actual charging logic.
Charger
Answer – nope. Not a single active component in here. It’s just a jack connected to the battery terminals. There’s all the space there to fit a proper charging circuit, but it’s been left out to save money.
OK then, is it inside the cigarette lighter adaptor?
Lighter Adaptor
Nope. Not a single sign of anything resembling a Lithium-Ion charger IC. There’s a standard MC34063A 1.5A Buck converter IC on the bottom of the PCB, this is what’s giving the low voltage output for the torch.
Charger Bottom
Here’s the IC – just a buck converter. The output voltage here is 4.3v. This is higher than the safe charging voltage of a lithium ion cell, of 4.2v.
The cells supplied are “protected” versions, having charge/discharge protection circuitry built onto the end of the cell on a small PCB, this makes the cell slightly longer than a bare 18650, so it’s easy to tell them apart.
The manufacturers in this case are relying on that protection circuit on the cell to prevent an overcharge condition – this isn’t the purpose they’re designed for, and charging this way is very stressful for the cells. I wouldn’t like to leave one of these units charging unattended, as a battery explosion might result.
More to come shortly when I build a proper charger for this torch, so it can be recharged without fearing an alkali metal fire!
Time to get on with the job now the parts have arrived! Above is the new coupling hub, as can be seen compared to the old one that I previously posted about, this one has it’s full complement of splines.
Rubber Element
The hub bolts into the centre of this rubber coupling, which itself locates on pins attached to the engine’s flywheel. This part wasn’t damaged so it’s being reused with the new hub.
Hub Installed
Here’s the hub installed on the input shaft of the main hydraulic pump stack, the pair of holes on the side of the hub are for the grub screws that secure the coupling on the splines. These screws coming loose are what destroyed the old coupling.
Flywheel
Here’s the engine flywheel, where the rubber coupling normally sits. The mounting pins have been greased ready to accept the rest of the coupling.
Doughnut
Here’s the rubber element mounted on the pins – there’s nothing holding it there in normal operation apart from the mating side of the coupling with the pump.
Unfortunately the weather here in Manchester has prevented us from getting any further – more t0 come when the rain stops!
I’ve been meaning to sort some local graphs out for a while for the radiation monitor, and I found a couple of scripts created by a couple of people over at the uRadMonitor forums for doing exactly this with RRDTool.
Β΅RadLogger
Using another Raspberry Pi I had lying around, I’ve implemented these scripts on a minimal Raspbian install, and with a couple of small modifications, the scripts upload the resulting graphs to the blog’s webserver via FTP every minute.
[snippet id=”1759″]
This script just grabs the current readings from the monitor, requiring access to it’s IP address for this.
[snippet id=”1760″]
This script sets up the RRDTool data files & directories.
[snippet id=”1761″]
The final script here does all the data collection from the monitor, updates the RRDTool data & runs the graph update. This runs from cron every minute.
I have added the command to automate FTP upload when it finishes with the graph generation.
This is going to be mounted next to the monitor itself, running from the same supply.
While I’m waiting for the fan controllers to arrive for the new cooling fans, I figured I’d get them fitted into the cases of the supplies & just have them run at minimum speed for now.
Fan Fitted
After removing the original small fan, I cut a larger square hole in the panel to fit the 60mm version. These fans only fit with some minor adjustment to the top & bottom mouldings, but the look isn’t too bad once the covers are back on. The wiring is routed through a small hole next to the fan itself.
I’ve also upgraded on the fans again – these are PFC0612DE, with a higher airflow of ~70CFM at 12,000RPM.
To get the fans to run at minimum speed, the PWM control wire is connected directly to GND.
A while back I posted about a 3M Touch Systems industrial monitor that I’d been given. I had previously paired it with a Raspberry Pi Model B+, but for general desktop use it was just a little on the slow side.
Since the release of the Raspberry Pi 2, with it’s 4-core ARM Cortex CPU, things are much improved, so I figured I’d post an update with the latest on the system.
The monitor I’ve used is a commercial one, used in such things as POS terminals, service kiosks, etc. It’s a fairly old unit, but it’s built like a tank.
3M Panel
It’s built around a Samsung LTM170EI-A01 System-On-Panel, these are unusual in that all the control electronics & backlighting are built into the panel itself, instead of requiring an external converter board to take VGA to the required LVDS that LCD panels use for their interface.
The touch section is a 3M Microtouch EXII series controller, with a surface capacitive touch overlay.
Touch Controller
Above is the touch controller PCB, with it’s USB-Serial converter to interface with the Pi.
As there is much spare space inside the back of this monitor, I have mounted the Pi on a couple of spare screw posts, fitted USB ports where the original VGA & Serial connectors were in the casing, and added voltage regulation to provide the Pi with it’s required 5v.
Overview
Here’s the entire back of the panel, the Pi in the middle interfaces with a HDMI-VGA adaptor for the monitor, and the serial adaptor on the right for the touch. A small voltage regulator at the bottom of the unit is providing the 5v rail. There’s a switch at the bottom next to one of the USB ports to control power to the Pi itself. The panel won’t detect the resolution properly if they’re both powered on at the same time.
At 13.8v, the device pulls about 2A from the supply, which seems to be typical for a CCFL backlighted LCD.
Now the Raspberry Pi 2 has been released, it’s much more responsive for desktop applications, especially with a slight overclock.
Shameless Plug
A full disk image enabled for Desktop & 3M touch monitors is available below for others that have similar panels. This image only works for the Pi 2!
As I have posted about before, the main propulsion system onboard the boat is all hydraulic. To get the drive from the flywheel of the engine to the hydraulic pump stack, a custom drive plate was machined by Centa Transmissions over in Yorkshire, and a Centaflex A coupling was fitted to this.
Centaflex A Coupling
This coupling is a big rubber doughnut, bolted to a centre hub of steel. The steel hub is splined onto the input shaft of the hydraulic pump stack.
Pump Stack
The problem we’ve had is that to prevent the coupling from riding along the splines in operation, a pair of giant grub screws are provided in the side of the centre steel boss, that compress the splines to lock the device in place. These screws are a nightmare to get tightened down (the engineer from Centa who originally came to survey the system said we’d probably shear some tools off trying).
Because of this, the grub screws have loosened over the last 350-odd hours of running & this has had the effect of totally destroying the splines in the hub.
Spline Remains
Here’s the backside of the centre boss, with what remains of the splines, the figure-8 shaped gap on the right is where the securing grub screws deform the steel to lock the coupling into place.
No More Splines
Here’s the other side of the coupling, showing the damage. The splines have effectively been totally removed, as if I’d gone in there with a boring bar on the lathe. Luckily this part isn’t too expensive to replace, and no damage was done to the input shaft of the hydraulic pump stack (Mega ££££). Quite luckily, this damage got to the point of failure while running the engine on the mooring, so it didn’t leave us stranded somewhere without motive power.
The power supplies I have recently built from surplus Cisco switch boards have started displaying a rather irritating problem – continual load of over 9A causes the supplies to shut down on overheat.
This was partially expected, as the original switches that these supplies came from are cooled by a monster of a centrifugal blower that could give a Dyson a run for it’s money. The problem with these fans is that they’re very loud, draw a lot of power (3-4A) and aren’t small enough to fit into the case I’ve used for the project.
The solution of course, is a bigger fan – I’ve got some Delta AFB0612EHE server fans, these are very powerful axial units, shifting 60CFM at 11,000RPM, with a power draw of 1.12A.
They’re 60mm diameter, so only just fit into the back of the case – although they stick out of the back by 40mm.
Monster Fan
Here’s the fan, not the beefiest I have, but the beefiest that will fit into the available space.
These will easily take fingers off if they get too close at full speed, so guards will definitely be required.
To reduce the noise (they sound like jet engines at full pelt), I have ordered some PWM controllers that have a temperature sensor onboard, so I can have the fan run at a speed proportional to the PSU temperature. I will probably attach the sensor to the output rectifier heatsink, since that’s got the highest thermal load for it’s size.
My other monitors are a different model, and have a slightly different main PCB inside, but the process is mostly the same for converting these to 12v supply.
Main PCB
In this monitor type, there is only a single board, with all the PSU & logic, instead of separate boards for each function.
PSU Closeup
This monitor is slightly different in it’s power supply layout. The mains supply provides only a single 12v rail, which is then stepped down by a switching converter to 5v, then by smaller linear regulators to 3.3v & 1.8v for the logic. This makes my life easier since I don’t have to worry about any power conversion at all.
PCB Reverse
Here’s the backside of the PCB, the mains PSU section is in the centre.
Attachment Points
Here’s the pair of 12v supply wires soldered onto the main board, onto the common GND connection on the left, and the main +12v rail on the right. I’ve not bothered with colour coding the wiring here, just used whatever I had to hand that was heavy enough to cope with a couple amps.
12v Socket
A small mod later with a cone drill & the 12v input socket is mounted in the LCD frame.
Casing Mod
Some light removal of plastic & the back cover fits back on. Current draw at 13.8v is ~2A.
I’m still on my crusade of removing every trace of 240v mains power from my shack, so next up are my computer monitors.
I have 4 Dell monitors, of various models, hooked up to my main PC.
The monitor here is a Dell E207WFPc 20″ widescreen model. There will be more when I manage to get the others apart to do the conversion. However I’m hoping that the PSU boards are mostly the same.
Panel Removed
There are no screws holding these monitors together, the front bezel is simply clicked into place in the back casing, these clips are the only thing that holds the relatively heavy glass LCD panel & it’s supporting frame! The image above shows the panel removed. The large board on the left is the power supply & backlight inverter, the smaller one on the right is the interface board to convert the DVI or VGA to LVDS for the LCD panel itself.
PSU Board
Here’s a closeup of the PSU board, the connector at centre right at the top of the PCB is the main power output, and also has a couple of signals to control the backlight inverter section of the PSU, on the left side. The PSU requirements for this monitor are relatively simple, at 14.5v for the backlight & 5v for the logic board.
PSU
Here’s the top of the PSU board, very simple with the mains supply on the right side, and the backlight inverter transformers on the left.
Hooked In
Here I’ve hooked into the power rails on the supply, to attach my own 12v regulators. The green wire is +14.5v, and the purple is +5v. Black is common ground.
5v Regulator
On doing some testing, the backlight inverter section doesn’t seem to mind voltages between 11.5-14.5v, so a separate regulator isn’t required there. Even running off batteries that’s within the range of both charging & discharging. The only regulator required is a 5v one to reduce the input voltage for the logic PCB.
First Test
On applying some 12v power to the regulator input, we have light! Current draw at 12.5v is 2.65A for a power consumption of 33W.
12v Input
There’s plenty of room in the back casing to mount a 12v input socket, I have left the mains supply intact so it can be used on dual supply.
Final Wiring
Here’s the 5v regulator mounted on the back of the casing, all wired up & ready to go.
I’ve had a couple of viewfinder CRT modules for a while, & haven’t done much with them, so I decided to make a very small B&W monitor.
CRT
I ordered a small transparent ABS box when I made a large order with Farnell, that turned out to be just about the perfect size for the project! The CRT & PCB barely fit into the space. The face of the CRT itself is about 17mm across.
Module Installed
Here’s the main PCB & tube fully installed into the case. Barely enough room for a regulator left over!
Power is provided by a simple LM7809 IC to take a standard 12v input.
Module Rear
Rear of the case, showing the fit of the control board.
Connections
Here’s the back of the monitor, with the DC input jack & a 3.5mm 4-pole jack for audio & video. This allows simple connection to many devices, including the one I’ll use the most – the Raspberry Pi.
Completed
Completed monitor. Audio is handled by a very small 20mm speaker, currently mounted just below the CRT face.
Current draw from a 13.8v supply is 117mA.
Finally, here’s the last part of the Rigol 12v DC Power Supply project, the linear post regulation section to remove some of the ripple.
I have made a couple of layout adjustments since the last post about this part of the project – a little more filtering on the DC outputs. As usual the Eagle project files are at the bottom of the post for those who might find them useful.
Updated PCBUpdated Schematic
Completed PCB
Here’s the completed PCB, partially installed in the back of the scope. The missing regulator is the 5v one, since I already have a source of clean 5v from my original attempt at the supply, it’s not a problem not using a linear after the switcher. The filtering is the same on all channels, input from the switchers is on the right, outputs to the scope on the left.
PCB Bottom
Here’s the bottom of the PCB, with the common mode input chokes. The design of this board has allowed me to remove a couple of the switching modules as well, as I can use a single bipolar supply to run both sets of bipolar regulators on this board. This should help remove some of the noise also.
The ripple level has now dropped to lower than it was originally on the mains supply! Current draw at 13.8v DC is about 1.75A.
The OPN-2001 is a very small handheld barcode data collection device, used for stock keeping, inventory, etc.
It’s powered by an internal Li-Poly cell, at 150mAh, and has storage for 1000 barcodes in it’s internal memory.
USB
The unit is charged via it’s USB port, the data can also be downloaded using this interface.
ID Label
Here’s the bottom of the unit with it’s label. Serial number removed to protect the guilty. π
Cover Removed
Here the bottom cover has been removed from the scanner, showing the internals. The barcode engine is on the left, this contains all the hardware & logic for scanning & storing the barcode data. The Li-Poly cell is under the FFC cable wrapped in foam tape for protection.
PCB Removed
Here’s the PCB & engine assembly removed from the casing. The lower PCB appears to just handle the user interface buttons, beeper & USB power & charging circuitry. All the processing logic is on the barcode engine itself.
PCB Reverse
Here’s the back of the support PCB, with the pair of buttons for scanning & deleting barcodes. Also on this board is a 32kHz clock crystal & a Ricoh RV5C386A RTC IC. This communicates with the main processor via IΒ²C for storing the date & time with the barcodes. At the bottom right corner are some of the power supply passives.
Support PCB
Here’s the other side of the support PCB, with the beeper, battery connector & the switching regulator to provide the barcode engine with 3.3v power.
Barcode Engine
Here’s the barcode engine itself, which is absolutely tiny, at roughly 20mm square. The main processor & it’s associated Flash ROM are on this PCB. The main processor has an ARM7 32bit core, with 64kB of RAM, and onboard 512kB of ROM for program & barcode storage.
Mirror
Here’s the business end of the barcode engine, the mirror vibrates at 100Hz to produce the scan line. The laser diode is rated at 1mW, 650nm. This is in the deep red range.
I’ve had a couple of larger batteries for my UV-5Rs for some time now, and decided to do a quick teardown to see if they’re actually the capacity claimed.
BL-5L Battery
Here’s the label, claiming 3800mAh (3.8Ah) of battery capacity.
These batteries are held together with glue, but a good way to get these kinds of things open is by whacking the seams with the handle of a screwdriver. This cracks the glue without damaging the casing.
Battery Cracked Open
After a few minutes of cracking the seams, the battery comes right open. The pair of wires link the protection board on the cells to the DC terminals on the top of the pack. The charging terminals are under the cardboard insulator on the right.
Cells
Here’s the other half of the case, with the cells themselves. These are wired in series for a 7.2v pack, and at a capacity of 2600mAh (2.6Ah) printed on them, the label clearly lies about the capacity.
Since I fitted my scope with a SMPS based 12v input supply, there has been a noise problem on very low volts/div settings, this noise isn’t present on the mains supply, so I can only think it’s coming from the switching frequencies of the various DC-DC modules I’ve used.
Scope Ripple
Because of this I’ve designed a linear post-regulation stage for the supply, to remove the RFI from the DC rails.
This board takes the outputs from the DC-DC converters, removes all the noise & outputs clean DC onto the mainboard of the scope.
As the scope internally uses regulation to get the voltages lower, I’ve found that I don’t have to match the outputs of the mains supply exactly, for the +/-17.5v rails, 12v is perfectly fine instead.
Scope Linear PSU
Here’s the PCB layout, with the 6Β common mode filters on the input (left), linear regulator ICs in the centre & the output filters on the right.
Scope Linear PSU
Here’s the schematic layout, as usual the Eagle Project files are in the link below, I’ll update when I have built the board & tested!
This is basically an industrial, rugged MP3 player, in an extruded aluminium case.
They are used in commercial settings for generating telephone hold music or continual playback of background music in shops.
USB1100
It’s quite a compact unit, in a nice aluminium case, designed for mounting into a comms setup. This unit will play any MP3 file, up to a maximum size of 11MB.
Here’s the single PCB removed from the casing. Unfortunately the main CPU has had it’s part number sanded off, and I can’t be bothered to try & find out what kind of processor it is at this point. To the right of the CPU are some flash ROM & SDRAM, along with the single USB port at bottom right.
The left side of the board is dedicated to audio output & voltage regulation, there are a fair few linear regulators in this unit.
The audio codec is a CS4271 from Cirrus Logic, a really high quality part, 24-bit resolution, 192kHz Stereo codec. Considering this is for telephone & PA systems that aren’t that high fidelity, it’s well built!
All of the parts I required to complete the supply arrived this morning. After several hours of building, here’s what I came up with:
12v Power Supply
I’ve mounted everything on a piece of FR4 PCB, with it’s copper plane grounded to the case. This backing board is the same size as the original PSU PCB to allow it to be screwed into the same location in the scope.
The power comes in via the converter on the right, which outputs a single 24v rail for the rest of the supplies. The other 6 supplies then generate the individual voltage rails that the scope requires. The use of a single input supply allows this system to operate at voltages up to 30v DC, so it’s good for both 12v & 24v systems.
Scope Ripple
At present the only issue is with some ripple on one of the supplies, this is showing up on the scope display with no input connected at the lowest volts/division. Parts are on order from Farnell to build some common mode filters to remove this from the DC output.
On a 13.8v supply, the scope draws about 1.5A total from the supply, giving a total power consumption of 20.7W. This is with all 4 channels enabled.
My wiring assignments & DC-DC converter ratings are in the table below
Connector Pin
PCB Pin
Signal
Mainboard
DC-DC Rating
Wire Colour
1
10
GND
GND
N/A
BLACK
2
2
+9v_GND
FAN --
NA
BLACK
3
8
+7.5V
6.3V
6A
ORANGE
4
14
-7.5V
-7.5V
2A
GREEN
5
1
NOT USED
AC_TRIG
N/A
NOT USED
6
4
+5V
5V5A
6A
RED
7
6
GND
GND
N/A
BLACK
8
7
GND
GND
N/A
BLACK
9
12
-17.5V
-17.5V
3A
PURPLE
10
9
+7.5V
6.3V
6A
ORANGE
11
3
+9V
FAN +
1A
GREY
12
11
17.5V
17.5V
3A
BLUE
13
5
+5V
5V5A
6A
RED
14
13
GND
GND
N/A
BLACK
Stay tuned for the final section of this build with the power supply filtering & main DC input connections!
As the crimp tool for the PSU connector in the Rigol scope is a very expensive piece of hardware, I decided to use pre-crimped terminals, from an ATX power connector. (They’re the same type).
Wiring Loom
Here’s the partially completed loom, with the 13 cores for the power rails. The 14th pin is left out as that is for AC triggering, and this won’t be usable on a low voltage supply.
A couple of the pins have two wires, this is for voltage sensing at the connector to compensate for any voltage drop across the cable. The regulators I am using have provision for this feature.
Sleeving
To keep the wiring tidy, I dug a piece of braided loom sleeving out of the parts bin, this will be finished off with the heatshrink once the pins are inserted into the connector shell.
The remaining parts for the loom have been ordered from Farnell & I expect delivery tomorrow.
Here’s some testing of the first bipolar supply for the Rigol scope. This is the +/-7.5v supply.
Bipolar Supply
Above is the supply built with it’s output filtering. The modules used are a PTN78020W for the positive rail & a PTN78060A for the negative rail.
Under a 1A load across the total 15v output, here’s some scope traces of the ripple on the supply:
+7.5v Rail
Here’s the ripple on the +7.5v rail of the supply, there’s about 75mV of total ripple.
-7.5v Rail
And here’s the -7.5v rail, the ripple on this is slightly lower, at about 50mV. This should be more than satisfactory as the scope has onboard linear regulation after the switching supply.
While searching around for regulators to convert my new scope to 12v power, I remembered I had some DC-DC modules from Texas Instruments that I’d got a while ago. Luckily a couple of these are inverting controllers, that will go down to -15v DC at 15W/3A capacity.
I’ve had to order a new module from TI to do the -17v rail, but in the meantime I’ve been getting the other regulators set up & ready to go.
The DC-DC module I’ve got for the -7.5v rail is the PTN78060A type, and the +7.5v & +5v rails will be provided by the PTN78020W 6A buck regulators.
These regulators are rated well above what the scope actually draws, so I shouldn’t have any issues with power.
DC-DC Modules
Here’s the regulators for the 5v, 7.5v & -7.5v rails, with multiturn potentiometers attached for setting the voltage output accurately. I’ve also attached a couple of electrolytics on the output for some more filtering. I’ll add on some more LC filters on the output to keep the noise down to an absolute minimum. These are set up ready with the exact same output voltage as the existing mains AC switching supply, when the final regulator arrives from TI I will put everything together & get some proper rail readings.
There won’t be a proper PCB for this, as I don’t have the parts in Eagle CAD, and I simply don’t have the energy to draw them out from the datasheets.
More to come when parts arrive!
73s for now π
Tip Jar
If you’ve found my content useful, please consider leaving a donation by clicking the Tip Jar below!
All collected funds go towards new content & the costs of keeping the server online.