TV upgrade – MER optimisation

At TV upgrade I reported a change in TV antenna pointing to a different and distant transmitter, and gave a Spectrum Analyser plot at the main TV receiver.

At that time, I adjusted the antenna accurately (within 1°) based on compass heading, but antennas are not perfect and two significant path obstructions may have bearing on best signal.

I could have run up and down the ladder making small adjustments and observing amplitude or better, RF S/N on the Spectrum Analyser but that is tedious and suboptimal so I purchased a DVB signal analyser.

Importantly, a good DVB analyser gives measurement of not just signal strength, but carrier to noise (C/N) ratio (which is actually RF S/N), Bit Error Rate (BER) and Modulation Error Ratio (MER), the last two very important statistics in optimisation and validation and not available on an ordinary Spectrum Analyser.

MER is calculated as the sum of the squares of the magnitudes of the ideal symbol vectors is divided by the sum of the squares of the magnitudes of the symbol error vectors. The result, expressed as a power ratio in dB, is defined as the Modulation Error Ratio (MER).

MER is a good overall single statistic for quality, but BER is more sensitive to occasional errors, so they are both important.

satlink01

Above, the DVB analyser (the red device) enables a view of measurements whilst adjusting the antenna. The analyser here is connected to the masthead amp output and of course powers the masthead amp. Continue reading TV upgrade – MER optimisation

Coil32 inductance calculator

A recent online posting gave unequivocal recommendation for the Coil32 Inductance Calculator for application to a ferrite toroidal HF current balun.

Always interested in these things, I tried to download it to evaluate it but there was rigmorol to create an account and aware that I have never downloaded a calculator that handled that specific problem at all well, I was reluctant.

They do however have some online calculators that are supposed to use the same algorithms and methods as the downloadable software, so lets review the one for a toroidal ferrite inductor.

screenshot-07_11_16-16_21_15

Above is the data entry form, and warning bells sound. The “releative magnetic permeability” field is a simple scalar quantity, but the permeability of most ferrites at HF needs to be considered as a complex value (ie having real and imaginary components). Continue reading Coil32 inductance calculator

TV upgrade

The restack of TV channels, and then the allocation of spectrum immediately adjacent to a 4G mobile site that is 1km away and directly in line with Knights Hill (30km) caused me to rethink our TV source and switched to Mt Gibraltar (5km) to escape the 4G interference.

For whatever reason, the signal from Mt Gibraltar has dropped in level and is intermittently very inconsistent.

So, it is back to Knight’s Hill with a LTE filter to try to alleviate the interference from the in-line 4G site.

tv

Above is the received channels at the TV set with a 6dB 75/50 pad inline. After the last restack, the five desired are now at least 90MHz lower than the edge of the 700MHz LTE (4G) allocation, and with an LTE filter in the masthead amplifier, it seems interference is not noticeable. Signal quality reported by the TVs is consistently 100%.

The spectrum analyser plot underestimates RF S/N due to the system noise floor.

The channels used are 35 (ABC),36 (WIN),37 (CTC),38 (CBN),39 (SBS), all 250kW. Ch 35 and 39 are on the BA tower, the others on the WIN tower.

If only there was something worth watching!

Small signal diode characteristics

We often use diode detectors at microamp currents, and the question arises as to the type of diode best suited to sensitive detectors.

Setting aside zero bias Schottky diodes which are a topic in themselves, the choice is typically between commonly available germanium, silicon and Schottky signal diodes.

clip-234

Above is a plot of the I,V characteristic of four common signal diodes at currents up to 1mA. It can be seen that at currents below 600µA, the forward voltage drop of the humble 1N34A germanium diode is lower than the others. The 1N270 is an alternative if you really need its higher breakdown voltage. Both of these diodes are reasonably easy to obtain, and cheap at that.

References

 

AD9850 / AD9851 initialisation using PllLdr

A note on using PllLdr with AD9850/51 DDS chips.

PllLdr is a generic microcontroller to load a PLL chip’s configuration registers using SPI. SPI is used by many PLL and DDS chips, data format and content varies from chip to chip.

ad5890module

The AD9850 powers up in parallel load mode, and AD gives advice on how to get it into serial load mode (as you would use with PllLdr). A slightly briefer method seems to work reliably and is described here. Continue reading AD9850 / AD9851 initialisation using PllLdr

ADF4351 / PllLdr checkout

PllLdr is a generic microcontroller to load a PLL chip’s configuration registers using SPI. SPI is used by many PLL and DDS chips, data format and content varies from chip to chip.

