❌

Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

Reducing QRM (interference) from a Renogy 200 watt (or any other!) portable solar panel system

By: KA7OEI
1 July 2024 at 05:54

Figure 1:
Renogy 200 watt folding panel, in the sun
Click on the image for a larger version.
A year or so ago I got a 200 watt foldable solar panel system.Β  This unit - made by Renogy - consists of two glass panels in metal frames equipped with a sort of "kickstand" assembly to allow it to be angled more favorably with the sun to improve its output.Β  This panel is used when "car camping" to charge the batteries to run the sorts of things that one might bring:Β  Lights, refrigerator, amateur radio transceivers and who knows what else.Β Β 

On that last point, I've done some "in the field" operating on the HF amateur bands while the battery is being charged and noticed that the charge controller (and not the panel itself!) produced a bit of "hash" on the radio - mostly in the form of frequent "birdies" that swished around in frequency as the solar insolation and temperature varied - as well as a general low-level noise at some frequencies.Β  This problem is not specific to the Renogy panel's charge controller, but common to almost any panel+controller combination that you will find.

Nearly all "portable" and RV solar power systems cause QRM:

You will find similar systems built into RVs and campers and these are also well known (notorious, even!) for generating RFI.Β  The techniques described here to quiet interference from these devices applies equally to those as well - but note that one may have to "scale up" the inductors/capacitors to accommodate higher voltages and currents that may be found in those systems.

By placing the solar panel with charge controller and the battery being charged some distance away from the antenna, this interference could be reduced, but that fact that it was even there in the first place annoyed me, so I did what I have done many times before (see the link to other blog entries at the end of this article) and mitigated it by making fairly easy, reversible modifications to the panel's controller.

Portable solar panels and RFI

In my travels, I've been around other users of portable solar panels of various brands and I have yet to find any commercially-available portable panel+controller combination that does NOT produce noticeable RFI on HF/VHF among the half-dozen or so brands that I have checked.Β 

In comparison with most of the others that I've been around with radios, the Renogy is comparatively quiet - producing less overall QRM with fairly long wires between the panel/controller and battery - than the others - but I decided that I could make it even quieter!

Where does the QRM come from?

It is NOT the solar panel itself that produces the radio frequency noise, but rather the charge controller attached to it.

Modern charge controllers electronically convert the (usually higher) voltage from the solar panels down to something closer to the battery voltage and this is typically done using PWM (Pulse Width Modulation) which means that these devices contain high-power oscillators.Β  It's this oscillation/switching action that produces a myriad of harmonics that can extend into the HF spectrum - and even into VHF/UHF!

The "Antenna" in this case consists of two parts of the system as depicted in the drawing below:

Figure 2:
A typical solar charging system showing the separation of the two major components that can radiate interference:Β  The panel itself, connected to the input of the charge controller and the wires and load connected on the output side.
If there is even a slight amount of differential between the two at radio frequencies, the system will radiate.
Click on the image for a larger version.
Β 
In other words:
  • The wires connecting to the load.Β  Typically a battery being charged - which can be connected to other things (e.g. vehicle, inverter, etc.)Β  The wires connecting the panel to these other things - and those devices themselves - act as part of the "antenna" that potentially radiates noise.
  • The solar panel itself.Β  The solar panel consists of large plates of metal - not only the silicon of the panel, but any metal frame and wiring.

The "load" and solar panel constitute two different parts of the charge controller:Β  The panel is connected to the INPUT of the PWM circuitry while the wiring is connected to the OUTPUT of the PWM circuitry, effectively forming a dipole antenna.Β  To a degree, the electrical lengths of these two conductors - which can include power cords or even a vehicle - overall can broadly resonate, affecting certain frequency ranges more than others.

The reason for the generation of the interference is due to the fact that the PWM circuitry (which is operating at a frequency of 10s or 100s of kHz) uses square waves, rich in harmonics.Β  As the voltage input (from the panel) and the output (to the battery/load) are different parts of the PWM circuit, they necessarily have different waveforms on them.

