Wednesday, October 12, 2011

The working Piezoelectric key.

Here is a diagram of a working piezoelectric key.


The design appears very simple because it is and it took a lot of thought to get it that way. Once you realize that a working keyboard needs at least 88 keys and to be fully Janko compliant it needs 264 keys, (the one I demonstrate on my first page has an intermediate 176 keys), you'll begin to realize the simplicity and economy are the name of the game.

If I count every wire in the design there are 7 parts to this key practically none of which need be machined or looked upon as 'moving parts'.

(Note: Some equipment such as an Oscilloscope and Volt/Ohm Meter  will make your life easier but are not actually needed for constructing a key, more on that later).

The list of parts are:
  1) 1 Piezoelectric strip, ($1.80 at windworld.com)
  2) 2 Mini dominoes, (28 for $2.00 at GameWorld on the Internet)
  3) 1 1.5 x .5 x .125 strip of "Headboard liner cloth purchased from any upholstery store.
  4) 1 bead of Hot Glue for making the beak at the end of the top tile.
  5) 1 Roll of sticky plastic film wrap, (Saran Wrap).
  6) Wire for attaching to the Piezoelectric film's leads.

Making a key.
    Step #1:  Solder a measured length of wire to each of the piezo films leads. (I found out too late that actually checking the polarity of the pulse and soldering the same color wire to the lead that actually produced the positive pulse would have been helpful bu not required.)

    Step #2: Wrap the piezo strip tightly in a small strip of plastic cling wrap. The piezo strip is destroyed by hot glue which tends to pull the conductive ink from the surface of the strip under force.
 
    Step #3: Wrap the cling film wrapped piezo strip in a strip of headboard liner cloth tightly to approximately 1/3 to 1/2 it's length.
   
Step #4: Placed the assembled sensor on the smooth surface of a mini domino and glue it into place. Pay attention to, if at all possible, assure that the leads at the back of the piezo strip are as flush as with the back of the domino due to the fact that they're metal and therefore prone to damage.

Step #5: Using your hot glue gun add a small bead of hot glue to the surface of the second domino approximately 1/8 inch from the leading edge. The tiny drop of glue serves as a 'beak' and transmit force to the outer edge of the piezo strip creating a more defined and sensitive response from the strip when struck.

Step #6: The final step is to glue the top and bottom halves of the key together creating your finished key. Alignment is Critical and you may want to spend some time developing various jigs to hold the pieces to together correctly as they're assembled. I found the clamp end of a 12'' crescent wrench to be most helpful.

And there you have it the finished key. In the next segment I begin to discuss the circuitry needed to make these keys sing. For those of you who are Engineers or savvy Hobbyist you need go no further to create your piezoelectric keyboard but if you are like me when I started, and don't know a diode from a hole in the ground the next discussions may be useful.

The Nitty Gritties

A Janko keyboard using piezoelectric keys consists of four basic parts. The most important part are the keys themselves.

The keys are were the Piezo Electric elements come in. The 'Keyboard' part of a piezoelectric keyboard is completely unpowered, i.e. though any amplifier and Mux elements must have some current source fed to them the actual keyboard itself needs no current.

Piezoelectric elements are capable of generating currents of 1.4 nano farads, (tiny), but with voltages theoretically in the range of hundreds of volts, HUGH).

I personally have generated voltages in the range of 25 volts which greatly exceeded my required voltage. The catch is that with that small a current amplification of the signal is required but once again this would be separate from the keyboard it's self.

If you'd like to read about piezoelectric film I would suggest going straight to the horse's mouth at:

http://www.meas-spec.com/product/t_product.aspx?id=2478

Once you have your film the experiment with it a bit to understand the applications that it can be put to. Even without amplification a piezo film attached directly to the oscilloscope lead and  flicked lightly with a finger will produce a pronounced wave form similar to this:]


The above wave form actually would show three rapid flicks of the finger. These voltage spikes would be directly proportional in amplitude to the speed of the finger that flicked the film. This is why it is possible to make 'Velocity Sensitive' keys from a piezo film.

That's the good news, and now the bad news. Though the theory is compelling actually harnessing this action into a workable key has proven very difficult for musical instrument makers. There is also the added problems listed below:

 1) A piezo strip measure the speed of the impact and not the force of the impact. Strike a peizo film with a finger at a set speed and it looks just as if you struck the film with a sledge hammer at that same speed.

