Posted on Leave a comment

MingHe D3806 Buck-Boost DC-DC Converter

DC-DC Converter
DC-DC Converter

Here’s a useful buck-boost DC-DC converter from eBay, this one will do 36v DC at 6A maximum output current. Voltage & current are selected on the push buttons, when the output is enabled either the output voltage or the output current can be displayed in real time.

Display PCB
Display PCB

Here’s the display PCB, which also has the STM32 microcontroller that does all the magic. There appears to be a serial link on the left side, I’ve not yet managed to get round to hooking it into a serial adaptor to see if there’s anything useful on it.

Display Drive & Microcontroller
Display Drive & Microcontroller

The bottom of the board holds the micro & the display multiplexing glue logic.

Main PCB
Main PCB

Not much on the mainboard apart from the large switching inductors & power devices. There’s also a SMPS PWM controller, probably being controlled from the micro.

Posted on Leave a comment

eBay Flyback High Voltage PSU

Flyback PSU
Flyback PSU

I have found myself needing some more in the way of High Voltage supplies of late, with the acquisition of the new He-Ne laser tubes, so I went trawling eBay for something that would be suitable to run these tubes. (I currently only have a single He-Ne laser PSU brick, and they’re notoriously hard to find & rather expensive).
This supply is rated at 1kV-10kV output, at 35W power level. Unfortunately this supply isn’t capable of sustaining the discharge in a large He-Ne tube, the impedance of the supply is far too high. Still, it’s useful for other experiments.
The flyback-type transformer clearly isn’t a surplus device from CRT manufacture, as there are very few pins on the bottom, and none of them connect to the primary side. The primary is separately wound on the open leg of the ferrite core.

Drive Electronics
Drive Electronics

The drive electronics are pretty simple, there’s a controller IC (with the number scrubbed off – guessing it’s either a 556 dual timer or a SMPS controller), a pair of FDP8N50NZ MOSFETs driving the centre-tapped primary winding.
The drive MOSFETs aren’t anything special in this case: they’re rated at 500v 8A, 850mΩ on resistance. This high resistance does make them get rather hot even with no load on the output, so for high power use forced-air cooling from a fan would definitely be required.

Test Setup
Test Setup

Here’s the supply on test, I’ve got the scope probes connected to the gate resistors of the drive MOSFETs.

Waveforms
Waveforms

On the scope the primary switching waveforms can be seen. The FETs operate in push-pull mode, there’s a bit of a ring on the waveform, but they’re pretty nice square waves otherwise.

Arc
Arc

At maximum power on 12v input, about 25mm of gap is possible with an arc.

Posted on Leave a comment

ELuc BLU4 Intelligent Lithium Battery Charger W/Bluetooth

BLU4 Battery Charger
BLU4 Battery Charger

Here’s another battery charger designed for lithium chemistry cells, the BLU4. This charger doesn’t display much on it’s built in LCD, apart from basic cell voltage & charging current limits, as it has a built in Bluetooth module that will link into an Android or iOS app.

Above the charger is operating with 4 brand new cells, at a current of 500mA per cell. If only a pair of cells is being charged, the current can be increased to 1A per cell.

LCD
LCD

Not much in the way of user interface on the charger, a tiny LCD & single button for cycling through the display options.

Dataplate
Dataplate

The usual stuff on the data plate, the charger accepts an input of 12v DC at 1A.

Bottom Cover Removed
Bottom Cover Removed

Removing the 6 screws on the bottom of the casing allows the board to be seen. Not much on the bottom, the 4 cell negative connections can be seen, with their springs for adjusting for cell length.

MOSFETs
MOSFETs

There’s a couple of P-Channel FETs on the bottom side for the charging circuits, along with some diodes.

Main PCB
Main PCB

The main PCB is easily removed after the springs are unhooked from the terminals. Most of the power circuitry is located on the top side near the power input. There are 4 DC-DC converters on board for stepping the input 12v down to the 4.2v required to charge a lithium cell.

Second Controller
Second Controller

Not entirely sure what this IC is in the bottom corner, as it’s completely unmarked. I’m guessing it’s a microcontroller though.

DC Input Side
DC Input Side

The top left of the board is crammed with the DC-DC converters, all the FETs are in SO8 packages.

DC-DC Converters
DC-DC Converters

One pair of DC-DC inductors is larger than the other pair, for reasons I’m unsure of.

Bluetooth Module
Bluetooth Module

Bluetooth connectivity is provided by this module, which is based around a TTC2541 BLE IC.

Microcontroller
Microcontroller

Below the Bluetooth module is yet another completely unmarked IC, the direct link to the BLE interface probably means it’s another microcontroller. The Socket to the left of the IC is the connector for the front panel LCD & button.

LCD PCB
LCD PCB

There’s not much to the LCD itself, so I won’t remove this board. The LCD controller is a COB type device, from the number of connections it most likely communicates with the micro via serial.

Applications of a 1mW Helium-Neon Laser

There are many uses for even a 1 mW helium-neon laser. Most of these same sorts of things can also be done with a collimated diode laser (though some laser diodes may not have the needed coherence properties for applications like interferometry and hologram generation).

Below are just a few possibilities.

(Portions from: Chris Chagaris (pyro@grolen.com).)

  • Basic optical experimentation such demonstrating the principals of refraction, reflection, diffraction and polarization.
  • Interferometer construction: With a small laser and a few simple optics, this device will allow you to perform many interesting experiments.
  • Free-space optical communications: using some basic electronics for modulation.
  • Fiber Optic Experimentation.
  • Viewing of holograms.
  • Hologram generation: However, I’d suggest a slightly higher powered laser for this.
  • Construction of a basic laser light show. A higher power laser could be substituted when budget constraints allow. 🙂
  • Laser surveillance.
  • Laser tachometer.
  • Laser burglar alarm.
  • Laser gyroscope.
  • Studying fluid dynamics.
  • Applications in construction for calculating distance, leveling, aid in pipe laying, etc.
Posted on Leave a comment

Sony Xperia Z3 50% Battery Problems