Figure 3:
Charge controller with additional filtering showing added
bifilar-wound chokes on both the input and output leads.
Click on the image for a larger version.

While this device does have some of filtering to provide a degree of input impedance reduction (fairly high capacitance) and smoothing of the PWM waveform of the output (more capacitors and likely some inductance) the degree to which this filtering is implemented is suitable for the purpose of providing clean DC power to the load and maximize power conversion efficiency, this filtering - and likely the controller's circuit board itself - was likely not intended to provide the high degree of RF suppression needed to make it quiet enough to avoid the conduction of RF energy onto its conductors which is then picked up by a nearby receiver.

Containing the RF energy
Β 
As the controller itself is potted with a silicone material, it's not practical to modify it directly to make it RF-quiet - and there is no need to do so:Β  Instead, we must take steps to eliminate any differential RF currents that may exist between DC Input and DC output terminals.

Ferrite alone is NOT the answer!

One may presume that the answer to this problem is the implementation of RF device such as snap-on or toroidal ferrite devices - and you would be partially correct.Β  Any practical inductor - such as that formed by the introduction of a ferrite device - will have rather limited efficacy in quashing RF currents.

Snap-on devices (e.g. those through which a wire passes) have very limited usefulness at HF frequencies (<30 MHz) - especially on the lower bands - as they simply cannot impart a significant amount of reactance in the conductor onto which they are installed.Β  At higher frequencies (VHF, UHF) they can have a greater effect - but their efficacy will be disappointing at HF.

A device that can accommodate multiple turns through its center such as a toroid (or even a larger snap-on device) it may be possible to get up to a few hundred ohms of reactance on a conductor across a fairly wide frequency range - but even this will be capable of reducing the amount of RF by 10-20 dB (2-3 "S" units) at most:Β  Depending on the intensity of the RFI from the solar controller, this may not be enough to quash the interfering energy to inaudibility.

To be sure, it's worth trying just the ferrite devices by themselves to see if - in your situation - it reduces the RF interference from the controller to your satisfaction but remember that the location where you are likely to be using this panel is likely far quieter (RF-wise) than your home QTH:Β  It may seem quiet enough at home but still be noisy in the middle of nowhere.

The addition of capacitors to the circuit can improve the efficacy over ferrite alone by orders of magnitude.Β  Consider the diagram below:

Figure 4:
Diagram, including additional filtering.Β  L1 and L2 are the bifilar chokes seen in Figure 3, above while the capacitors (C1a, C1b, C1c and C2a, C2b and C2c) and their implementation are described below.
Click on the image for a larger version.
Β 
Ferrite devices L1 and L2 are comprised of bifilar-wound inductors on the DC input/output lines, respectively.Β  These inductors will suppress common-mode RF energy that may appear - but these alone are not likely to be quite enough.
Β 
In order to force the RF energy to common mode to maximize L1/L2's effectiveness, capacitors C1a, C1b do so for the "external" connections (e.g. those connected to large devices, long wires) while C2a and C2b do so for any RFI emanating from the controller itself.
Β 
C2c - which is placed between the DC input and output of the charge controller - effectively shunt RF energy differences between the in/out terminals to minimize the differential currents.Β  Figure 3 shows C2a placed between the two positive terminals, but it could have been placed in any combination (+ to -, - to -, etc.) and been just as effective since the capacitors C2a and C2b effectively short the + and - terminals together at RF frequencies.Β  If your OCD bothers you, could could add additional capacitor combinations, but the three shown above for C1 and C2 proved to be adequate.
Β 
The real work for our filtering magic is actually done by C1c.Β  As seen from the diagram it's shunting RF currents that might appear on the "external" sides of L1 and L2 - which will have been significantly reduced in amplitude by L1 and L2 anyway:Β  The low impedance of the C2c at RF (a few ohms) coupled with the high RF impedance of the conductors through L1 and L2 work together to make sure that differential RF currents that might exist between the input and output of the charge controller are minuscule, and thus there is effectively no RF energy that can be radiated.
Figure 5:
Three 0.1uF monolithic capacitors placed across the
controller's terminals (C2a, C2b, C2c).
Click on the image for a larger version.
Β 
Implementation