2) There is no way to tell if a piezo film once bent is still bent. Theoretically all piezo electric devices present a pulse and a counter-pulse and a release of pressure on the film can be detected a pulse of opposite polarity. In practice this is almost useless since the a slow release may produce such a small counter-pulse as to be almost undetectable from noise in the system. This means essentially no release detection.
3) Adding to the difficulty is the fact that some films send a positive pulse followed a negative and some are the reverse of that.

4) Some piezo strips are more sensitive than others. A measured amount of velocity on one film may product\ a voltage of a third that of another film.

5) The final significant problem is one of how do you control the physical force on the film without complex mechanisms as are used with a physical keyboard, (see the illustration of a standard piano key on my earlier blog page). If you think about it the mechanics of striking a  film are precisely the same as striking a string. To accomplish this task a piano key has at least a dozen major parts, we'd like to avoid that effort.

Now the problems to be solved have been outline I think you'll have an enhanced appreciation of the key design we'll discuss in the next entry.

The raw materials for each key comes to less than $2.00 a key depending on where you buy the piezo sensor film. I've seen the prices range from $6.00 down to $1.56 for the same type of film.

Monday, August 1, 2011

Piezo electric Janko keyboard electronic musical score construct

Sometime ago while discussing the need for a re-think of musical notation with my boss, (who happened to have a Masters in music), I was introduced to the work of Paul Von Janko, engineer, musician and the inventor of the Janko keyboard.



What did musical notation and a keyboard have in common?

Both the standard keyboard and standard musical notation are technologies that are nearly 1,000 years old, and both place an inordinate amount of strain on the user to interpret and use.

Janko attempted to fix the mechanical keyboard in the same spirit that I was attempting to 'fix' musical notation which can be a horror to read.



Complex musical scores can appear almost as hieroglyphics to the person attempting to interpretation and even after having succeeded in this task, the process must be started all over again in order to play this music in the remaining 11 keys.

This may have been fine 1,000 years ago when the world moved no faster than a horse could run but today the waste of time is monstrous and it occurred to me that there must be a better way.

The genius of Janko's design was that with it the investment spent learning a piece of music could instantly be applied without change to the remaining 11 keys!

Take for example the Maj C, (C-E-G) and Maj A, (A-C#-E). On a standard piano these are two completely different chords. Each must be learned separatly, but pick these chords out on a Jank and you'll see they have the exact same shape. Infact all Major chords do while all Minor chords share the same shape among themselves and so on.



Seeing the advantage I instantly wanted one only to discover that I couldn't buy one for love or money leaving me, like many other enthusiast, with no choice but to build one, no mean feat since a functional Janko keyboard required no fewer than 176 keys. A fully configured keyboard required 264 keys!

A velocity sensitive piano key is a complex mechanism and building even one functioning key is a task beyond most people's ability, building 176 or 264 keys utterly impossible.



There were two strategies used to overcome this. Strategy one,  build a mechanical template to fit over a standard key board. This was Janko's approach. The other more modern approach was to use standard push buttons in place of keys. You can see both approaches here:

http://www.youtube.com/watch?v=LlaeSOvYB7M
http://www.youtube.com/watch?v=YuzZ3c2X5co&feature=related

I found both these to be unsatisfactory. First if the template is not pprecisely made it was clumsy and unreliable, second push buttons lacked velocity sensitivity, arequirement if theinstrument will be more than just a toy.

I solved these problems by using piezo electric sensors and I'll outline the construction and programming, (yes it's midi of course), in the following entries of this blog.

Following these I'll return to the problem of simplifying musical notation and perhaps even go into some specifics of the #2 prototype which will correct the problems that are incumbent to piezo electric sensors when used as replacements for standard mechanical keys.

Remember this is the first prototype and serves as a guide for what I hope will be a perfect replacements for mechanical keys.

The ability to create and than place large number of functioning piano keys in a midi format opens up vast new vistas for modern instrument creation and I hope a great many people will benefit from the opportunities presented by 1,000 years of technical evolution.

And yes, those are dominoes.



DaneMx

Next page