How to filter high pitch noise from toy loudspeaker ? - Page 1
Forum section: electronics / beginners

author: kultakala
author_rank: Regular Contributor
timestamp: March 15, 2022, 10:26:00 am
content: Hi,I am using some electronic equipment but i dont have much experience in building circuits by myself.And as i am not a native english speaker i hope you get what i mean.I have an old toy piano from Sega Toys (Grand Pianist).I did some mechanical repairs and it works properly now.The only problem is that the built in speaker is not very loud and that there is a constant high pitched noise when its powered on.The maximum volume is intended i guess because there are some parts which already start resonating/oscillating (?) when the volume gets to the maximum.But the high pitch noise is really annoying.There is one small 3W speaker which is directly connected to the loudspeaker output on one of the internal boards.Would it be enough to put a simple passive low pass RC filter in between the cables to the speaker ?The highest piano tone is C8 which is about 4200 Hz so i guess a filter cutoff frequency of 4400 Hz or so would be good ?I dont know the frequency of the noise but would guess its somewhere around 10 KHz.Would a filter with fc at 4400 Hz lower the volume ?To keep the maximum possible volume for the piano tones would be great.And what would be a good combination of R and C value ?According to a filter tool a 1100 Ohm resistor and a 33 nF capacitor would have 4400 Hz cutoff frequency.Would a different combination be better ?Or should the frequency be higher to keep maximum volume ?Maybe something completey different would be even better ?Hope you can give me some hints.Thanks!

author: Zipdox
author_rank: Regular Contributor
timestamp: March 15, 2022, 12:05:22 pm
content: Using such a high resistance resistor will leave no power for the speaker. But filtering out the noise probably isn't the right way to do it anyway. You should fix the source of the noise.

author: kultakala
author_rank: Regular Contributor
timestamp: March 15, 2022, 01:02:11 pm
content: Unfortunately i think the electronics itself are generating the noise.Guess i cant fix it on the board itself, at least i have no idea how to do that.

author: kultakala
author_rank: Regular Contributor
timestamp: March 15, 2022, 01:23:05 pm
content: Okay, so if the resistor needs to be low... what about a 1 Ohm resistor and a 33 µF capacitor, would lead to 4800 Hz frequency cutoff.I could try that out... Otherwise i would have to use an active filter but there is not much space within the piano to fit anything.

author: CaptDon
author_rank: Super Contributor
timestamp: March 15, 2022, 01:46:21 pm
content: A Low Pass rolloff filter will probably sound bad. The noise is probably centered on a very narrow range of frequencies (related to the master clock, dividers or sample rate). If you have a program like 'Spectrum' and a microphone you can plug into your computer you could see exactly where the noise frequency is located and perhaps build a notch filter? I realize you said there isn't much room inside. That limits your options. What is the value of the toy, nostalgic? Perhaps a better toy is the answer.

author: kultakala
author_rank: Regular Contributor
timestamp: March 15, 2022, 02:13:38 pm
content: Quote from: CaptDon on March 15, 2022, 01:46:21 pmIt is a very rare toy item which was only sold in Japan about 15 years ago.It was not cheap, about 400 USD i guess.In its way its unique as it has original 88 keys keyboard and can physically move the keys according to the notes played using 88 solenoids and mechanical arms to do that.So buying a better one is no optionA notch filter would be more complicated i assume... dont know exactly what you mean by "rolloff".You mean that the lowpass filter curve will drop down slowly ?But i need only the frequencies up to 4400 Hz and the noise starts at about 10 kHz.I can try that out easily with a resistor and a cap.i dont have a microphone to check for the exact frequency (although its no constant single frequence) but maybe i can in a few days.

author: Terry Bites
author_rank: Super Contributor
timestamp: March 15, 2022, 02:30:05 pm
content: Check the frequency with a phone app. Frequqncy analyser things.It sounds to me like the speaker amplifier is oscillating.