Recently my phone decided it was going to die a battery-related death, and having not found much useful information on the Great Google, (all the information I could find, was hinting at many issues from firmware to a faulty motherboard, nobody seems to have actually done any investigation into similar issues), I decided to dig into the phone to try & repair the problem.

Broken Flex
Broken Flex

The phone would work correctly for a while, then with the slightest movement or knock, would spontaneously switch off, and not turn back on without being whacked on a hard surface.
This symptom pointed me at a power connection problem. After removing the back of the phone (glass & heavily glued in place, so an awkward process), This was what I was presented with on the cell flex PCB.
In the above photo, the positive connection to the flex is fractured just after the solder joint with the BMS board.

Flex Repair
Flex Repair

I managed to scrape some of the insulation off the flex PCB & solder a jumper on to restore power. Unfortunately, this repair generated another fault, where the battery level was always shown at 50%, and plugging into a USB supply wouldn’t charge the phone. The other two pins on the cell are for communication & temperature sensing, clearly one of these traces was also broken in the flex.
The above photo has a pair of very small wire tails as well, for connecting an external charger.

50% Battery
50% Battery

Here’s a screenshot of the phone with the original cell, even though it’s at about 4.15v (virtually fully charged). The battery management is having trouble talking to the phone, so for safety reasons, the charging logic refuses point-blank to charge the thing up.

Flex Cable
Flex Cable

The connector on the cell & phone motherboard is absolutely tiny, so I didn’t fancy attempting to solder on any bridge wires to try & bypass the broken flex.

Battery BMS
Battery BMS

The cell BMS has some intelligence on board, besides the usual over-current, over-charge & under-charge protection. The very small IC on the right has a Microchip logo, and the marking FT442, but I was unable to dig up any datasheets. The current sense resistor is directly connected to this IC, along with the main power FET to the left.

BMS Reverse
BMS Reverse

On the other side of the BMS board is another IC, again unidentifiable, and what looks like a bare-die, or CSP IC.

20160625_233656

At this stage I figured the only way forward was to buy a new battery, eBay turned one up for less than £5. Above is the new battery fitted to the phone, datestamped 2014, so definitely old stock.

100% Battery
100% Battery

Booting the phone with the new battery quickly lets me know the fix worked, with a 100% reading & the ability to again charge properly!

Posted on Leave a comment

Sony Xperia T Teardown

Back Cover Removed
Back Cover Removed

Since this phone has been in my drawer for some time, I figured it was time for a teardown. (It’s never going to see any more use).
The back cover on these phones is easily removed, as it’s just clipped on.

Motherboard
Motherboard

Once the back cover is removed, the Li-Polymer cell is exposed, along with the logic board. Pretty much all of the PCB is under RF shields.

Motherboard Removed
Motherboard Removed
Battery Management
Battery Management

Under the small RF can on the back of the board is the battery management circuitry & the charger. There’s an extra connection to the cell for temperature monitoring. Just under that circuitry is the eMMC flash storage.
Just to the left of the battery circuit is the NFC transceiver IC, from NXP.

Battery Flex
Battery Flex

The cell is connected to the main board with a FFC, with a very small SMT connector, although not as small as the more modern Xperia series phones.

RF Section
RF Section

The other side of the mainboard holds the large RF transceiver section, with a Qualcomm RTR8600 multiband transceiver IC. In the bottom corner is a Skyworks SKY77351-32 Quad-band power amplifier IC, along with 3 other power amplifier ICs, also from Skyworks.

Gyro & Audio Codec
Gyro & Audio Codec

The top corner of the board holds the various sensors, including an Invensense MPU-3050 3-axis gyro. To the right of that is the Audio Codec, a WCD9310 from Qualcomm.

Logic & CPU Section
Logic & CPU Section

Everything is controlled from the last section on the board, with the main CPU & RAM in a PoP (Package-On-Package) configuration. Under the main CPU is the main power management IC, also from Qualcomm. No datasheet for this one unfortunately, but it gives it’s purpose away by being surrounded by large inductors & capacitors.

Posted on 4 Comments

TS100 12-24v Soldering Iron

Handle
Handle

When I ordered the tiny USB soldering iron, I decided a proper iron upgrade would be a good idea. Looking around for something that didn’t require AC mains power turned up the TS100, a Chinese design, that unusually is actually very good! Above is the handle itself, with it’s small OLED display & two operation buttons.
This iron is controlled by a STM32 ARM microcontroller, the firmware & schematics are completely open-source.

DC Input Jack / USB Port
DC Input Jack / USB Port

The bottom end of the iron has the main DC input jack, designed with laptop chargers in mind (DC input range from 10v-24v). Above that is the micro USB port for programming.

Heating Element Socket
Heating Element Socket

The iron tips slot into the other end, many different tip types & shapes are available. The one supplied was the simple conical tip.

Standby Screen
Standby Screen

Plugging the iron into some power gets a standby screen – it doesn’t just start heating immediately, for safety.

Heating
Heating

The left hand button starts the heater, which on a 24v input voltage gets to operating temperature well within 10 seconds.

Temperature Stable
Temperature Stable

The right hand screen icon changes when the temperature has stabilized. The control PCB has an integrated accelerometer, leaving the iron hot for a few minutes triggers a timeout & it powers down. Once picked up again, the heater instantly restarts.
The operating temperature is adjustable with the pair of buttons, from 100°C to 400°C.

Different Bits
Different Bits

Here’s a selection of bits for the iron. The design is very similar to the Hakko T15 series of irons, but these are a much shorter version. Like the Hakko versions, the actual tips aren’t replaceable, once the bit burns out, the entire assembly is replaced.

TS100 Soldering Iron
TS100 Soldering Iron

Here’s the iron fully assembled. The entire device is about the same length as just the heating element from a Hakko T15!

Posted on Leave a comment

Mini USB Soldering Iron

USB Soldering Iron
USB Soldering Iron

Here’s a novel little gadget, a USB powered soldering iron. The heating tip on these is very small & might be useful for very small SMD work. Bigger joints not so much, as it’s only rated at 8W. (Still breaks the USB standard of 2.5W from a single port).

