Page 1 of 1

PowerSDR mRX PS 3.4.1 released

Posted: Fri Jun 02, 2017 4:00 pm
by w5wc
Greetings All,

PowerSDR mRX 3.4.1 is a very significant release. There's lots of new functionality, some major enhancements, and a few fixes. Changes are described below. Enjoy the release!

Download here:

Doug, W5WC
Chris, W2PA
Warren, NR0V

Database Enhancements that you've ALL been waiting for! (Courtesy of Chris, W2PA)

To make it easier to retain settings from one release to the next, the Import Database function has been re-written. You no longer have to re-create your settings, either in the main window or in the various Setup options, when you install a new version of OpenSDR-PowerSDR mRX PS.

When you start up a new release for the first time, the program will detect that your database file was created by a previous version and attempt to create a new database version from it. The first thing that happens is a database reset, so that you start with a fresh one that's completely valid for the current release, and then the program closes as always for a reset. When you re-start it, if the old database file is intact and was working with the previous release, it should import fine and a pop-up window will tell you it succeeded. When you close this info window by clicking "OK" the program will start-up normally and have all your previous settings and options, looking just like it did before you upgraded to the new version. The old version of your database file is saved unchanged in the DB_Archive folder, and a new database.xml file replaces it in same place it was before. There should no longer be any need for Setup window screen shots.

If desired, you can still open the Setup window, manually reset the database using the "Reset Database" button, and then import another valid database file by clicking the "Import Database" button, or start personalizing from scratch as before.

The new database importer also checks for badly corrupted database files and rejects them, directing the user to reset and start over, or try importing another database file that is known to have functioned in the past. In most cases, even with a very old database file, at least some of the previous settings and options will be imported.

In addition to handling complete database files created in an old release, the new Import Database function in Setup lets you import *partial* databases, too. This means if you have a database file that contains a subset of settings or options, the Import function will simply add them to what is already present in the running database (still requiring a re-start, as usual). For example, if you have a database (XML) file containing a single Transmit Profile definition, you can send it to a friend and they can import it so they can use your customized profile too.

Therefore, to support this kind of TXProfile sharing, there is also a new button in the Setup - Transmit tab labeled "Export Current Profile." When clicked, it produces this kind of XML file containing only the currently selected Transmit Profile. The file will be stored in the same directory where your database.xml file is located, and given a file name that's the same as the exported transmit profile's name. You can then send it to another ham for import into their own database using the Import Profile button in Setup.

To summarize, the following controls in the Setup - Transmit tab support working with transmit profiles and databases:
1) The "Profiles" section at the upper left, where you can select which profile is the current one from your personal collection. This is where you can also save a profile you've just set up, under a new name, or delete one you no longer need.
2) The "More Profiles" section at the upper right. When you check the "More Profiles" checkbox, you get a scrollable list of additional default profiles that come with the installation. You can then bring the one you highlight (click on) into your own group of profiles (see #1) by clicking the "Include" button just below this list.
3) At the center extreme right side is a new button labeled "Export Current Profile" that you can use to export the currently active transmit profile (see #1) to send to someone or archive for yourself.
4) At lower left are three Database buttons that operate as before, except the "Import Database" function can now be used to import transmit profiles that were produced by the Export button - either by you or someone else. (These three buttons appear no matter what tab you've selected in setup.)

In addition to using Setup, you can select which of your saved profiles is to be used as the current (operational) profile in the main window using the pull-down list at lower right near the other audio controls, which appears when a voice mode (e.g. SSB, DSB, AM, or FM) is selected.

To export a transmit profile:
1) Click the Setup menu item to bring up the Setup window, and select the Transmit tab.
2) Select the profile you want to export using the "Profiles" pull-down list at upper left.
3) Click the "Export Current Profile" button at center, extreme right.
4) A file with the same name as the profile is written in your database directory

To import a transmit profile:
1) Click the Setup menu item to bring up the Setup window, and select the Transmit tab.
2) Click the "Import Database" button at lower left.
3) Select the database file containing the profile you want to import, and click OK
4) If the import is successful, you will be notified that the program will shut down.
5) Re-start OpenSDR-PowerSDR mRX PS.
6) The newly imported profile will appear as an additional choice in the Profiles pull-down list in Setup-Transmit.

