2 phase synthesised sinewave generator for synchronous motor drive

Hi,
Beside an audio amp, do you guys use any dedicated design amplifier (instead of an audio amp) ?
I've tested different audio amps, now use LM3886 modules, but I do not think is it ideal. The smaller problem is that it is designed for higher power, but on the other hand when I've tested different audio amps, I found some are prone to "ringing" when driving the relative high impedance, very inductive 24V sync motor.
Can you suggest a dedicated drive for 24V motors? ( or 110V with or without transformer output).
Thanks,
JG
 
Further to the recent addition of frequency ramping (from start and between 33/45rpm frequencies), and following on from some very useful input from Bill (of SG4 fame) and other users, a new Frequency-Dependant-Amplitude (FDA) feature has been added to the firmware.

This is a global setting that scales the output amplitude with the frequency during all modes of operation, primarily intended to allow the current and hence torque to be equalised between the 33 and 45 rpm settings, and during start-up when a frequency ramp is used (for example for permanent-magnet synchronous or BLDC motors).

A new setting 'FDAval' in the 'amplitude' menu page has been added to set the zero-frequency amplitude as a percentage of the maximum amplitude (at 45rpm). The build guide in the first post has been updated with the new menu feature and description. Please request the updated firmware via PM.

FDAval setting (only 3 cases shown for clarity):

1733774929248.png

Some examples:

1733775157823.png 1733775470355.png
 
ever thought of using a renesas greenpak HV SLG47105 ? a hardware only solution to generate 2ch PWM sinewaves, dedicated to motor control. all greenpaks are fun to play with. originally named silego, silicon lego: integrate 15 components in 15 minutes for 15 cents
 
Hi all, I am busy buying the parts for the Supaspin motor control PCB. I see on the BOM that there are separate entries for 100nF (C2, C3, C7, C8) and 0.1 uF (C6) capacitors. In the end they all have the same value: 100nF = 0.1 uF. I see on the picture in the build guide that the 0.1uF are tantalum/ceramic and the 100nF are foil capacitors. The supplier I am buying the capacitors has an MOQ for capacitors, making it more economical to use the same capacitor for both types mentioned in the BOM. An advice on whether I can place the same component for C2, C3, C7, C8 & C6 is highly appreciated.
 
Last edited:
Hi all, I am busy buying the parts for the Supaspin
Hi, if of interest, I used njm4580 instead of Opa2134, think as long as they work with 5V PS most opams will do.
Signal caps : any film or lytic that's right value and size,
Same for decouplers, just ceramic.

Signal with such components from drawer has 0.04% thd, complete overkill for motor drive 😊
 
Hi all, I finally assembled the PCB. I managed to get it working with the original motor from the Music Hall MMF 2.2. I have one issue I cannot resolve. The settings for phase adjustment are default at 30. I can change them to 0, but after a powerdown the phase settings are back at 30. Is there any way I can save the adjusted phase values so they stay at 0 after powering down the PCB?
 
I checked further and found out that only negative values for the phase are reset to 30 after powering down and up. 0 and positive values survive the powercycle. This smells like a bug in the firmware. @richb any way I can support in bug finding and fixing?
 
Last edited:
Thanks to @Remco22 for some quick testing, the negative phase storage issue has been resolved, and new firmware for all supported RP2040 modules is now available at:

https://drive.google.com/drive/folders/1zttD3h1yLh_rkOKi_ILMN6ePMEPL9Dlp?usp=drive_link

As this fix will potentially affect everyone using phase trimming, it is recommended to update to this latest build, and for those who took firmware a while ago, it will also upgrade you with all the latest features described here and in the build guide.
 
Last edited:
  • Thank You
  • Like
Reactions: Remco22 and Drbulj