These irons aren’t actually too bad to use, as long as the limitations in power are respected. Since nearly everything has a USB power port these days, it could make for a handy emergency soldering iron.

Heater Socket
Heater Socket

The heater & soldering bit are a single unit, not designed to be replaced separately. (I’ve not managed to find replacement elements, but at £3 for the entire iron, it would be pretty pointless).
Above is the socket where the heater plugs in, safely isolating the plastic body from any stray heat.

DC Input Jack
DC Input Jack

The DC input is a 3.5mm audio jack, a non-standard USB to 3.5mm jack cable is supplied. Such non-standard cables have the potential to damage equipment that isn’t expecting to see 5v on an audio input if it’s used incorrectly.

Touch Sensor & LED
Touch Sensor & LED

There isn’t actually a switch on this unit for power management, but a clever arrangement of a touch button & vibration switch. The vertical spring in the photo above makes contact with a steel ball bearing pressed into the plastic housing, forming the touch contact.

MOSFET
MOSFET

The large MOSFET here is switching the main heater current, the silver cylinder in front is the vibration switch, connected in parallel with the touch button.

PCB
PCB

The main controller is very simple. It’s a 555 timer configured in monostable mode. Below is a schematic showing the basic circuit.

555 Monostable
555 Monostable

Big Clive also did a teardown & review of this iron. Head over to YouTube to watch.

Posted on Leave a comment

“SolarStorm” eBay 4x 18650 Battery Pack

Pack Top
Pack Top

Since the 4×18650 battery pack supplied with my Cree head torch is pretty shit, even by China’s standards, I figured something I could put my own cells into would be a better option. An eBay search turned up these battery boxes, not only with a direct battery output for my torch, but also a USB port for charging other devices when I’m low on charge.

LED Capacity Indicator
LED Capacity Indicator

The output to the lamp connector is directly connected to the battery, through the usual Lithium Ion protection, but the USB output is controlled from a single power button. Battery charge condition is displayed on 3 LEDs. Not sure why they used blue silicone for the seal & then used green LEDs… But it does work, even if a little dim.

Label
Label

Essential information. Does claim to be protected, and from the already existing electronics for the USB this would be expected in all but the cheapest crap.
An IP rating of IPX4 is claimed, yet just above that rating is a notice not to be used in water. Eh?
This is sealed with an O-Ring around the edge of the top cap & silicone seals around the cable & retaining screw. I did test by immersion in about 6″ of water, and it survived this test perfectly fine, no water ingress at all.

Interconnect Straps
Interconnect Straps

The casing holds a PCB at the bottom end with the cell straps.

Screw Post
Screw Post

Someone wasn’t that careful at getting the brass screw insert properly centred in the injection mould when they did this one. It’s mushed off centre, but i’s solidly embedded & doesn’t present any problems to usability.

Cell Springs
Cell Springs

The top cover holds the cell springs & the electronics.

Button & Cable Seal
Button & Cable Seal

Removing the pair of screws allows the top cap to open up. The cable, button & LEDs are robustly sealed off with this silicone moulding.

Top Removed
Top Removed

Here’s the PCB, not much on the top, other than the power button & battery indicator LEDs.

Electronics
Electronics

Desoldering the cell springs allows the PCB to pop out of the plastic moulding. There’s more than I expected here!

Bottom left is a DC-DC converter, generating the +5v rail for the USB port, this is driven with an XL1583 3A buck converter IC.

Bottom right is the protection IC & MOSFETs for the Lithium Ion cells. I wasn’t able to find a datasheet for the tiny VA7022 IC, but I did manage to make certain it was a 7.4v Li-Ion protection IC.

Top right is a completely unmarked IC, and a 3.3v SOT-23 voltage regulator. I’m assuming that the unmarked IC is a microcontroller of some sort, as it’s handling more than just the battery level LEDs.

A pretty decent 4-core cable finishes the job off. For once there’s actually some copper in this cable, not the usual Chineseuim thin-as-hair crap.

Posted on Leave a comment

DIY Eberspacher Glowplug Screens: Recap

A while ago I posted about the glowplug screens in Eberspacher heaters, and making some DIY ones, as the OEM parts are hideously expensive for a piece of stainless mesh (£13).

Old Screen
Old Screen

Above is the old factory screen that I extracted after only 5 gallons of diesel was run through it, it’s heavily clogged up with carbon & tar. The result of this clogging is a rather slow & smoky start of the heater & surging of the burner while at full power.
It wasn’t as badly stuck in the chamber as some I’ve removed, but extracting it still caused the steel ring to deform, this was after using a scalpel blade to scrape the carbon off the rim.

At the time I did some tests with some spare copper mesh I had to hand, but the problem with copper is that it’s very soft & malleable, so didn’t really hold it’s shape well enough. The factory screens are spot welded to keep them in shape, but as I don’t have a spot welder, I am relying on the mesh having a bit of springiness to keep it in place against the walls of the glowplug chamber.

eBay provided a piece of 120 mesh stainless steel mesh, 300mmx300mm for £8. It’s a bit finer than the stock stuff, but appears to work perfectly fine as long as there’s no gunk in the fuel to clog it up.

I cut a strip off the large piece, as wide as the OEM screen, about 32mm. This 300mm long strip is then cut into 4 pieces, each 75mm long. (it’s easily cut with scissors, but mind the stray wires on the edges! They’re very sharp & penetrate skin easily!).

Mesh Screen
Mesh Screen

These pieces are just the right size to form a complete loop in the glowplug chamber, and the stainless is springy enough so that it doesn’t deform & become loose.
The OEM screen is multiple turns of a more coarse mesh, but the finer mesh size of the screens I’m using means only one turn is required. Multiple turns would probably be too restrictive to fuel flow.
With one of these pieces of mesh in place, the heater starts instantly, without even a wisp of smoke from the exhaust. Burner surging is also eliminated. Even if the service life of my DIY replacement isn’t as long as an OEM screen, the low price for such a large number of replacements certainly offsets that disadvantage!

A piece of mesh from eBay would provide enough material for quite a lot of replacements, and probably more than the service life of the burner itself!

Posted on Leave a comment

Pilot LPG Monitoring System