author: TomWinTejas
author_rank: Regular Contributor
timestamp: March 15, 2022, 02:31:53 pm
content: Fascinating toy... I found a YouTube video of one playing:Since it has a 3.5 mm output, perhaps you can add an external speaker with its own filter. You can probably also find an audio spectrum analyzer for your mobile phone and use its microphone... might not be super precise, but it should get you in the ballpark.

author: ledtester
author_rank: Super Contributor
timestamp: March 15, 2022, 02:40:20 pm
content: Quote from: kultakala on March 15, 2022, 02:13:38 pmDid you mean 10 Hz?I looked up the Sega Grand Pianist on the web. Are you powering it with the included AC adapter? How about try powering it with batteries?

author: IanB
author_rank: Super Contributor
timestamp: March 15, 2022, 03:14:23 pm
content: Quote from: ledtester on March 15, 2022, 02:40:20 pmNo, 10 kHz. It is a high pitched noise.

author: tunk
author_rank: Super Contributor
timestamp: March 15, 2022, 03:25:57 pm
content: Probably doesn't matter: How do you power it? E.g. do you use theoriginal PSU with a step-down transformer? If you use something else,maybe try with another PSU. I'd also guess the 4200Hz tone has someharmonics.

author: kultakala
author_rank: Regular Contributor
timestamp: March 15, 2022, 03:26:12 pm
content: Quote from: Terry Bites on March 15, 2022, 02:30:05 pmI installed an analyzer app on my phone... shows 3 peaks at 7.4 kHz, 14 kHz and 21 kHz.The noise is independent from the volume setting.Quote from: TomWinTejas on March 15, 2022, 02:31:53 pmIts even more fascinating in realityI managed to get some midi file on SD card into the correct format so it plays more than the 100 built in songs.And i added an additional switch so i am able to cut the power for the solenoids.The mechanics are almost as loud as the speaker sound so disabling the mechanics is cool.But then the noise is even more annoying.Using the line out is also not an option. First i want to use the piano just by its own. And second the sound is more terrible than from the internal speaker.The noise is more amplified and there is also 50 Hz noise from the power adapter.Quote from: ledtester on March 15, 2022, 02:40:20 pmNo, as i measured now the noise is high pitched, starting at 7,4 kHz.Battery power is not possible... and via power adapter it draws more than 1 A at 6 V, depending on how much solenoids are active at a time.I can try to power it via a DC power supply, didnt try that yet.So, i still guess it would be best to filter the speaker output over 5 kHz.

author: kultakala
author_rank: Regular Contributor
timestamp: March 15, 2022, 03:27:24 pm
content: Quote from: tunk on March 15, 2022, 03:25:57 pmI power it by the original multi voltage wall adapter .Will try with a separate dc power supply later.

author: IanB
author_rank: Super Contributor
timestamp: March 15, 2022, 03:38:55 pm
content: It's very common to have passive crossover filters in loudspeakers that direct appropriate frequencies to different drivers (tweeters, mid-range or woofers).So it should be very practical to create a low pass filter that blocks higher frequencies.I don't know how to design them, but you could look at loudspeaker design handbooks for some ideas.

author: RJSV
author_rank: Super Contributor
timestamp: March 15, 2022, 04:51:33 pm
content: Hey?!..Wait a second...88 Solenoids you say ?Ever try, (I don't know, a Clothes Washer Machine might have 4 solenoids), try;Connect '22' Washing Machines up, all running, with the internal solenoids in each machine all firing.All within 5 feet (you'll have to stack some of them).Sorry, that was fun, but to your question, is that noise during the 'Player' mode, or just when sitting?Because, that's a LOT of solenoids. Are they on AC power, or even (screech); SCR circuits, from like 1974?One basic thing you should be able to check, if it is DC driven solenoids, you would see a diode, pointing towards positive; those are for absorbing / suppressing coil sourced negative voltage spikes, on turn-off, if I remember correctly.