A glimpse of what was done may be seen in Figure 3.Β  Some 14 AWG paired copper wire (red/black) was wound on two FT140-43 ferrite toroids - about 6 bifilar turns in this case:Β  Individual wires could have been used other than "zip" cord - just be sure that the two parallel conductors are laid in parallel to maximize the effectiveness of the bifilar configuration.Β  Two of these wire/bifilar devices were constructed - one for the DC from the panel and the other for the output to the battery/load.Β  "Spade" lugs were installed on one end of the red/black wires - two lugs per wire/bifilar assembly.Β  (FT240-43 or FT240-31 toroids could also have been used, but the FT140-43 is a fraction of the cost, half the diameter, and perfectly suitable for this application.Β  The FT240 size may be more appropriate if such a filter network is constructed for a higher-current system with larger-gauge wire.)

On the solar controller itself, small 0.1uF, 50 volt monolithic capacitors were installed (C2a, C2b, C2c) to form part of the filter circuitry:Β  Minimal lead length is important for maximum effectiveness.Β  While monolithic capacitors are preferred because they are small (and will fit more easily in tight spaces) and have very low ESR (Effective Series Resistance) one could use disk ceramic capacitors instead.Β  Film/plastic capacitors are less effective at higher frequencies.

Figure 6:
Terminal strip with capacitors C1a, C1b and C1c.
As described, these capacitors do much of the "bypassing"
of RF differential currents between the input and output.
Click on the image for a larger version.

As can be seen from this picture, the terminals are the "clamp" type and are connected in the same manner as the lugs on the cable on the bifilar toroid assembly. - and also note that this "modification" is completely reversible as nothing at all was changed on the controller itself.