Pilot Gas Monitor
Pilot Gas Monitor

In my mind, the most dangerous thing onboard any boat is the LPG system, as the gas is heavier than air, any leaks tend to collect in the bilges, just waiting for an ignition source. To mitigate this possibility, we’re fitting a gas monitoring system that will sound an alarm & cut off the supply in case of a leak.

Monitor Unit
Monitor Unit

Here’s the monitor itself, the two sensor model. It’s nice & compact, and the alarm is loud enough to wake the dead.

Control Board
Control Board

Not much inside in the way of circuitry, the brains of the operation is a Microchip PIC16F716 8-bit microcontroller with an onboard A/D converter (needed to interface with the sensors), running at 4MHz. The solenoid valve is driven with a ULN2803 Darlington transistor array.
The alarm Piezo sounder can be seen to the right of the ICs, above that is a simple LM7805 linear regulator providing power to the electronics.

Remote Sensor
Remote Sensor

The pair of remote sensors come with 3.5m of cable, a good thing since the mounting points for these are going to be rather far from the main unit in our installation.

Sensor Element
Sensor Element

The sensor itself is a SP-15A Tin Oxide semiconductor type, most sensitive to butane & propane. Unlike the Chinese El-Cheapo versions on eBay, these are high quality sensors. After whiffing some gas from a lighter at one of the sensors, the alarm triggered instantly & tripped the solenoid off.

Solenoid Valve
Solenoid Valve

The solenoid valve goes into the gas supply line after the bottle regulator, in this case I’ve already fitted the adaptors to take the 10mm gas line to the 1/2″ BSP threads on the valve itself. This brass lump is a bit heavy, so support will be needed to prevent vibration compromising the gas line.

Posted on Leave a comment

IC Decapping: The Process

As I’ve been posting some photos of decapped ICs lately, I thought I’d share the process I use personally for those that might want to give it a go 😉

The usual method for removing the epoxy package from the silicon is to use hot, concentrated Nitric Acid. Besides the obvious risks of having hot acids around, the decomposition products of the acid, namely NO² (Nitrogen Dioxide) & NO (Nitrogen Oxide), are toxic and corrosive. So until I can get the required fume hood together to make sure I’m not going to corrode the place away, I’ll leave this process to proper labs ;).

The method I use is heat based, using a Propane torch to destroy the epoxy package, without damaging the Silicon die too much.

TMS57002 Audio DSP
TMS57002 Audio DSP

I start off, obviously, with a desoldered IC, the one above an old audio DSP from TI. I usually desolder en-masse for this with a heat gun, stripping the entire board in one go.

FLAMES!
FLAMES!

Next is to apply the torch to the IC. A bit of practice is required here to get the heat level & time exactly right, overheating will cause the die to oxidize & blacken or residual epoxy to stick to the surface.
I usually apply the torch until the package just about stops emitting it’s own yellow flames, meaning the epoxy is almost completely burned away. I also keep the torch flame away from the centre of the IC, where the die is located.
Breathing the fumes from this process isn’t recommended, no doubt besides the obvious soot, the burning plastic will be emitting many compounds not brilliant for Human health!
Once the IC is roasted to taste, it’s quenched in cold water for a few seconds. Sometimes this causes such a high thermal shock that the leadframe cracks off the epoxy around the die perfectly.

All Your Die Belong To Us
All Your Die Belong To Us

Now that the epoxy has been destroyed, it breaks apart easily, and is picked away until I uncover the die itself. (It’s the silver bit in the middle of the left half). The heat from the torch usually destroys the Silver epoxy holding the die to the leadframe, and can be removed easily from the remaining package.

Decapped
Decapped

BGA packages are usually the easiest to decap, flip-chip packages are a total pain due to the solder balls being on the front side of the die, I haven’t managed to get a good result here yet, I’ll probably need to chemically remove the first layer of the die to get at the interesting bits 😉

Slide
Slide

Once the die has been rinsed in clean water & inspected, it’s mounted on a glass microscope slide with a small spot of Cyanoacrylate glue to make handling easier.

Some dies require some cleaning after decapping, for this I use 99% Isopropanol & 99% Acetone, on the end of a cotton bud. Any residual epoxy flakes or oxide stuck to the die can be relatively easily removed with a fingernail – turns out fingernails are hard enough to remove the contamination, but not hard enough to damage the die features.

Once cleaning is complete, the slide is marked with the die identification, and the photographing can begin.

Microscope Mods

I had bought a cheap eBay USB microscope to get started, as I can’t currently afford a proper metallurgical microscope, but I found the resolution of 640×480 very poor. Some modification was required!

Modified Microscope
Modified Microscope

I’ve removed the original sensor board from the back of the optics assembly & attached a Raspberry Pi camera board. The ring that held the original sensor board has been cut down to a minimum, as the Pi camera PCB is slightly too big to fit inside.
The stock ring of LEDs is run direct from the 3.3v power rail on the camera, through a 4.7Ω resistor, for ~80mA. I also added a 1000µF capacitor across the 3.3v supply to compensate a bit for the long cable – when a frame is captured the power draw of the camera increases & causes a bit of voltage drop.

The stock lens was removed from the Pi camera module by careful use of a razor blade – being too rough here *WILL* damage the sensor die or the gold bond wires, which are very close to the edge of the lens housing, so be gentle!

Mounting Base
Mounting Base

The existing mount for the microscope is pretty poor, so I’ve used a couple of surplus ceramic ring magnets as a better base, this also gives me the option of raising or lowering the base by adding or removing magnets.
To get more length between the Pi & the camera, I bought a 1-meter cable extension kit from Pi-Cables over at eBay, cables this long *definitely* require shielding in my space, which is a pretty aggressive RF environment, or interference appears on the display. Not surprising considering the high data rates the cable carries.
The FFC interface is hot-glued to the back of the microscope mount for stability, for handheld use the FFC is pretty flexible & doesn’t apply any force to the scope.

Die Photography

Since I modified the scope with a Raspberry Pi camera module, everything is done through the Pi itself, and the raspistill command.

Pi LCD
Pi LCD