New Transmit Modes

For some time, on the DSP => AM/SAM tab in Setup, you have been able to select to receive only one sideband when operating in SAM mode. This is useful to eliminate interference from nearby stations on one side or the other of your QSO. Now, you have a similar capability for transmit! On this same tab, you can select to transmit both sidebands (normal AM/SAM transmission) or only one of the sidebands, Upper or Lower, when operating in AM and SAM modes.

New Audio Tools

Do you have a rack of expensive audio equipment that you use to process your MIC signal before feeding it into your radio? Do you run the digital equivalent, a Digital Audio Workstation (DAW), on your computer? Well, if so, you can certainly continue to do that. However, included in this release, we are providing some important audio processing tools that enable you to IMPROVE YOUR TRANSMIT AUDIO and INCREASE THE "DENSITY" AND AVERAGE POWER of your signal without requiring these external options. The new tools are primarily a Phase Rotator and a Continuous Frequency Compressor (CFC). Accompanying these advances are additions to the TX Profiles and enhancements in the TX Equalizer and in ALC Compression control.

Rob, W1AEX, has generously prepared a "CFC Quick Setup Guide" as well as two videos, one focusing on the CFC and another focusing on the Phase Rotator. Thanks Rob!!

The Guide and Videos can be found here:


CFC Video:

Phase Rotator Video:

Also, Scott, WU2O, has developed an excellent block diagram of the TX Chain for reference during setup. It can be found here: TX Chain

* Enhanced TX Equalizer

Equalizer frequencies are now operator-adjustable. Also note, that as it has been since the installation of the WDSP library a few years ago, this is a Continuous Gain Equalizer, NOT a multi-band equalizer. This provides smooth gain transitions across the spectrum as opposed to abrupt transitions at band edges.

* Phase Rotator

In some AM transmitters, it is possible to boost the peak output power by having an asymmetrical audio waveform (positive peaks greater than negative peaks) and modulating to greater than 100% on positive peaks while restricting to <=100% on negative peaks to avoid "pinch-off."

In other AM transmitters and in the case of our digital-up-conversion (DUC) SDRs, this is not the correct approach. We have hard-limits which cannot be exceeded, such as the dynamic range of the DAC. The application of an asymmetrical audio waveform, with positive peaks greater than negative peaks, cannot further increase modulation in the positive direction; it instead REDUCES average power. The correct approach in such cases is to make the audio waveform as symmetrical as possible, i.e., equal positive and negative peaks.

The Phase Rotator makes the audio waveform more symmetrical. It does so by shifting the phase of various audio frequencies by varying amounts, thereby changing the shape of the waveform away from the somewhat typical asymmetrical waveform of human speech. Experimentation and analysis show that a wide range of phase shift versus frequency generally tends to improve symmetry. This wide range leads to an implementation with multiple identical stages, where the total phase shift is the sum of the shifts obtained in each stage. The stages have a specified "corner frequency" where the phase shift of the stage is equal to one-half of the total that the stage provides at the maximum frequency.

While the above explanation focused on AM, note that this feature can be used to increase average power for any speech mode. Note also, however, that it could be detrimental for any digital mode that requires coherent phase versus frequency.

Controls are found on the new DSP => CFC tab in Setup.

* Continuous Frequency Compressor (CFC)

Many audio racks and Digital Audio Workstations provide "Multiband Compressors" which allow specifying different amounts of compression for different audio frequency bands. The CFC offers a superset of that concept where, instead of having multiple bands with constant compression in each band, the compression varies smoothly between frequency points at which it is specified. This concept is similar to the operation of the WDSP Equalizer function; however, in this case, we are varying the compression level across frequencies rather than varying the gain. A Post-CFC Equalizer is also provided as an integral part of this function to provide a final tailoring of the desired audio frequency spectrum.

Use of this function for speech modes can significantly increase the "density" and average power of the signal. Note also that use for digital modes may be detrimental, depending upon the nature of the mode.

Controls are found on the new DSP => CFC tab in Setup.

* ALC Compression Control