author: RJSV
author_rank: Super Contributor
timestamp: March 15, 2022, 05:22:03 pm
content: Actually seriously, here's what I would do:Considering that's a special deal, I would just skip (any) audio power output, going the route of some cheap, anywhere Boom Box, small and fine, these days.If you really can't find just regular TONE, I don't have answer; I had those 'linear' slides, on Boom Box one each for BASS; MID; TREBLE.Heck, I always liked that TREBLE control dialed way back, almost off.Considering the value, might be best to simply 'Tap' the AUDIO left and right, perhaps a 1 kOhm pot, and with 1 kOhm resistor off of the potentiometer center tap. That resistor does nothing to your (small) ac signal, but protects from other 'accidental' connection being shorted (to ground thru the pot).

author: kultakala
author_rank: Regular Contributor
timestamp: March 16, 2022, 08:18:22 am
content: Quote from: RJHayward on March 15, 2022, 04:51:33 pmThe noise is always there, starting when switching the power on.While playing it does not get louder but is still noticeable.The Piano just gets DC 6.5 V, the internal circuits are running with 5 V.Its not easily possible to check the solenoids circuit because the unit which contains the solenoids, driver board and the mechanics including the keys is internally capsuled.Opening or disassembling it would lead to a big puzzle of 2 times 88 small plastic levers which are all different.I had the chance to have a look at a disassembled piano, it was not possible to put it back together.Quote from: RJHayward on March 15, 2022, 05:22:03 pmYou mean to take the line output signal and go through an external boom box ?Thats no option for me, because the piano should stand by its own.What do you mean by "If you really cant find just regular TONE" ?I dont have the needed parts but will order some to test if a simple RC low pass filter will help.

author: Le_Bassiste
author_rank: Frequent Contributor
timestamp: March 16, 2022, 03:54:52 pm
content: rather than weakening the (already too silent) output even further by using a resistor in the output path, you may have more luck and even steeper roll-off characteristics by using an LC lowpass instead of an RC lowpass. have a look:https://www.jobst-audio.de/tools-frequenzweiche/frequenzweicheas for the crossover frequency of such a contraption, i would start at the frequency of the highest key on your piano, basically 440 Hz times the number of octaves above a0, give or take.

author: kultakala
author_rank: Regular Contributor
timestamp: March 16, 2022, 06:26:20 pm
content: Thanks for the link, i checked for frequencies 4400 Hz and higher, but the exact L and C values are not gettable.It almost fits with L of 39µH and C of 3,3µF... but it would mean to pay a lot of shipping cost compared to the value of those 2 partsMaybe i can try it when i am able to get the parts locally.I will test with a RC low pass next weekend.I have all parts for that.Btw, for both RC and LC filter the capacitor needs to be a bipolar one, correct ?

author: RJSV
author_rank: Super Contributor
timestamp: March 16, 2022, 08:28:33 pm
content: Wow, I see what you mean, not wanting to disassemble that Solenoid Bank.But...you've been contradicting yourself, couple times;Wanting a sort-of 'purely', untouched, vintage Audio Machine, yet...are asking "How can I modify things ?...to get rid of the noise ?"BUT must be stand-alone.I would, then, suggest, try simply disconnect (any) tweeter or hf speaker. I'm not sure what that console has, as internal speakers.Oh, yeah, TONE, I just meant; You could BUY that, a cheap mik mixer or 'DJ' mixer would have 'TONE', although, yes, it's also nice to learn.A battery, IS a DC power supply, just maybe has differences, maybe noise figures are 'different', from AC Wallwart type.-Rick

author: jha0375
author_rank: Newbie
timestamp: June 01, 2024, 02:08:16 am
content: Hi, I know its late but I had the same issue and fixed it by changing the power supply to this one and set it to 7.5v. Using the blue tip. Noise completely went away. Hope this helps!https://www.bestbuy.com/site/insignia-15-6-w-4-9-ft-universal-ac-adapter-black/5019131.p?skuId=5019131&extStoreId=1486&utm_source=feed&ref=212&loc=20161460807&gad_source=1&gclid=Cj0KCQjw6uWyBhD1ARIsAIMcADqqfcgp6b7jorBJaBatPXncAQoXMmhcrn1XhqouhN1yF-KDfC8yNHcaAkBqEALw_wcB&gclsrc=aw.ds