The command I’m currently using to capture the images is:
raspistill -ex auto -awb auto -mm matrix -br 62 -q 100 -vf -hf -f -t 0 -k -v -o CHIPNAME_%03d.jpg

This command waits between each frame for the ENTER key to be pressed, allowing me to position the scope between shots. Pi control & file transfer is done via SSH, while I use the 7″ touch LCD as a viewfinder.

The direct overhead illumination provided by the stock ring of LEDs isn’t ideal for some die shots, so I’m planning on fitting some off-centre LEDs to improve the resulting images.

Image Processing

Obviously I can’t get an ultra-high resolution image with a single shot, due to the focal length, so I have to take many shots (30-180 per die), and stitch them together into a single image.
For this I use Hugin, an open-source panorama photo stitching package.

Hugin
Hugin

Here’s Hugin with the photos loaded in from the Raspberry Pi. To start with I use Hugin’s built in CPFind to process the images for control points. The trick with getting good control points is making sure the images have a high level of overlap, between 50-80%, this way the software doesn’t get confused & stick the images together incorrectly.

Optimiser
Optimiser

After the control points are generated, which for a large number of high resolution images can take some time, I run the optimiser with only Yaw & Pitch selected for all images.

Optimising
Optimising

If all goes well, the resulting optimisation will get the distance between control points to less than 0.3 pixels.

Panorama Preview
Panorama Preview

After the control points & optimisation is done, the resulting image can be previewed before generation.

Texas Instruments TMS67002
Texas Instruments TMS67002

After all the image processing, the resulting die image should look something like the above, with no noticeable gaps.

Posted on Leave a comment

Camping Gear – Optimus Nova Multifuel Stove

Stove
Stove

For as long as I can remember I’ve been using Trangia-type alcohol fuelled stoves when I go camping, even though these have served my needs well they’re very limited & tend to waste fuel. I did some looking around for Paraffin/Kerosene fuelled stoves instead, as I already have this fuel on site.
I found very good reviews on the Optimus Nova above, so I decided to go for this one.

This stove can run on many different fuel types, “white gas” (petrol without any vehicle additives) Diesel, Kerosene & Jet A.

Burner
Burner

Here’s the “hot end” of the device, the burner itself. This is made in two cast Brass sections, that are brazed together. The fuel jet can be just seen in the centre of the casting.

Fuel Pump
Fuel Pump

The fuel bottle is pressurised with a pump very similar to the ones used on Paraffin pressure lamps, so I’m used to this kind of setup. The fuel dip tube has a filter on the end to stop any munge gumming up the valves or the burner jet.

Pre-Heating
Pre-Heating

As with all liquid-fuelled vapour burners, it has to be preheated. There’s a fibreglass pad in the bottom of the burner for this, and can be soaked with any fuel of choice. The manual states to preheat with the fuel in the bottle, but as I’m using Paraffin, this would be very smoky indeed, so here it’s being preheated with a bit of Isopropanol.
The fuel bottle can be seen in the background as well, connected to the burner with a flexible hose. The main burner control valve is attached to the green handle bottom centre.

Simmer
Simmer

Once the preheating flame has burned down, the fuel valve can be opened, here’s the stove burning Paraffin on very low simmer. (An advantage over the older alcohol burners I’m used to – adjustable heat!)

Full Power!
Full Power!

Opening the control valve a couple of turns gives flamethrower mode. At full power, the burner is a little loud, but no louder than my usual Paraffin pressure lamps.

Flame Pattern
Flame Pattern

With a pan of water on the stove, the flame covers the entire base of the pan. Good for heat transfer. This stove was able to boil 1L of water from cold in 5 minutes. A little longer than the manual states, but that’s still much quicker than I’m used to!

Fuel Jet
Fuel Jet

The top of the burner opens for cleaning, here’s a look at the jet in the centre of the burner. The preheating pad can be seen below the brass casting.

Posted on Leave a comment

Mini Teardown: Eberspacher 701 BT Controller

It’s well known that there are two versions of the 701 type controller available for Eberspacher heaters, the version with the blue logo is the official un-restricted model, while the version with the white logo is a version built for BT that restricts the heater to 1 hour runtime & has no diagnostics built in.
As these devices are microcontroller driven, I assumed that the hardware would be the same, only the code running in the micro being the bit that Eberspacher changed. This option would certainly have been the lowest cost.

Controller PCB Rear
Controller PCB Rear

Here’s the PCB removed from the plastic housing. There are definitely some differences that I can tell. As the un-restricted version has an extra wire for the diagnostic serial interface, and this board has no unpopulated parts, the PCB is definitely a different version.
In the centre is a Microchip PIC16C622 microcontroller, the OTP version in this case for cost reductions. (I may try reading the binary from this chip in the future, chances are it’s code protected though).
Below the micro is an NXP PCF8577C 32-segment LCD controller, this has an I²C interface to the PIC.
The temperature control function on these heaters is done via applying a resistance to one of the control lines, between 1750Ω-2180Ω, ±80Ω. (Very odd values these, not to mention no standard components can create this range easily, bloody engineers >_<). This is accomplished in hardware with a BU2092F I²C shift register from Rohm, which is connected to a bank of resistors. The microcontroller will switch combinations of these into the circuit to get the range of resistances required.
The rest of the circuit is local power regulation & filtering.

Controller PCB Front
Controller PCB Front

There’s not much on the other side of the PCB, just the LCD itself & the contacts for the buttons.

Posted on 2 Comments

Maplin 600W “Modified Sine” Power Inverter

Maplin 600W Inverter
Maplin 600W Inverter

I’m no fan of power inverters. In my experience they’re horrifically inefficient, have power appetites that make engine starter motors look like electric toothbrushes & reduce the life expectancy of lead-acid batteries to no more than a few days.
However I have decided to do a little analysis on a cheapo “600W” model that Maplin Electronics sells.

Cover Removed
Cover Removed

After a serious amount of metallic abuse, the bottom cover eventually came off. The sheet of steel used to close the bottom of the aluminium extrusion was wedged into place with what was probably a 10 ton hydraulic press.
As can be seen from the PCB, there’s no massive 50Hz power transformer, but a pair of high frequency switching transformers. Obviously this is to lighten the weight & the cost of the magnetics, but it does nothing for the quality of the AC output waveform.