This article documents checkout on an ADF4351 PLL chip. The ADF4351 is a wideband INT-N / FRAC-N synthesiser with integrated VCO, output covers 36-4400MHz (continuous).

The test was made on an inexpensive module purchased on eBay for about A$33 posted.

ads4351-pllldr01

Above is the test frame. At the left is a PllLdr prototype running on 5V, then a 4 channel 5V/3.3V  level converter, the ADF4351 module and at the right a power supply board. The level converter is not needed if the PllLdr chip was run on 3.3V, it was used to test a ‘worst case’ scenario.

adf4351-01

Above, a close up of the board.

adf4351-02

As can be seen, the connectors are not designed for the 0.8mm PCB used, and the right hand connector has not been connected to the track. Chinese ‘quality’.

The onboard 25MHz crystal oscillator was used as the reference, but a 10MHz reference from a GPSDO could be used for high accuracy. Continue reading ADF4351 / PllLdr checkout

Toshiba alkaline AA leakage problems

I have used Toshiba alkaline cells in several sizes for many years (decades) and had not encountered one leaked cell… however in the last few months I have found 8 AA cells that have leaked in different devices.

The leakage has always had the same failure.

toshibaaa03Above is a view of the -ve end of the battery, ground through to expose the inner structure.

The failed batteries have leaked corrosive electrolyte, and they have all split around the circumference of the battery in the region indicated by the red arrow above. The split is common half way or more around the cell, the green seal and remnant of the rolled over case is  there, split away from the main case and covered in corrosive electrolyte residual.

This is not a failure of the green seal material, but rather the case fails.

It fails either due to internal corrosion, os weakness of the forming process. It is not clear that this area should be exposed to electrolyte anyway, so the corrosion might result from some other internal failure that releases electrolyte.

Enough reason to remove them from all devices and NEVER use these cells again.

Fan controlled by humidity sensor – pre implementation data gathering

This article documents measurements of temperature and relative humidity (RH) over 10 days prior to implementing the fan solution to provide a baseline for designing the Fan controlled by humidity sensor.

A RC-4HC datalogger was used to collect temperature and RH measurements over 10 days which included a range of late winter weather, some rain, some fine clear days. The logger was located at 1.5m above floor level in the shed in a relatively clear spot in the middle of the area..

Screenshot - 22_08_16 , 15_53_17

Above is a chart of temperature and RH. The daily RH peaks are typically between 08:00 and 09:30, and pretty much coincide with the minimum observed temperature. There is clearly a lag from outside temperature which would tend to be minimum a few hours earlier, and a lower minimum (there were plenty of frosty days in the sample set). Continue reading Fan controlled by humidity sensor – pre implementation data gathering

Time to get some experience with 32bit microcontrollers – some progress

At Time to get some experience with 32bit microcontrollers I wrote that after almost 50 years working with 8bit microcomputers and microcontrollers, I thought it about time to get my hands dirty on some 32bit microcontrollers.

This article reports some work in the STM stream.

I abondoned the ST Discovery board in favour of a low cost basic ST32F103 development board costing about $4 on eBay. The chip is a 32bit microcontroller clocked at 72MHz.

As a learning vehicle, I decided to implement the functionality contained in Arduino thermistor thermometer – a tutorial.

The development environment is Eclipse with the GNU ARM toolchain, a debugger probe, the basic development board, and a 1602 LCD display with I2C backpack and an inexpensive CP2102 USB RS232-TTL interface.

ST32F103-d01

Above is the working trial. The GDB debugger allows On Chip Debugging (OCD).
Continue reading Time to get some experience with 32bit microcontrollers – some progress

Fan controlled by humidity sensor – design technique

This article gives an outline of the process used in designing the Fan controlled by humidity sensor to use my Generic heating / cooling controller design (hcctl).

Arduino thermistor thermometer – a tutorial gave a method for designing a thermometer based on a formula predicting the behaviour of the sensor. This article explains a different approach where that is not possible.

HDS10-02

Above is a characteristic from the manufacturer’s data.

The curves to no lend themselves to simple curve fits, so a cubic spine interpolation will be made based on key points from the curve.

Four our purposes, the mean curve (green) is sufficient for design.

Screenshot - 24_07_16 , 08_16_07

 

Above, the mean curve was digitised to capture the shape of the curve, 17 points were used.
Continue reading Fan controlled by humidity sensor – design technique