On the DSP => AGC/ALC tab, you'll now find an "ALC Max Gain" control. Adjusting the gain above 0dB (the default) has a couple purposes: (1) if NOT using COMP/CESSB, it allows you to set the CFC output to peak at ~0dB and still get some compression (which is often desirable) in the ALC stage, and (2) if USING COMP/CESSB, it allows you to get some ALC compression even though the output of those stages does not exceed ~0dB.

* CESSB Reminder

Just as a reminder, for quite some time we have had available a CESSB Overshoot Control function. This is yet another feature to increase average transmitted power at the same peak power. The CESSB algorithm was published by David Herschberger, W9GR, in the NOV/DEC 2014 issue of QEX. Dave's focus was on SSB transmission. However, in our implementation, we support its use in all voice modes. NOTE THAT A "LINEAR PHASE" TRANSMIT FILTER MUST BE SELECTED FOR THIS FUNCTION TO OPERATE PROPERLY.

This can be enabled on the Transmit tab in Setup. Note that COMP must be enabled (even at 0dB compression if you prefer) for this feature to function.

* New TX Profiles

Need some help getting all these new audio controls set up? Some TX Profiles are provided to give you some starting points. Specifically, courtesy of Rob, W1AEX, four new TX Profiles are included with the PowerSDR mRX application. These are:
- SSB 2.8_CFC (2.8k wide - very helpful on 60 meters)
- SSB 3.0_CFC (3.0k wide)
- SSB 3.3_CFC (3.3k wide)
- AM 10_CFC (5k + 5k for 10k total width)

Other Fixes, Changes, and Enhancements

* Four new CAT commands have been added to support the CW Audio Peaking Filter:
-- ZZAP Audio Peaking Filter On/Off
-- ZZAT APF Tune
-- ZZAB APF Bandwidth
-- ZZAA APF Gain

* A change in the format of packets sent out by N1MM+ caused an incompatibility with the FocusMaster feature. This has been fixed.

* The locations of XIT and RIT have been interchanged on the console.

* There is a change in labeling of the CW Break-in checkbox. This change was made so that the label more accurately reflects the actual function of the box. This should eliminate some questions and confusion. The checkbox was previously labeled "Enabled" which would imply either ON or OFF for Break-in. Instead, what this box actually does is to allow you to select either FULL Break-in or SEMI Break-in.

Re: PowerSDR mRX PS 3.4.1 released

Posted: Fri Jun 02, 2017 5:48 pm
by w-u-2-o
All honor to Chris, W2PA, for the database import functionality! This is epic stuff, and a looooong time coming. Chris, you will not be paying for drinks if there are any other PowerSDR mRX users at the bar!

As for the new audio processing capabilities, this isn't just a minor improvement, folks. This is next level sh*t! With this new functionality, there is no other radio, radio software, or ancillary audio devices that can even come close to obtaining the kind of high quality, high performing audio now possible in PowerSDR mRX. With all due respect, not even the W2IHY units will come close. The only way you can get this kind of performance is to have a rack full of pro audio gear, or be using a top quality digital audio workstation application like Pro Tools. The "other guys" will be years catching up to this!

Now, that said, this sort of audio quality does not happen by merely pushing a button. And you can't just turn everything up to "11", either. These controls can be used for good or evil ;) You will need to study and experiment. Rob's videos and sample transmit profiles should help to jump-start you along that path.



Re: PowerSDR mRX PS 3.4.1 released

Posted: Fri Jun 02, 2017 5:54 pm
by w-u-2-o
Here is the block diagram of the audio path:


Re: PowerSDR mRX PS 3.4.1 released

Posted: Fri Jun 02, 2017 5:56 pm
by w-u-2-o
And Rob's videos:

Re: PowerSDR mRX PS 3.4.1 released

Posted: Fri Jun 02, 2017 7:58 pm
by Tony EI7BMB
outstanding stuff guys

Re: PowerSDR mRX PS 3.4.1 released

Posted: Sun Jun 04, 2017 3:16 am
by FM5GB
Hi All !

What an honour to be part of this community.

And what a pleasure to enjoy this software.

Many thanks !

Phil FM5GB

Re: PowerSDR mRX PS 3.4.1 released