DC Input End
DC Input End

The 12v DC from the battery comes in on very heavy 8-gauge cables, this device is fused at 75A!

DC Fuses
DC Fuses

Here’s the fusing arrangement on the DC input stage, just 3 standard blade-type automotive fuses. Interestingly, these are very difficult to get at without a large hammer & some swearing, so I imagine if the user manages to blow these Maplin just expect the device to be thrown out.

Input DC-DC Switching MOSFETs
Input DC-DC Switching MOSFETs

On the input side, the DC is switched into the pair of transformers to create a bipolar high voltage DC supply.

High Voltage Rectifiers
High Voltage Rectifiers

The large rectifier diodes on the outputs of the transformers feed into the 400v 100µF smoothing capacitors.
As mains AC is obviously a bipolar waveform, I’m guessing this is generating a ±150v DC supply.

Output MOSFETs
Output MOSFETs

After the high voltage is rectified & smoothed, it’s switched through 4 more MOSFETs on the other side of the PCB to create the main AC output.

The label states this is a modified-sine output, so I’d expect something on the scope that looks like this:

Inverter Waveforms
Inverter Waveforms

Modified-sine doesn’t look as bad as just a pure square output, but I suspect it’s a little hard on inductive loads & rectifiers.

However, after connecting the scope, here’s the actual waveform:

Actual Waveform
Actual Waveform

It’s horrific. It’s not even symmetrical. There isn’t even a true “neutral” either. The same waveform (in antiphase) is on the other mains socket terminal. This gives an RMS output voltage of 284v. Needless to say I didn’t try it under load, as I don’t possess anything I don’t mind destroying. (This is when incandescent lamps are *really* useful. Bloody EU ;)).

About the only thing that it’s accurate at reproducing is the 50Hz output, which it does pretty damn well.

System Microcontroller
System Microcontroller

As is usual these days, the whole system is controlled via a microcontroller.

Posted on 6 Comments

Eberspacher Tent Heating System

The "Tenterspacher"
The “Tenterspacher”

I go camping on a regular basis here in the UK, and often even in summer it’s horribly cold at night in a field somewhere in the middle of Leicestershire. This doesn’t go too well with my severe aversion to being cold.
For the past several years I’ve used a Tilley lamp for some heat & light while at festivals & general camping, but it’s heat output is less than stellar when used in a 6-man tent.

An Eberspacher diesel heater was what was required for the job. Above is the unit as it’s built at the moment – I’ve used an old D1LCC 1.8kW heater that was recently decommissioned from nb Tanya Louise, as it’s getting a bit funny about what kind of fuel it’ll run on in it’s old age. It’ll work perfectly well on kerosene though – a fuel I already take with me camping for the Tilley.

It’s mounted on a base box, which is a repurposed steel electrical junction box that saw a previous life containing a 3-phase fan motor controller.

Data Plate
Data Plate

Here’s the info on the heater unit itself. Drawing 22W of power at 12v I’ll be getting 1.8kW of heat output – sounds good to me.

 

Box Internals
Box Internals

Here’s a view into the base box before the circulation fans were fitted, in early prototype stage. I used a small toroid as a clunk on the end of the rubber fuel line 😉

Support Components
Support Components

After a few bits from the Great eBay arrived, here’s the internals of the base unit at present. The fuel tank is a repurposed 2L fridge water container – made of tough HDPE so it’s fuel resistant.
The fuel pump is mounted on the left side next to the tank – having been wrapped in some foam to deaden the continual ticking noise it creates. The exhaust & it’s silencer are mounted at the rear, the silencer being retained by a surplus rubber shock mount. Luckily the exhaust systems on these heaters don’t get particularly hot, so the rubber doesn’t melt.
The exhaust outlet is routed through the frame, to be attached to an external hose. I don’t want combustion gases in the tent with me!

Standard Eberspacher silencers also aren’t gas-tight from the factory – they’re designed to be used in the open on the underframe of a vehicle, so I’ve covered all the seams in aluminium tape to make the system airtight.

Ventilation
Ventilation

To make sure that the support components don’t get overheated with the exhaust being in such close proximity, and to pull a little more heat out of the system, a pair of slow-running 80mm fans has been fitted to the end of the box. These blow enough air through to give a nice warm breeze from the vents on the other end of the base.

Fuel Tank
Fuel Tank

The tank I’ve used just so happened to be the perfect size to fit into the base box, and to tap the fuel off a bulkhead fitting was put into the top of the tank, with a dip tube on the other side. The fuel line itself is tiny – only 4mm.
If the specifications from Eberspacher are to be believed, 2L of fuel on board will allow the system to run for about 8 hours on full power, or 16 hours on minimum power.

Being inside the base, refuelling is a little awkward at the moment, the heater has to completely cool before the exhaust can be detached without receiving a burn, so I’ll be building in a fuel transfer system from an external jerry can later to automate the process – this will also help to avoid messy fuel spills.

More to come when the rest of the system is worked out!

73s for now!

Posted on Leave a comment

eBay Mini Gear Pump Teardown

Mini Pump
Mini Pump

I got one of these to test since I’ve been in need of some small DC pumps for fluid transfer use. At £2 I can definitely afford to experiment.

DC Motor
DC Motor

On the eBay listing, these pumps are rated at 3-12v DC, (I thought that was a bit wide of an operating range), I looked up the motor, an RS-360SH on Mabuchi’s website, they only have models in this range rated at 7.2v & 24v. Judging by the size of the windings on the armature & the fact that after a few minutes operation on 12v it gets rather hot, I’m going to say this is the 7.2v motor.

Pump Gears
Pump Gears

Removing the screws releases the end cover & the pair of gears inside. This operates like any other hydraulic gear motor, albeit with much wider tolerances. It has no capability to hold pressure when the power is removed, and can be blown through easily.
Flow & pressure under power are quite good for the pump’s size, even though it’s noisy as hell.

Posted on Leave a comment

Totally Wicked Forza / JoyeTech eVIC 60W Teardown