The other end of the red/black wires were soldered to a four-position screw terminal strip - similar to the one on the back of the charge controller.Β  As with the terminal strip on the controller, three 0.1uF 50 volt capacitors were soldered (C1a, C1b, C1c) on the back for RF bypassing.Β  It is possible to have connected the capacitors under the clamps as was done on the controller, but soldering them to the back means that they would not be prone to falling out or being lost if the cables were changed.
Β 
With these connections made, the wire on the toroids and the connections to the added terminal strip were covered with "Shoe Goo" - a robust rubber adhesive (used to fix shoes, as the name suggests) both as mean of strain relief and to provide electrical insulation.
Β 
The reader may have noted that we have physically brought together the input/output cables again at this terminal strip - and this was intentional.Β  By keeping the leads with the bifilar inductors as short as possible and then bringing them back together, we can use the shortest-possible leads on our capacitors to effectively "short" the input and output cables together at radio frequencies, making it impossible for the wires to radiate effectively at HF.Β  With this, the RF energy is contained within the area of the charge controller itself and the terminal strip/cables and since this is a very small aperture at HF, it can't radiate effectively and additional metallic shielding is unneeded.
Β 
At VHF/UHF frequencies - where the physical size of the controller+bifilar chokes is a larger proportion of the size of the wavelength (plus the fact that the components used won't work as well at these frequencies) means that some RF energy could radiate, but testing shows that the amount of VHF/UHF RF energy conveyed by the panel and cables was reduced below the point of detection more than a few feet (a meter) or so away from the system.

Spectrum analysis plots

Using a Tiny SA Ultra spectrum analyzer, I coupled the supplied telescoping antenna to the output (battery/load) cable by holding it in parallel with it.Β  While inductive coupling would have been preferable - and more repeatable and sensitive - this quick test gives a general indication of the nature of the energy being emitted by the charge controller and the reduction afforded by the added filtering.

Take a look at the "before" trace with no filtering:

Figure 7:
"Before" (no filtering) analysis plot with the telescoping antenna of the analyzer held against the DC output cord.
Click on the image for a larger version.
Β 
Figure 7 spans from DC to 30 MHz with each vertical division representing 5 MHz.Β  As can be seen, there is a peak of about -90dBm at around 7 MHz (40 meters) and several other peaks across the HF spectrum.
Β 
Figure 8 is the "after" trace with filtering:
Β 
Figure 8:
The same plot/conditions as in Figure 7, except after the described filtering was applied.
While it would have been preferable to have better-coupled to the wires from the panel/controller to measure the RFI, this wasn't done at the time in the interest of time resulting in the upper trace showing ambient (off-the air) signals and some local RFI rather than what the panels are producing.
In tests with a portable radio, however, neither the panel nor the output cable (to the battery/load) carried any audible RF interference after the installation of the filtering.
Click on the image for a larger version.
Β 
Noting the 7 MHz area, we now see that the signal level is around -105dBm - about 15dB lower than in the "before" trace, without filtering - and as we are limited by the background noise energy in this plot, it's likely that the reduction was far more than this.Β Β 
Β 
At the time that these plots were taken, I covered the panel with a moving blanket to "turn off" the solar generation while coupling to the output wire in the same manner as the traces above and there was no difference when I did so compared to the "after" trace of Figure 8.Β  In other words, the filtering reduced the conducted emissions to levels well below the ambient signal level.
Β 
Again, these weren't rigorous tests and not as sensitive as they could have been (particularly at the higher end of the HF spectrum).Β  As the noise floor represents what was in the general area (a slightly RF-noisy location) the plots were unable to resolve the noise floor from the charge controller at higher frequencies that were audible in the field from the power converter, in a truly RF-quiet location.Β  As it would be easy to reverse this modification I may re-do these plots, this time coupling more effectively into the cable to more accurately show the amount of signal reduction.

Conclusion:
Β 
Prior to the modification, getting within several feet/meters of the solar panel with a portable shortwave receiver equipped with SSB revealed drifting "birdies" from the controller's normal operation and holding the antenna against either the panel or the output cable made this orders of magnitude worse.

After the modification these "birdies" were inaudible on th cables:Β  It took holding the portable receiver's antenna within a few inches/cm of the charge controller to hear its operation.Β  By the addition of these nine components (two bifilar inductors, six capacitors and the terminal strip) the RF energy is confined to the (small!) physical space of the controller itself and is no longer being introduced differentially to the panel and output cable, causing it to be unable to radiate effectively at HF, making it very quiet and "Radio Friendly".

While the supplied charge controller for the Renogy panel was a simple PWM type rather than an MPPT (Maximum Power Point Tracking) and is thus somewhat less effective at extracting all-possible energy from it, there is no reason why this sort of filtering could not be applied to that type as well.
Β 
This shows how a typical portable solar panel+charge controller can be made to be RF-quiet and "POTA" or "SOTA" compatible.Β  This (reversible!) modification has rendered this panel completely quiet across the HF spectrum and inaudible on VHF/UHF frequencies as well at distances of more than a few feet (a meter or so) as well.

* * * * *
Related articles:

This page stolen from ka7oei.blogspot.com
Β 
[End]

Making a "Word Metronome" for pacing of speech

By: KA7OEI
31 August 2022 at 01:32

Figure 1:
The completed "Word Metronome".Β  There are two recessed
buttons on the front and the lights on on the left side.
Click on the image for a larger version.
One of the things that my younger brother's job entails is to provide teaching materials - and this often includes some narration.Β  To assure consistency - and to fall within the required timeline - such presentations must be carefully designed in terms of timing to assure that everything that should be said is within the time window of the presentation itself.

Thus, he asked me to make a "word metronome" - a stand-alone device that would provide a visual cue for speaking cadence.Β  The idea wasn't to make the speech robotic and staccato in its nature, but rather providing a mental cue to provide pacing - something that is always a concern when trying to make a given amount of material fit in a specific time window:Β  You don't want to go too fast - and you certainly don't want to be too slow and run over the desired time and, of course, you don't want to randomly change your rate of speech over time - unless there's a dramatic or context-sensitive reason to do so.

To be sure, there are likely phone apps to do this, but I tend to think of a phone as a general-purpose device, not super-well suited for most of the things done with it, so a purpose-built, simple-to-operate device with visual indicators on its side that could just sit on a shelf or desk (rather than a phone, which would have to be propped up) couldn't be beat in terms of ease-of-use.

Circuitry:

The schematic of the Word Metronome is depicted in Figure 2, below:

Figure 2:
Schematic of the "Word Metronome"
(As noted in the text, the LiIon "cell protection" board is not included in the drawing).
Click on the image for a larger version.

This device was built around the PIC16F688, a 14 pin device with a built-in oscillator.Β  This oscillator isn't super-accurate - probably within +/-3% or so - but it's plenty good for this application.

One of the complications of this circuit is that of the LEDs:Β  Of the five LEDs, three of them are of the silicon nitride "blue-green" type (which includes "white" LEDs) and the other two are high-brightness red and yellow - and this mix of LED types poses a problem:Β  How does one maintain consistent brightness over varying voltage.

As seen in Figure 3, below, this unit is powered by a single lithium-ion cell, which can have a voltage ranging from 4.2 volts while on the charger to less than 3 volts when it is (mostly) discharged.Β  What this means is that the range of voltage - at least for the silicon nitride types of LEDs - can range from "more than enough to light it" to "being so dim that you may need to strike a match to see if it's on".Β  For the red and yellow LEDs, which need only a bit above two volts, this isn't quite the issue, but if one used a simple dropping resistor, the LED brightness would change dramatically over the range of voltages available from the battery during its discharge curve.

As one of the goals of this device was to have the LEDs be both of consistent brightness - and to be dimmable -Β  a different approach was required - and this required several bits of circuity and a bit of attention to detail in the programming.

The Charge Pump:

Perhaps the most obvious feature of this circuit is the "Charge Pump".Β  Popularized by the well-known ICL7660 and its many (many!) clones, this type of circuit may also be driven by a microcontroller and implemented using common parts.Β  Like its hardware equivalent, it uses a "flying capacitor" to step up the voltage - specifically, that surrounding Q1 and Q2.Β  In software - at a rate of several kHz - a pulse train is created, and its operation is thus:

  • Let is start by assuming that pin RC4 is set high (which turns off Q1) and pin RA4 is set low (which turns off Q2.)
  • Pin RA4 is set high, turning on Q2, which drags the negative side of capacitor C2 to ground.Β  This capacitor is charged to nearly the power supply voltage (minus the "diode drop") via D1 when this happens.
  • Pin RA4 is then set low and Q2 is turned off.
  • At this point nothing else is done for a brief moment, allowing both transistors to turn themselves off.Β  This very brief pause is necessary as pulling RC4 low the instant RA4 is set low would result in both Q1 and Q2 being on for an instant, causing "shoot through" - a condition where the power supply is momentarily shorted out when both transistors are on, resulting in a loss of efficiency.Β  This "pause" need only be a few hundred nanoseconds, so waiting for a few instruction cycles to go by in the processor is enough.
  • After just a brief moment pin RC4 is pulled low, turning on Q1, which then drags the negative side of C2 high.Β  When this happens the positive side of C2 - which already has (approximately) the power supply voltage is listed to a potential well above that of the power supply voltage.
  • This higher voltage flows through diode D3 and charges capacitor C4, which acts as a reservoir:Β  This voltage on the positive side of C4 is now a volt or so less than twice the battery voltage.
  • Pin RC4 is then pulled high, turning of Q1.
  • There is a brief pause, as described above to prevent "shoot through", before we set RA4 high and turn Q2 on for the next cycle.

It is by this method that we generate a voltage several volts higher than that of the battery voltage, and this gives us a bit of "headroom" in our control of the LED current - and thus the brightness.

Current limiter:

Transistors Q3 and Q4 form a very simple current limiter:Β  In this case it is "upside-down" from the more familiar configuration as it uses PNP transistors - something that I did for no particular reason as the NPN configuration would have been just fine.

Figure 3:
Inside the "Word Metronome".Β  The 18650 LiIon cell is on
the right - a cast-off from an old computer battery pack.Β  The
buttons on the board are in parallel with those on the case and
were used during initial construction/debugging.
Click on the image for a larger version.

This circuit works by monitoring the voltage across R3:Β  If this voltage exceeds the turn-on threshold of Q3 - around 0.6 volts - it will turn on, and when this does it pulls the base voltage, provided by R5, toward Q4's emitter, turning off Q3.Β  By this action, the current will actually come to equilibrium at that which results in about 0.6 volts across R3 - and in this case, Ohm's law tells us that 0.6 volts across 47 ohms implies (0.6/47=0.0128 amps) around 13 milliamps:Β  At room temperature, this current was measured to beΒ  a bit above 14 milliamps - very close to that predicted.

With this current being limited, the voltage of the power supply has very little effect on the current - in this case, that through the LEDs which means that it didn't matter whether the LED was of the 2 or 3 volt type, or the state-of-of charge of the battery:Β  The most that could ever flow through an LED no matter what was 14 milliamps.

With the current fixed in this manner, brightness could be adjusted using PWM (Pulse Width Modulation) techniques.Β  In this method, the duty cycle ("On" time) of the LED is varied to adjust the brightness.Β  If the duty cycle is 100% (on all of the time) the LED will be at maximum brightness, but if the duty cycle is 50% (on half of the time) the LED will be at half-brightness - and so-on.Β  Because the current is held constant, no matter what by the current limiter circuit, we know that the only think that affects brightness of the LED is the duty cycle.

LED multiplexing:

The final aspect of the LED drive circuitry is the fact that the LEDs are all connected in parallel, with transistors Q5-Q9 being used to turn them on.Β  When wiring LEDs in parallel, one must make absolutely sure that each LED is of the exact-same type or else that with the lowest voltage will consume the most current.

In this case, we definitely do NOT have same-type of LEDs (they are ALL different from each other) which means that if we were to turn on two LEDs at once, it's likely that only one of them would illuminate:Β  That would certainly be the case if, say, the red and blue LEDs would turn on:Β  With the red's forward voltage being in the 2.5 volt area, the voltage would be too low for the green, blue or white to even light up.

What this means is that only ONE LED must be turned on at any given instant - but this is fine, considering how the LEDs are used.Β  The red, yellow or green are intended to be on constantly to indicate the current beat rate (100, 130 or 160 BPM, respectively) with the blue LED being flashed to the beat (and the white LED flashing once-per-minute) - but by blanking the "rate" LED (red, yellow or green) LED when we want to flash the blue or white one, we avoid the problem altogether.

Battery charging:

Not shown in the schematic is the USB battery charging circuit.Β  Implementing this was very easy:Β  I just bought some LiIon charger boards from Amazon.Β  These small circuit boards came with a small USB connector (visible in the video, below) and a chip that controlled both charging and "cell protection" - that is, they would disconnect the cell if the battery voltage got too low (below 2.5-2.7 volts) to protect it.Β  Since its use is so straightforward - and covered by others - I'm only mentioning it in passing.

Software:

Because of its familiarity to me, I wrote the code for this device in C using the "PICC" compiler by CCS Computer Systems.Β  As it is my practice, this code was written for the "bare metal" meaning that it interfaces directly with the PIC's built-in peripherals and porting it to other platforms would require a bit of work.

The unit is controlled via two pushbuttons, using the PIC's own pull-up resistors.Β  One button primarily controls the rate while the other sets the brightness level between several steps, and pressing and holding the rate button will turn it off and on.Β  When "off", the processor isn't really off, but rather the internal clock is switched to 31 kHz and the charge pump and LED drivers are turned off, reducing the operating current of the processor to a few microamps at most.

Built into the software, there is a timer that, if there is no button press within 90 minutes or so, will cause the unit to automatically power down.Β  This "auto power off" feature is important as this device makes no noise and it would be very easy to accidentally leave it running.

Below is a short (wordless!) video showing the operation of the "Word Metronome" - enjoy!

Β 


This page stolen from ka7oei.blogspot.com

[END]


❌
❌