DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: Phend on August 17, 2021, 02:50:13 PM

Title: Strain Gauge Effect
Post by: Phend on August 17, 2021, 02:50:13 PM
Hello:
Could a strain gage be used in an effect.?  Imagine a flexible thin steel flat sheet supported on one end (cantilever) big enough for your foot to press.  It would act as a spring ie never permanently distorting. On said spring a strain gage would be attached. By pressing on it the strain gage will change electrically.  Would need to amplify the output and feed it into part of an existing effect for instance a simple fuzz.  What could it do ?? Thinking out loud....goggle strain gage if curious.

(https://i.postimg.cc/B8Tr64J5/gage.jpg) (https://postimg.cc/B8Tr64J5)

(https://i.postimg.cc/mcWxBtW2/tunstraingage.jpg) (https://postimg.cc/mcWxBtW2)

(https://i.postimg.cc/LgtYQqSY/sss.png) (https://postimg.cc/LgtYQqSY)
Title: Re: Strain Gauge Effect
Post by: Rob Strand on August 17, 2021, 07:16:08 PM
The resistance changes are quite small on these things so you end-up dealing with small signals.   The impedance is quite low but the changes are even smaller.  You can get some to work at DC but often they are driven with AC and have synchronous demodulator to fend-off noise due to the small signals involved (forgot to mention it greatly helps reduce drift).   That type of system produces a DC output voltage proportional to the deflection.    An example is kitchen or bathroom scales, you bond a strain gauge to a metal bar.  The bar acts as a spring, the weight deflects the bar and the strain gauge measures the defection which is translated back to weight on the display.

To get it to work you would probably need to build a system like the above then feed the DC output into a voltage controlled audio circuit, for example a JFET, LDR or OTA etc.

Title: Re: Strain Gauge Effect
Post by: PRR on August 17, 2021, 08:56:03 PM
You could get a bigger signal by putting pins in your eyebrow and squinting.
Title: Re: Strain Gauge Effect
Post by: Vivek on August 18, 2021, 03:32:41 AM
Sounds like a great idea !!!

Then the pedal would sound nice and mellow when the guitarist is out drinking beer with friends

and go raging metal when the guitarist is having a troublesome divorce with a narcissistic wife.



PS : Where on the guitarist do you propose to attach the strain gauge ?
Title: Re: Strain Gauge Effect
Post by: Phend on August 18, 2021, 06:48:12 AM
Ok, bag the strain , next girl I see at the market check out with metal attached to her face and eyebrows should make for a good experiment.
Title: Re: Strain Gauge Effect
Post by: GFR on August 18, 2021, 10:10:52 AM
https://www.researchgate.net/publication/308900114_Towards_a_live-electronic_setup_with_a_sensor-reed_saxophone_and_Csound

http://lac.linuxaudio.org/2013/papers/41.pdf
Title: Re: Strain Gauge Effect
Post by: amptramp on August 18, 2021, 11:02:54 AM
This would be an ideal pickup for a drum skin.  Imagine, no more microphone placement issues - the drum skin produces the output.  I do go along with Rob Strand's idea of a synchronous demodulator signal processing system set up to avoid local magnetic fields.  So you could have a strain gauge mounted off the drum skin sort of like a humbucking strain gauge pickup to cancel the hum output of the sound pickup.

Circular resonators like a drum skin have a frequency distribution that follows a Bessel Function of the zeroth order.  Since these are not harmonic multiples, some people call them partials rather than harmonics, so there would be edge strain gauge pickups and inward pickups corresponding to bridge and neck pickups.  I could see this getting complicated but you may be able to get sounds from a drum that are selectable and mixable.  Unless the drum is tall, like tams, the fundamental is missing.  The zeros of the Bessel function are:

1. 2.4048256
2. 5.5200781
3. 8.6537279
4. 11.7915344
5. 14.9309177
6. 18.0710840
7. 21.2116366
8. 24.3524715
9. 27.4934791
10. 30.6346065

and this is what you are looking at for drum frequencies.
Title: Re: Strain Gauge Effect
Post by: Phend on August 18, 2021, 02:36:25 PM
Hum, sinking fast ie over my head. Original suggestion was to spark ideas....

(https://i.postimg.cc/xJxfNwWc/3s.jpg) (https://postimg.cc/xJxfNwWc)

(https://i.postimg.cc/pmhqwK27/330px-Vibrating-drum-Bessel-function.gif) (https://postimg.cc/pmhqwK27)
Title: Re: Strain Gauge Effect
Post by: Rob Strand on August 18, 2021, 07:00:40 PM
I was pondering how you could make use of one of those without without the usual problems and rubber-stamp solutions.   If you stick to AC signals it gets rid of one lot of headaches.    Next is low impedance, say the impedance of an emitter circuit.    Putting that together you get a strain-gauge as the emitter resistor of the a common emitter amplifier.

Next is the small change.   The gain of the CE amplifier should boost the signal and modulating the resistance will modulate the gain and the bias voltage on the collector.

Option 1 is DC (but AC out):   The changes modulate the bias point and you tap off the AC signal at the collector of the CE ampliifier.

Option 2 is AC:  You feed a reasonable amplitude sine or square-wave into the base, not enough to clip the amp though.  The frequency would need to be high, maybe 100kHz.   Then you rectify that like a AM receiver (crystal set) and extract the envelope of the gain.

It's all rough and ready but DIY friendly in terms of parts.   Linear technology actual make chips that let you do synchronous demodulation pretty easy though.

Anyway only a thought.
Title: Re: Strain Gauge Effect
Post by: Jdansti on August 18, 2021, 08:38:10 PM
If you're looking for something that hasn't been done yet, how about using a pressure transducer to modulate an effect such as a wah?  This would be particularly useful for handicapped guitarists who can't work a pedal with their feet. They put a tube in their mouth and change the air pressure in the tube to control the effect. A device like this would probably do the job: https://www.analog-micro.com/en/products/pressure-sensors/board-mount-pressure-sensors/ams6916/. It has an analog output of 0.5 VDC to 4.5 VDC.
Title: Re: Strain Gauge Effect
Post by: Gus on August 18, 2021, 08:39:01 PM
good link
https://strainblog.micro-measurements.com/ (https://strainblog.micro-measurements.com/)
https://micro-measurements.com/stress-analysis-strain-gages (https://micro-measurements.com/stress-analysis-strain-gages)
Title: Re: Strain Gauge Effect
Post by: Mark Hammer on August 18, 2021, 10:05:42 PM
Quote from: Jdansti on August 18, 2021, 08:38:10 PM
If you're looking for something that hasn't been done yet, how about using a pressure transducer to modulate an effect such as a wah?  This would be particularly useful for handicapped guitarists who can't work a pedal with their feet. They put a tube in their mouth and change the air pressure in the tube to control the effect. A device like this would probably do the job: https://www.analog-micro.com/en/products/pressure-sensors/board-mount-pressure-sensors/ams6916/. It has an analog output of 0.5 VDC to 4.5 VDC.
Breath controllers have been around for a while.  I have an old Yamaha CS-01 synth that has a jack for breath controller.  I'm not sure what the actual pressure transducer at the heart of it is, but they exist.

We need to see more ideas here for use of force-sensing resistors.
Title: Re: Strain Gauge Effect
Post by: Rob Strand on August 18, 2021, 11:07:47 PM
Pressure sensors have been around quite some time.   Readily available and reasonably priced back in the early 90's.
They are basically a strain gauge put down on silicon!  Exactly the same circuits.

Title: Re: Strain Gauge Effect
Post by: Phend on August 19, 2021, 08:03:03 AM
Getting back to the cantilever beam pressed with your foot,  and incorporating it into an existing effect, question.  Maybe use it to change a bias .
Title: Re: Strain Gauge Effect
Post by: Vivek on August 19, 2021, 08:12:21 AM
All this appears similar to connecting a wah to a weighing machine.
Title: Re: Strain Gauge Effect
Post by: Mark Hammer on August 19, 2021, 09:40:59 AM
And let us not forget Hall sensors.  In correspondence with Tore Mogeson, while he was at TC, I learned that the MASH switch incorporated into some TC pedals used a Hall effect sensor as a sort of onboard expression controller.  Like I said to Tore, I don't know whether to be more impressed by how clever they were in incorporating it, or by the sensitivity of the sensor and how little distance the magnet had to travel to result in usable changes.

Of course, whether we are dealing with strain gauges, force-sensing resistors, breath controllers, or Hall sensors, ultimately they all rely on the users ability to translate bodily motion into musically expressive control.  Imagine if you had to operate a wah or volume pedal as if it was one of those big yoga/exercise balls, and sweeping the control depended on how hard you sat.  Aside from looking rather foolish and "unrock", just how fast can you sit down and get up, and how well could you achieve variations between the extremes?

I set up a photocell as the expression controller on my Line 6 M5, mounted it on the top of my guitar, and worked it by covering and uncovering it with my pinky.  VERY different feel to the effect, compared to working a pedal with my foot.  Every form of expression control will be somewhat different, depending on the responsiveness of the control element AND the controllability and articulation of what part of the body we use to control it.  That such body parts and devices can be put to use is not in question.  Rather, the question is whether such control allows us to say what we want to say, tonally, musically, with the speed and precision we are aiming for.

That is not to say there are NO productive uses of these various alternatives to potentiometers.  The mission is to match them up with the sorts of tonal and expressive changes that suit the musical material.
Title: Re: Strain Gauge Effect
Post by: EBK on August 19, 2021, 11:32:28 AM
Quote from: Mark Hammer on August 18, 2021, 10:05:42 PM
We need to see more ideas here for use of force-sensing resistors.
I have done some dabbling with FSRs (https://www.diystompboxes.com/smfforum/index.php?topic=121805.0).  I even have made a decent foot pressure actuator for one. It's a rather fun way to control an effect, like a wah pedal that doesn't move but gives you a similar control experience.
Title: Re: Strain Gauge Effect
Post by: amptramp on August 19, 2021, 12:18:14 PM
There are air pressure modulated strain and hall-effect devices on most cars to sense evaporative emissions leaks (gives you a P0455 OBDII code if there is a failure) and manifold absolute pressure gauges that feed a 0 to 5 volt signal to the engine control computer.  Most have 12 volt, ground and output, so the processing is already done.
Title: Re: Strain Gauge Effect
Post by: Mark Hammer on August 19, 2021, 12:29:29 PM
Quote from: EBK on August 19, 2021, 11:32:28 AM
Quote from: Mark Hammer on August 18, 2021, 10:05:42 PM
We need to see more ideas here for use of force-sensing resistors.
I have done some dabbling with FSRs (https://www.diystompboxes.com/smfforum/index.php?topic=121805.0).  I even have made a decent foot pressure actuator for one. It's a rather fun way to control an effect, like a wah pedal that doesn't move but gives you a similar control experience.
It's what David Rainger uses for the Igor foot controller on his Rainger pedals.
(https://www.raingerfx.com/wp-content/uploads/2018/10/Bleep-main-web.jpg)
Title: Re: Strain Gauge Effect
Post by: Phend on August 19, 2021, 03:00:19 PM
Phono cartridge ? Very small motion, but mounted in the right place on a cantilever of calculated (or measured) deflection might have a usable output ?
Title: Re: Strain Gauge Effect
Post by: Rob Strand on August 19, 2021, 06:49:35 PM
QuotePhono cartridge ? Very small motion, but mounted in the right place on a cantilever of calculated (or measured) deflection might have a usable output ?
The output voltage is proportional to velocity, so no output with constant deflection.  A speaker cone is similar.  You will get a pulse when you push and release.   You might be able to detect scratching if the needle touches a surface.

Most sensors need for something to change position.   For the strain-gauges there is movement but it is small enough to be considered stationary.

Mark mentioned hall-effect devices.   There's linear output versions and also on/off "processed" versions.    One of the Ibanez wah pedals uses a Hall device.

There's, capacitive and inductive sensors, also LVDT (more like a transformer).   Often these require  a synchronous detector to fend-off noise.

Light has been used in the past because you can create a light source which is stronger than the background noise.   Many of those use still end-up using synchonous techniques.    There's some cool tricks using interferometry and light to detect small movements checkout some videos on youtube - for DIY parts it's pretty rough and not really controlled enough to use on a product.

I forgot to mention above, for air controlled devices you can use a flow sensor.  Normally you would blow through a tube which is open and measure flow as opposed to blowing into a blocked tube and measuring pressure.

The reoccurring problem with alternate technologies is you need to throw more electronics at it.   If you think about the touch screen on your phone, it's a widely used an accepted but there is actually a whole lot of electronics machinery under the hood.   That in itself more complex than most pedals.  I guess the point I'm making is in order to go forward you need the raise the bar in terms of how much electronics you are willing to throw at it.
Title: Re: Strain Gauge Effect
Post by: Phend on August 19, 2021, 08:53:40 PM
Interesting how your phone or tablet detects vertical from horizontal.  A cantilever. Check it out. And start etching !
Title: Re: Strain Gauge Effect
Post by: Rob Strand on August 19, 2021, 09:33:20 PM
QuoteInteresting how your phone or tablet detects vertical from horizontal.  A cantilever. Check it out. And start etching !
Very cool.

Ultimately it's measuring capacitance, or perhaps relative capacitance.

https://www.sciencedirect.com/topics/engineering/capacitive-accelerometer

There was fairly simple circuit to do this in ED Magazine back in the 90's.  Believe it or not I have a photocopy of that article on my desk!  "Bridge Measures Small Capacitance" by Jeff Witt from LT, Ideas for Design, ED Magazine, Nov 1996.

Instead of trying to do your own perhaps it's not a bad idea to buy off the shelf stuff from the consumer market.


Here you go, virtually the same article.  Last article around p41.
https://www.analog.com/media/en/technical-documentation/lt-journal-article/LTMag_V06N3_Aug96.pdf
Title: Re: Strain Gauge Effect
Post by: Mark Hammer on August 19, 2021, 10:23:13 PM
Accelerometers are finding their way into plenty of musical products.  Several "pot-less" EHX foot pedals use accelerometer technology to detect foot motion.  The Source Audio Hot Hand controller also uses an accelerometer to determine hand position.

I bought a BBC Micro:bit a few years ago, and it also has an accelerometer onboard.  I'll have to think about something musical I could do with it that makes use of the tilt.
Title: Re: Strain Gauge Effect
Post by: PRR on August 19, 2021, 11:14:14 PM
Quote from: Phend on August 19, 2021, 03:00:19 PMPhono cartridge ?

Panasonic tried it, sold it. Didn't take-over the market. Amusing because it can be low-Z and, with large excitation, a not-small output.
https://www.diyaudio.com/forums/analogue-source/307849-playing-panasonic-strain-gauge-cartridges-dedicated-phono-stage.html
Title: Re: Strain Gauge Effect
Post by: EBK on August 20, 2021, 07:33:56 AM
Quote from: Mark Hammer on August 19, 2021, 10:23:13 PM
Accelerometers are finding their way into plenty of musical products.  Several "pot-less" EHX foot pedals use accelerometer technology to detect foot motion.  The Source Audio Hot Hand controller also uses an accelerometer to determine hand position.
I wouldn't recommend this approach.  The best you can hope for from using just an accelerometer is a rough estimate of relative position.  You would need something to reliably reset the absolute position and correct for drift. It would likely be glitchy as hell.

There are some sophisticated position sensors that use accelerometers, gyroscopes, and compasses, but I doubt any pedal company is using them.  If you want to go that route, I'd suggest writing an app that uses a smartphone's position sensor and stick the phone inside the pedal.