Display
Display

I’ve been a vaper now for many years, after giving up the evil weed that is tobacco. Here’s my latest acquisition in the vaping world, the JoyeTech eVIC 60W. This one is branded by Totally Wicked as the Forza VT60.

18650 Cell
18650 Cell

Powered by a single 18650 Li-Ion cell, this one is a Sony VTC4 series, 2100mAh.

Under the battery a pair of screws hold the electronics in the main cast alloy casing.

OLED Display
OLED Display

After removing the screws, the entire internal assembly comes out of the case, here’s the top of the PCB with the large OLED display in the centre.

USB Jack
USB Jack

On the right side of the board is the USB jack for charging & firmware updates. The adjustment buttons are also at this end.

Output
Output

On the left side of the board is the main output connector & the fire button. Unlike many eCigs I’ve torn down before, the wiring in this one is very beefy – it has to be to handle the high currents used with some atomizers – up to 10A.

PCB Reverse
PCB Reverse

Removing the board from the battery holder shows the main power circuitry & MCU. The aluminium heatsink is thermally bonded to the switching MOSFETs, a pair under each end. The switching inductor is under the gap in the centre of the heatsink.

DC-DC Converter
DC-DC Converter

A close up of the heatsink shows the very slim inductor under the heatsink.

Microcontroller
Microcontroller

The main MCU in this unit has a very strange part number, which I’ve been unable to find information on, but it’s probably 8081 based.

Posted on Leave a comment

ViewSonic VA2232W-LED Monitor 12v Conversion

ID Label
ID Label

On the quest to get things on board replaced that are heavy users of power, the monitor in the main cabin was next. The original CCFL-backlit monitor was very heavy on 12v power, at 5A. This meant falling asleep watching TV would result in severely flattened batteries.

Replacement with a suitable LED-backlit monitor was definitely required. The cheapest on eBay was a ViewSonic VA2232W-LED, so I took to work converting it from 240v to 12v operation.

Back Cover Removed
Back Cover Removed

There are no screws holding these monitors together, so a spudger & frequent swearing got the back off. The shield holding the circuitry is also not screwed down, only attached to the back of the LCD panel with aluminium shielding tape.

Power PCB Trackside
Power PCB Trackside

Once the tape has been cut, the main power board is accessible. The large IC on the left is the main backlight LED driver.

In this case the monitor requires a pair of rails from the supply, 18.5v for the backlight circuitry & 5v for the logic.

DC-DC Regulators
DC-DC Regulators

A pair of DC-DC converters has been fitted in the small space between the power & control boards.

PCB Connection Points
PCB Connection Points

To save me some work & keep maximum compatibility, I’ve not modified the existing supply, just attached the new DC-DC converter outputs onto the corresponding outputs of the factory PSU. The 12v input leads are routed out of the same gap as the mains IEC connector, with some hot glue over the mains input solder points to provide some more insulation.

Wiring Tidied
Wiring Tidied

The wiring is tidied up with hot glue so the back cover will go back on.

Total current draw at 12v is 1.4A.

Posted on Leave a comment

Electronic Lighter – eBay Freebie

With a recent order from a Chinese seller on eBay, this little gadget was included in the package as a freebie:

Electronic Lighter
Electronic Lighter

I’ve not smoked for a long time, so I’m not too sure what use I’m going to find for this device, but it’s an electronic lighter!

Pyromaniac Mode
Pyromaniac Mode

Pushing the slider forward reveals a red-hot heater, mounted in the plastic (!) frame.

Charging Mode
Charging Mode

Pushing the other way reveals a USB port to charge the internal battery.

Core Removed
Core Removed

A couple of screws releases the end cap from the cover & the entire core unit slides out. Like all Chinese toys it’s made of the cheapest plastic imaginable, not such a good thing when heat is involved.

Heating Element
Heating Element

The element itself is a simple coil of Nichrome wire, crimped to a pair of brass terminals. The base the heater & it’s terminals are mounted to is actually ceramic – the surround though that this ceramic pill clips into is just the same cheap plastic. Luckily, the element only remains on for a few seconds on each button push, there’s no way to keep it on & start an in-pocket fire, as far as I can see.

Main PCB
Main PCB

The main PCB clips out of the back of the core frame, the large pair of tinned pads on the left connect to the heater, the control IC has no numbering of any kind, but considering the behaviour of the device it’s most likely a standard eCig control IC.

LiPo Cell
LiPo Cell

The other side of the board has the USB port on the right, the Lithium Polymer cell in the centre, and the power button on the left. The cell itself also has no marking, but I’m guessing a couple hundred mAh from the physical size.

 

Posted on Leave a comment

Cheap Lithium Polymer Battery Packs

In the past, I’ve used RC type LiPo packs for my mobile power requirements, but these tend to be a bit bulky, since they’re designed for very high discharge current capability – powering large motors in models is a heavy job.

I recently came across some Samsung Galaxy Tab 10.1 battery packs on eBay very cheaply, at £2.95 a piece. For this price I get 6800mAh of capacity at 4.2v, for my 12v requirements, 3 packs must be connected in series, for a total output of 12.6v fully charged.

For an initial pack, I got 9 of these units, to be connected in 3 sets of 3 to make 20Ah total capacity.There are no control electronics built into these batteries – it’s simply a pair of 3400mAh cells connected in parallel through internal polyfuses, and an ID EEPROM for the Tab to identify the battery.
This means I can just bring the cell connections together with the original PCB, without having to mess with the welded cell tabs.

Battery Pack
Battery Pack

Here’s the pack with it’s cell connections finished & a lithium BCM connected. This chemistry requires close control of voltages to remain stable, and with a pack this large, a thermal runaway would be catastrophic.

Cell Links
Cell Links

The OEM battery connector has been removed, and my series-parallel cell connections are soldered on, with extra lead-outs for balancing the pack. This was the most time-consuming part of the build.

If all goes well with the life of this pack for utility use, I’ll be building another 5 of these, for a total capacity of 120Ah. This will be extremely useful for portable use, as the weight is about half that of an equivalent lead-acid.

Posted on Leave a comment