Posted: Sun Jun 04, 2017 3:54 am
by Buck
The flow chart of the TX chain is very helpful. I will print it for my reference notebook. Could we get a similar one for the RX chain, please? In particular, I'd like to see where virtual differs from panel Jacks.

Buck ko0y

Re: PowerSDR mRX PS 3.4.1 released

Posted: Sun Jun 04, 2017 11:20 am
by liam
hI Thanks to all for the software working fine on old rev. Anan 100d Win 10 xeon CPU


Re: PowerSDR mRX PS 3.4.1 released

Posted: Sun Jun 04, 2017 12:37 pm
by dmalcolm
Doug, Chris, et al,
Are there plans for a user document for PowerSDR? The latest version of PSDR is very welcome, especially the database import function. The inclusion of changes in the notification email is also welcome. But it seems as if all of these bits and pieces of documentation should be collected in one spot or available as a document. Perhaps this has been done and I missed it.

I have already expressed my gratitude for a job well done, but let me express it again. All of the developers that contribute deserve our high praise.

Re: PowerSDR mRX PS 3.4.1 released

Posted: Mon Jun 05, 2017 11:50 am
by DL1OF
Doug, Chris, Warren and s.o.,

thank You again for the great work!

However i have noticed an unusual behavior of the swr meter that doesn't show any indication below about 5 watt of power out even at very high ratios like 1:5 and more!

Resetting the database did not solve the issue and i don't see such behavior when i use 3.3.15! Has anybody seen the same problem ?

Bernhard , DL1OF

Re: PowerSDR mRX PS 3.4.1 released

Posted: Mon Jun 05, 2017 3:11 pm
by w-u-2-o
Buck--I'm working on a similar block diagram for the receive side. It'll be a few days because it is far more complex than the transmit side. On the receive side there are three different paths that come together on three different outputs. On the transmit side there are two inputs, one path, and only one output.

Dan--unfortunately documentation is an area that has always been very poorly implemented by our community. Remember that Apache Labs effectively only supplies hardware, and the user guides do an OK job of pointing out what all the connections and limitations are, with a little bit of software/firmware support thrown in. Meanwhile, all of the software and firmware comes from a very small group of open source developers that spend nearly all of their time writing and testing software and firmware. This leaves very little time for them to document it. To make this situation even more difficult, the software functionality that has evolved over the last few years is VERY deep and complex, and supporting at least a half dozen models of radios (although they are all very similar). At this point it would take a VERY thick manual, probably no less than 100 pages, to describe every detail of PowerSDR functionality and how to employ it. The task of writing such a thing is now so daunting it is unlikely that anything like that would ever be written. It certainly would be a labor of love!

In the meantime, this forum was formed as a way to capture important snippets of what would ordinarily be in a 100 or 200 page PowerSDR manual. Certainly the tasks that most people have difficulty with have been addressed here and captured in posts, many of the most important of which appear at the top of each sub-forum as "sticky" posts. Don't be shy about reading them, or asking questions. Each question answered in the forum adds to the ad hoc documentation available here.

Bernhard--haven't seen that problem myself, but on the other hand I never tune at less than 10W of drive.



Re: PowerSDR mRX PS 3.4.1 released

Posted: Mon Jun 05, 2017 4:30 pm
by W2PA

Has anyone ever suggested establishing a Wiki to crowd-source documentation? We have the crowd all set. ;-)

Ideally, such a reference could cover everything in the Open HPSDR world, not just the Apache hardware or PowerSDR and its progeny. Yes, I'm aware of the various sources of information out there already - this would be specifically to establish a coherent set of documentation for each software package.

Re: PowerSDR mRX PS 3.4.1 released

Posted: Mon Jun 05, 2017 9:10 pm
by w-u-2-o
W2PA wrote:Has anyone ever suggested establishing a Wiki to crowd-source documentation? We have the crowd all set. ;-)
Hi Chris,

I don't know that anyone has suggested it, although it is a pretty obvious solution. Curating it is, of course, the hard part. We'd need a dedicated team of editors to ensure quality and consistency, i.e. keep things complete, correct and non-redundant.



Re: PowerSDR mRX PS 3.4.1 released

Posted: Tue Jun 13, 2017 12:23 pm
by W2PA
Someone should probably update the main Apache Labs web site. It still points people to 3.3.9.