nb Tanya Louise – Compressor Install

Compressed air is a rather useful power source, especially when all maintenance is done by the on board crew instead of by boatyards.

Screwfix had a good deal on a 50L 3.5CFM air compressor, to save space this has been permanently mounted in a free space & air will be piped to where it is needed from a central point.

Because of the total height of the machine, the compressor itself has been unbolted from the tank, a copper line connecting the two back together at a larger distance.

Bearers
Bearers

In one of the very few free spaces available, under a bunk. A pair of timbers has been screwed to the floor to support the tank.

Tank Installed
Tank Installed

The tank is strapped to the wooden supports with a pair of ratchet straps, the compressor itself can be seen just behind the tank. The copper line on the top of the tank is going back to be connected to the compressor outlet.

Air Fittings
Air Fittings

Compressor control remains on top of the tank, the pressure switch & relief valve centre. After an isolation valve, the feed splits, the regulator installed will be feeding the air horn with 20PSI, replacing the existing automotive-style 12v air pump. The currently open fitting will be routed to a quick connect on the bulkhead. This will be accessible from the front deck, an air hose can be fitted to get a supply anywhere on board.

More to come when the rest of the system gets installed!

73s for now.

Posted on Leave a comment

DIY SMPS Fan Controller

Now the controllers have arrived, I can rejig the supplies to have proper thermal control on their cooling.

Changes Overview
Changes Overview

Here’s the top off the PSU. The board has been added to the back panel, getting it’s 12v supply from the cable that originally fed the fan directly. Luckily there was just enough length on the temperature probe to fit it to the output rectifier heatsink without modification.

To connect to the standard 4-pin headers on the controller, I’ve spliced on a PC fan extension cable, as these fans spent their previous lives in servers, with odd custom connectors.

Fan Controller
Fan Controller

Here’s the controller itself, the temperature probe is inserted between the main transformer & the rectifier heatsink.
I’ve set the controller to start accelerating the fan at 50°C, with full speed at 70°C.

Full Load Test
Full Load Test

Under a full load test for 1 hour, the fan didn’t even speed up past about 40% of full power. The very high airflow from these fans is doing an excellent job of keeping the supply cool. Previously the entire case was very hot to the touch, now everything is cool & just a hint of warm air exits the vents. As the fan never runs at full speed, the noise isn’t too deafening, and immediately spools back down to minimum power when the load is removed.

Posted on 7 Comments

Maplin/Refrakta XR-E LED Torch

Following on from the teardown & analysis of the charger, here’s the torch itself under the spotlight.

LED Torch
LED Torch

Here’s the torch itself, it’s a sturdy device, made of aluminium. Power is provided by a single 18650 Li-Ion cell.

Charging Port
Charging Port

Here’s the charging port on the torch, there’s no electronics in here for controlling the charge, the socket is simply connected directly to the Li-Ion cell, and requires a proper external charger.

LED Pill
LED Pill

Unscrewing the lens gives access to the LED core, this also unscrews from the torch body itself, leaving the power switch & the battery in the body.

LED Module
LED Module

Unscrewing the aluminised plastic reflector reveals the LED itself. Being a new device, I expected an XM-L or XM-L2 Cree LED in here, but it’s actually an XR-E model, a significantly older technology, rated at max 1A of drive current.

LED Back
LED Back

Popping the control PCB out from the pill reveals a lot of empty space, but the back of the LED is completely covered by a heatsinking plate, which is conducting heat to the main body of the torch.

Control PCB
Control PCB

Not much to see on the control PCB, just a bunch of limiting resistors, and a multi-mode LED driver IC in a SOT-23 package. There’s no proper constant-current LED driver, and as the battery discharges the torch will dim, until the low voltage cutout on the cell turns things off completely.

Posted on Leave a comment

DIY SMPS Fan Speed Control – The Controllers

Finally, after a couple of weeks wait time, the fan controllers for the power supplies have arrived. They’re small boards, which is good for the small space left inside the case of the supply.

Controller Boards
Controller Boards

Here they are. I’m not certain what the pair of potentiometers are for – there’s no mention of them in the documentation. Possibly for calibration.
Beepers are supplied so an alarm can be heard if the fan fails – very useful for this application.

Controller Closeup
Controller Closeup

Here’s a closeup of the PCB. Options are set with the DIP switch bank on the left, details for that below. The main IC is a STM8S103F3 flash microcontroller.

Temperature Probe
Temperature Probe

The only issue at the moment is that the temperature probe leads are much too short. I’ll have to make a small modification to get enough length here.

 

 

Here’s all the details on the boards, more for future reference when they undoubtedly vanish from eBay 😉

Specifications

Working voltage:DC12V

Circuit load capacity: maximum current per output 5A, the bus currents up 9A

Output Range: The first channel 20% -100%, or 40% -100% (TFL = ON)
The second channel and the third channel 10% -100%

(Note: Above range only for PWM range, the actual control effect will vary depending on the fan.)

Temperature probe parameters: 50K B = 3950

Thermostat temperature zone error: error depending on the temperature probe, generally 3-5%

Stall alarm minimum speed: 700-800 rpm

 

Function setting switch Description:

TFL (No. 1): The lowest temperature channel PWM setting, when ON state FAN1 PWM minimum is 40%, when OFF the minimum PWM of FAN1 is 20%.

TP1 TP2 (No. 2,3): Temperature channel control temperature zones are interpreted as follows (need to used with the temperature probe):

 

TP1  TP2 Accelerating temperature Full speed temperature
OFF OFF 35℃ 45℃
ON OFF 40℃ 55℃
OFF ON 50℃ 70℃
ON ON 60℃ 90℃

 

When the temperature lower than the accelerated temperature, then output at the minimum rotation speed; when it exceed over the full temperature, then always output at full speed.

BF1 BF2 (No. 4,5): corresponds FAN1 FAN2 stall alarm function switch, when the corresponding open channel fan break down, the controller will alarm with soundand light (works with buzzle), alarm will automatically eliminated when the fan is rotated recovery . If BF1 and BF2 both are open (ON), the FAN1, FAN2 have any one or both stops, the controller will alarm!