Humbucking pair building block circuit for vibrational sensors
11087731 · 2021-08-10
Inventors
Cpc classification
G10H1/342
PHYSICS
G10H2220/505
PHYSICS
G10H3/146
PHYSICS
G10H3/143
PHYSICS
G10H2220/521
PHYSICS
G10H3/186
PHYSICS
G10H3/185
PHYSICS
G10H3/22
PHYSICS
G10H2250/235
PHYSICS
International classification
G10H3/22
PHYSICS
Abstract
This invention eliminates most mechanical switching in vibrational pickup circuits by using variable gains to combine signals of sensors in differential amplifiers as J−1 humbucking pairs for J>1 number of sensors, with the sensors matched to produce the same level and phase of unwanted hum from external sources. It can also combine J>1 number of matched sensors with K>1 number of dissimilar sensors which are matched only to each other in the same manner. This produces not only all the possible mechanically switched humbucking signals, but all the continuously-varying combinations of humbucking signals in between.
Claims
1. A humbucking circuit containing J>1 number of matched vibration sensors, having one or more basic building block circuits, comprised of: a. a basic building block circuit, comprised of: i. a pair of vibration sensors, which are functionally identical in their response to an unwanted external interfering signal, called hum, which appears on two output terminals on each of said vibration sensors, equally in phase and magnitude, superimposed upon the desired vibration signal, said sensors having different responses to a desired vibration signal, due either to differences in mounting said sensors on an instrument or machine, or to differences in the construction or function of each of said sensor with respect to said desired vibration signal, with a common point connection between said pair of sensors of a first output terminal from each of said sensors, such that the phase of said hum is the same on both first terminals; and ii. a second of said output terminals on each sensor, both second terminals having the same phase and magnitude of said hum, but opposing the phase of said hum on said first output terminals, one of said second output terminals connected to the plus input of a differential amplifier and the other of said second output terminals connected to the minus input of said differential amplifier, with the output of said differential amplifier being modified by a variable gain, such that said hum is cancelled at the output of said differential amplifier, and the remaining vibrational signal being called a humbucking pair signal, which is modified by said variable gain; and b. a first combination of said building block circuits, wherein for J number of said matched vibration sensors there are J−1 number of said basic building block circuits, interconnected through said second output terminals of said matched vibration sensors, such that the overall circuit is organized into an ordered sequence of said matched vibration sensors, and J−1 of said differential amplifiers obtain their plus and minus inputs from said second output terminals of successive overlapping pairs of said matched vibration sensors, such that for an example sequence of said matched vibration sensors, A, B, C and D, said differential amplifiers have humbucking pair outputs of (A−B), (B−C) and (C−D), each modified by said variable gains and, if J>2, an additional circuit performs a linear summation of all such humbucking pair signals; and c. wherein any additional combination of said building block circuits, additional to a first group of said building block circuits, with a set of vibrational sensors always numbering greater than 1 within each additional group, which are matched within said additional group with respect to said hum or other external interference, but of types dissimilar to said first and other of said group or groups of building block circuits, shall not be interconnected with said ordered sequence of pairs of said first or other group with any harm to humbucking, but instead, all said groups of building block circuits, each with different sensors, are summed together linearly only in a final signal output.
2. The invention as recited in claim 1, wherein said differential amplifiers all have their outputs connected through variable attenuators, or potentiometers, to one electronic buffer each, said buffers connecting through summing resistors to a summing amplifier, which have either a single-ended or differential output, such that said differential amplifiers, buffers and summer perform the physical electronic function of making said linear combination of said humbucking pair signals.
3. The invention as recited in claim 1, wherein either or both of the inputs of any of said differential amplifiers in a group of said building block circuits of similar sensors can be shorted by a switch to the sensor common connection point for that group, including by electromechanical or solid-state digital switches.
4. The invention as recited in claim 1, wherein either output of any of said differential amplifiers may be diverted by a switch to an analog-to-digital converter, for the purpose of sampling by a digital processing system.
5. The invention as recited in claim 1, wherein any of said sensors may have individual tone modification circuits, consisting of a choice of one or more tone capacitors in series with a variable resistance, with or without a switch to disable said tone modification circuit without disabling the output of said sensor.
6. The invention as recited in claim 1, wherein the embodiments ensure that when said variable gains associated with said differential amplifiers in said building block circuits are equally scaled to a value of one or less, such that the sum of the squares of said scaled gains is approximately equal to one over the range of the gains, using approximately orthogonal functional relationships, for the purpose of changing the fundamental tone of the system output signal, due to the relative contributions of each said sensor, in a continuous manner without significantly changing the amplitude of said output signal, ignoring the effects of phase cancellations between said humbucking pair signals, wherein the functions for changing said variable gains are based upon mutually orthogonal functions.
7. The embodiment as recited in claim 6, wherein said variable gains are embodied in electro-mechanical potentiometer gangs with sine-cosine tapers, with separate sine and cosine taper gangs assigned to humbucking pair signals that are adjacent in the circuit, and the signals are combined in the circuit by summing said pairs of sine- and cosine-modified humbucking pairs of sensor signals, then nested, as required by the number of said humbucking building blocks, into further sine-cosine gain stages so that said sum of squares of all the signals is still approximately constant and scaled to one.
8. The embodiment as recited in claim 6, wherein the necessary orthogonal functions to produce a sum of squares of signals approximately equal to one are simulated by a 3-gang linear potentiometer, a resistor and a buffer of gain greater than one, such that: a. one gang of said linear pot is used for the simulation of a pseudo-sine half function, with its ends connected to the differential outputs of one of said differential humbucking pair amplifiers, and the wiper producing the signal output; and b. said resistor is connected to one output of another of said differential humbucking pair amplifiers, in series with the remaining two gangs of said linear pot, to form a voltage divider which simulates a pseudo-cosine function, the wipers of said gangs being connected together and the ends of said gangs being connected to said resistor and the signal ground, such that the clockwise end of one gang is connected to the counter-clockwise end of the other, forming two connections between the ends of said gangs, and a first of said clockwise-counter-clockwise connections is connected to the end of said resistor not connected to said differential amplifier output, and the second of said clockwise-counter-clockwise connections is connected to said signal ground, with the connection between said resistor and said gangs being connected to said buffer amplifier; and c. said buffer amplifier has a gain that is the inverse of the voltage-divider ratio of the voltage at the pot-connected end of said resistor, divided by the voltage of the end of said resistor connected to said differential amplifier.
9. The embodiment as recited in claim 6, wherein said variable gains are determined by digitally-controlled linear pots, using some form of digital processor which has sine and cosine functions in its Math Processing Unit, which a program uses to fit the effective tapers of said digitally-controlled linear pots to set the sum of the squares of said scaled gains is approximately equal to one over the range of the gains.
10. The embodiment as recited in claim 6, wherein said variable gains associated with said differential amplifiers are determined by digitally-controlled linear pots to three different levels in increasing accuracy for increasingly time-consuming computations, using a programmable digital computing device without sine or cosine math functions, which has add, subtract, multiply, divide and square-root math functions, on a scaled independent variable, x, in the range of zero to one, and other variables derived from x, which calculates a pseudo-sine from polynomials of the independent variable and a pseudo-cosine from the square root of the difference between one and the square of the pseudo-sine function, the three levels comprising: a. a first and lowest level of accuracy and computation effort in said programmable digital computing device, based upon a polynomial of the powers of zero and two of the difference between x and the constant one-half; and b. a second level of accuracy and computational effort, based upon the powers of zero, two and four of the difference between x and the constant one-half; and c. A third and highest level of accuracy and computational effort, accomplished by adding a correction to said second level of accuracy and computational effort, which correction uses an independent variable, xm2, which is the modulo one-half of a variable, xm, which is the modulo one of said variable x, which correction is a third-order polynomial of the square of the quantity xm2 minus one-quarter.
11. The invention as recited in claim 1, wherein the circuits and variable gains are controlled by a programmable digital computing device, including a micro-controller, a micro-processor, a micro-computer or a digital signal processor, which includes at least the following: a. read-only and random access memory, suitable for programs and variables, and b. a control section for following programmed instructions, and c. a section for computing mathematical operations, including binary, integer, fixed point and floating point operations, with at least add, subtract, multiply, divide and square root functions, and d. digital binary input-output control lines, suitable for controlling digital peripherals, and e. at least one analog-to-digital converter, suitable for taking rapid and simultaneous or near-simultaneous samples of two or more sensor voltage signals in at least the audio frequency range, and f. at least one digital-to-analog converter, suitable for presenting the inverse spectral transform, of a computed linear combination of spectral transforms, to an audio output for user information, and g. timer functions, and h. suitable functions for a Real-Time Operating System, and i. at least one serial input-output port, and j. installed programming such that at least: i. humbucking pairs of said vibration sensors are, when excited in a standard fashion, including strumming one or more strings at once, or strumming one or more strings in a chord, or strumming all strings sequentially, be sampled near-simultaneously, at a rate rapid enough for the construction of spectral and tonal analyses, having forward and reverse transforms, over the working range of the sensors, in both frequency and amplitude, and ii. the mean or sum of the amplitudes of such spectra are be summed over the frequency range to determine the inherent signal strength of said humbucking pairs, and iii. said signal strength be used to equalize the outputs of various linear combinations of the signals of said humbucking pairs, and iv. said spectra be modified by psychoacoustic functions to assess the audible tones of various linear combinations of the signals of said humbucking pairs, and v. the components of said spectra be used to compute the means and moments of said spectra, and vi. said calculations from said spectra be used to order the tones of said linear combinations of said signals of said humbucking pairs into near-monotonic gradations from bright to warm, for the purpose of allowing user controls to shift from bright to warm tones and back, without the user ever needing to know which signals were used in what combinations, and vii. the order of such gradations be presented to the user for approval or modification, including the use of audible representations of tones obtained from inverse spectral transformations and fed to the instrument output via a digital-to-analog converter feeding into the final output amplifier of said system, and viii. allowing external devices to connect to said system for the purposes of updating and re-programming, testing and control of said system; and ix. includes drivers for all input and output peripherals.
12. The invention as recited in claim 1, wherein said matched sensors have only two electrical output terminals.
13. The invention as recited in claim 6, wherein the amplitude variations due to phase cancellations between said humbucking pair signals are corrected by the gain of the final output or summation stage.
14. The invention as recited in claim 11, wherein said section for computing mathematical operations of said programmable digital computing device includes sine and cosine functions.
15. The invention as recited in claim 11, wherein said section for computing mathematical operations of said programmable digital computing device includes Fast Fourier transforms and inverse functions.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
DESCRIPTION OF THE INVENTION
(25) Principles of Operation
(26) Matched single-coil electromagnetic guitar pickups are defined as those which have the same volume and phase response to external electromagnetic fields over the entire useful frequency range. As noted in previous PPAs, these principles are not limited to electromagnetic coil sensors, but can also be extended to hall-effect sensors responding to electromagnetic fields, and to capacitive, resistive strain and piezoelectric sensors responding to external electric fields. For example, if two piezo sensors are placed on a vibrating surface so that they react to two different bending modes on the instrument, and mounted so that the grounded electrodes are facing the same hum signal source, then the interference is both shielded, and cancelled as a common-mode voltage in the differential amplifier, and the paired signal output is the difference of the two bending modes.
(27) Humbucking Basis Vectors
(28) Let A and B denote the signals of two matched single-coil pickups, A and B, which both have their north poles up, toward the strings (N-up). To produce a humbucking signal, they must be connected contra-phase, with an output of A−B. It could be B−A, but the human ear cannot generally detect the difference in phase without another reference signal. Conversely, if A and B denote two matched pickups where A is N-up and the underscore on B denotes S-up, or south pole up, then the only humbucking signal possible is A+B. Any gain or scalar multiplier, s, times either signal, A−B or A+B, can only affect the volume, not the tone.
(29) Bu t as soon as a third pickup is added, the tone can be changed. Let N, M and B denote the signals of matched pickups N, M & B a 3-coil electric guitar. Let N be the N-up neck pickup, M be the S-up middle pickup, and B be the N-up bridge pickup. A typical guitar with a 5-way switch has the outputs, N, (N+M)/2, M, (M+B)/2 and B, where the summed connections are in parallel. Math 1a&b show two possible forms of humbucking basis vectors, used to combine the signals N, M & B with the scalar variables s and u.
(30)
(31) Math 1a uses the basis vectors [1,1,0] and [1,0,−1], and Math 1b uses the basis vectors [1,1,0] and [0,1,1]. Note that two basis vector sets are linearly dependent, that [1,1,0]−[1,0,−1]=[0,1,1]. The scalar vectors [s.sub.1,u.sub.1] and [s.sub.2,u.sub.2], contain the scalar multipliers, s.sub.1 & u.sub.1 and s.sub.2 & u.sub.2, which can be considered rectangular coordinates in SUV-space, where the S, U & V denote the successive humbucking pair scalars, s, u, v, et cetera. Note that the SUV-space with coordinates [s.sub.1,u.sub.1] maps into the SUV-space with coordinates [s.sub.2,u.sub.2] with the linear transformation in Math 2. So the two spaces cover all the same humbucking tones.
s.sub.2=s.sub.1+u.sub.1, u.sub.2=−u.sub.1 Math 2.
(32) Constructing Tables of Relative Amplitudes and Moments for all Circuits from the Simultaneous FFT Spectra of a Few
(33) The Fast Fourier Transform, or FFT, is linear. If X(f) and Y(f) are the respective complex Fourier transforms of x(t) and y(t), and exist, then Math 3 holds true.
a*x(t)+b*y(t)⇔a*X(f)+b*Y(f) Math 3.
(34) Likewise, the Fourier transforms of the signals in Math 1 are linear. For example, the circuit produced by this switching system is N1oN2S2, in the notation used here, and the signals from the coils in that circuit are n1(t), n2(t) and s2(t), with Fourier transforms N1(f), N2(f) and S2(f), then Math 4 holds true via Math 1 and Math 3.
n1(t)−[n2(t)−s2(t)]/2=n1(t)+[s2(t)−n2(t)]/2
⇔
N1(f)+[S2(f)−N2(f)]/2 Math 4.
(35) There are at least 3 forms of the frequency components of the Fourier transform; a cosine paired with a sine; a magnitude paired with a phase; and a real part paired with an imaginary part. From the form with real and imaginary parts of a frequency component Z(f.sub.j)=X(f.sub.j)+iY(f.sub.j), the magnitude and phase can be easily constructed, as shown in Math 5.
(36)
(37) This means that however the strings can be excited to provide signals from each and every matched pickup coil being used, the simultaneous signals from each coil can be sampled and individually transformed into complex Fourier series. Often, the signals are sampled and digitized at high rates in sequence, so there is a finite time delay between samples for different coils. Equation (3-20) in Brigham (1974) shows how to compensate for this, as shown in Math 6, where t.sub.o is the time delay between samples.
x(t−t.sub.0)⇔X(f)*e.sup.−j2πf t.sup.
(38) As a practical matter, sampling and digitizing rates can be 48 k-Samples/s or higher. To obtain a frequency spectrum for 0 to 4 kHz, one must sample and digitize at 8 kS/s, which leaves room for sampling 6 signals in sequence at 48 kS/s. If an acceptable phase error is 1 degree, or 0.1745 radian at 4 kHz, then the clock measuring t.sub.0 must be accurate to 1/(360*4000 Hz)=0.694 uS. Since it takes a few clock cycles of a microcontroller or microprocessor to mark a time, this suggests the need for a system clock of that many clock cycles times 1.44 MHz, or greater.
(39) The complex series for the coils can be added, subtracted, multiplied and divided according to equation via Math 2 for each and every circuit combination this switching system (or any other switching system) can produce. Then, for every frequency component of every given complex Fourier transform for every circuit, the magnitude of that component can be obtained via Math 6 and substituted into Math 1 to obtain the relative signal amplitude and frequency moments for that circuit and excitation.
(40) That means it is not necessary to run an FFT process for every single point in SUV-space. It can all be done by computation from the FFTs either for each pickup coil or for each humbucking pair. Baker (2017) determined that for J number of matched pickup coils, there could only be J−1 number of independent basis vectors for humbucking pairs. This means that in order to obtain the individual signals of individual coils from humbucking pairs, triples, etc., at least one of the coil signals must be independently measured. It does not matter which coil is measured independently, so long as it is placed alone across whatever output feeds into the sampling input, with a proper ground reference. This could be as simple as a switch shorting out one of the coils in a humbucking pair. This would require the use of SW1 in
(41) Analog Circuit Simulations of Humbucking Basis Vectors
(42)
(43) This approach can be extended to any number of matched pickups.
(44) If the pickup at A is N-up, and designated Na, then its vibration signal has a positive sign, +Na. If it is S-up, and designate Sa, then its vibration signal has a negative sigh, −Sa. Tables 1 and 2 show the maximum possible number of different pole/position configurations for
(45) TABLE-US-00001 TABLE 1 Outputs for FIG. 2 with four possible pole/position configurations, where Σ tones are in-phase and Δ tones are contra-phase pole config A B C A-B B-C s u N,N,N Na Nb Nc Na-Nb Nb-Nc Δ1 Δ2 S,N,N -Sa Nb Nc -Sa-Nb Nb-Nc -Σ1 Δ2 N,S,N Na -Sb Nc Na+Sb -Sb-Nc Σ1 -Σ2 N,N,S Na Nb -Sc Na-Nb Nb+Sc Δ1 Σ2
(46) Or to look at it another way, there are two difference tones, Δ1 and Δ2, and two sum tones, Σ1 and Σ2, with the additions −Σ1 and −Σ2, which are inverse duplicates. Any of the minus signs can be replaced by changing the sign of one or both scalars, s and u. Note that using N,S,S in the second row, instead of its inverse duplicate, S,N,N, would replace (−Σ1,Δ2) with (Σ1,−Δ2), which will produce exactly the same output tones of Vo=s(A−B)+u(B−C), merely be reversing the signs of s and u. The only true differences are the combinations of in-phase (Σ) and contra-phase (Δ) tones, (Δ,Δ), (Δ,Σ), (Σ,Δ) and (Σ,Σ). Each combination navigates a different tonal/amplitude space with values s and u.
(47) TABLE-US-00002 TABLE 2 Outputs for FIG. 3 with eight possible pole/position configurations Pole Config A B C D A-B B-C C-D s u v N,N,N,N Na Nb Nc Nd Na-Nb Nb-Nc Nc-Nd Δ Δ Δ S,N,N,N -Sa Nb Nc Nd -Sa-Nb Nb-Nc Nc-Nd -Σ Δ Δ N,S,N,N Na -Sb Nc Nd Na+Sb -Sb-Nc Nc-Nd Σ -Σ Δ N,N,S,N Na Nb -Sc Nd Na-Nb Nb+Sc -Sc-Nd Δ Σ -Σ N,N,N,S Na Nb Nc -Sd Na-Nb Nb-Nc Nc+Sd Δ Δ Σ S,S,N,N -Sa -Sb Nc Nd -Sa+Sb -Sb-Nc Nc-Nd -Δ -Σ Δ S,N,S,N -Sa Nb -Sc Nd -Sa-Nb Nb+Sc -Sc-Nd -Σ Σ -Σ S,N,N,S -Sa Nb Nc -Sd -Sa-Nb Nb-Nc Nc+Sd -Σ Δ Σ
(48) In Table 2, the same principles apply. From Non-Provisional patent application Ser. No. 15/917,389, we have that for K number of matched and reversible magnetic sensors, there are 2.sup.K-1 possible unique magnetic pole reversals, assuming a linear signal system and the Rule of Inverted Duplicates. For four pickups, there are 2.sup.4-1=2.sup.3=8 pole configurations. As we see here, this metric also holds true for the number of configurations of in-phase (Σ) and contra-phase (Δ) tones associated with the humbucking basis vector scalars, s, u and v. If Δ is taken for a binary 0 and Σ is taken for a binary 1, the results of the 8 pole configurations can be ordered from (4,4,4) or (0,0,0) to (Σ,Σ,Σ) or (1,1,1).
(49) The only difference in warmness or brightness of tone between serial and parallel circuits comes from the load impendence on the output of the circuit, and the load impedance of a solid-state differential amplifier, as shown in
(50)
(51) Math 7a shows the circuit equation and output solution for
(52)
(53)
(54) Letting A, B and C stand in for the voltages, V.sub.A, V.sub.B and V.sub.C, Math 9 expresses the humbucking basis vectors and output basis equation which will apply to both circuits in
Embodiment 1: Humbucking Variable Gain Circuit for 3 Matched Pickups
(55)
Embodiment 2: Ganged Sine-Cosine Pots in Humbucking Amplifiers
(56) Note that if the pots Ps and Pu in
(57) But for any two points in SU-space, (s1,u1) and (s2,u2), where s2=−s1 and u2=−u1, one output, Vo, will merely be the opposite sign, −Vo, of the other. These will be indistinguishable in a linear signal system. So half of SU-space is not needed. Instead of being very expensive 360-degree rotation pots, Ps and Pu can be more ordinary pots with a half-cycle of cosine and sine each, still expensive, but less so.
( . . . ((((cos.sup.2 θ.sub.1+sin.sup.2 θ.sub.1)cos.sup.2 θ.sub.2+sin.sup.2 θ.sub.2)cos.sup.2 θ.sub.3+sin.sup.2 θ.sub.3) . . . )cos.sup.2 θ.sub.j+sin.sup.2 θ.sub.j)=1 Math 10a.
(cos.sup.2 θ.sub.1+sin.sup.2 θ.sub.1)cos.sup.2 θ.sub.3+(cos.sup.2 θ.sub.2+sin.sup.2 θ.sub.2)sin.sup.2 θ.sub.3=1 Math 10b.
(58) The trig identity in Math 10a can be used to extend
(59) In
(60) There is another advantage to doing it this way. Using the trig identity removes one degree of freedom from the equations. So for J number of matched single-coil pickups, there are J−1 humbucking pair signals and J−2 controls, s, u, v, . . . . This means that for a 3-coil guitar, only one rotary control needs to be used to set the tone (but not the volume) over the entire range from bright to warm. For a 4-coil guitar, or 2 dual-coil humbuckers used as 4 matched coils, just 2 rotary controls can move the tone over the entire half-sphere of tonal changes. But it is not usually possible for such a manual control to move monotonically from “bright” to “warm”, as those terms are very subjective in human hearing, and the phase cancellations providing “bright” tones can happen in the middle of the pot rotation range. Getting a continuous range from “bright” to “warm” will require more research both to provide measurable and acceptable scientific definitions of those terms, which can be calculated, sorted and controlled by digital processors.
Embodiment 3: Ganged Pseudo-Sine Pots in Humbucking Amplifiers
(61) Unfortunately, sine-cosine pots tend to be either large or expensive or both. But sine and cosine are not the only functions for which (s(x).sup.2+u(x).sup.2)=1, where 0≤x≤1 is the decimal fractional rotation of a single-turn pot with multiple gangs, having tapers s(x) and u(x). One of these functions can be simulated with a 3-gang linear pot.
(62)
(63) Math 11 shows the solutions to the circuit equations for R.sub.B, Pga, Pgb, Vs, V.sub.1 and Vw. In order for the simulation of the scalar, s, to have a range from 0 to 1, the gain, G, of Buff1 must be as shown. As noted in
1−(s.sup.2(x)+u.sup.2(x))≤±ε Math 12.
(64)
Embodiment 4: Approximating Sine-Cosine Pots with Linear Digital Pots
(65)
(66) For this example, we will assume digital pot with 256 resistance taps. In this case, x as a decimal fractional rotation number from 0 to 1 has no meaning. The numbers 0 and 255 correspond to the ends of the pot, zero resistance to full resistance on the wiper. The internal resistor is divided into 255 nominally equal elements, and an 8-bit binary number, from 00000000 to 11111111 binary, or from 0 to 255 decimal, determines which tap is set. The pot either has a register which holds the number, or an up-down counter which moves the wiper up and down one position. The convention used here makes s=cos(θ) and u=sin(θ) for −π/2≤θ≤π/2, with 0≤s≤1 and −1≤u≤1. So s maps onto 0≤Ns≤255, and u maps onto 0≤Nu≤255. This breaks each of s=cos(θ) and u=sin(θ) into 256 discrete values, from 0 to 1 for s and from −1 to 1 for u. So the resulting sin and cosine plots are non-continuous. The number that is fed to the pot to set it must be an integer from 0 to 255. Math 13 shows how this number is set, given that the uC has sine and cosine math functions. The value of 0.5 is added before converting to an integer to properly round up or down. The resulting error in Math 12 tends to be ±1/255.
Int(y)=integer≤y
Ns=Int(255s+0.5)=Int(255 cos(θ)+0.5)
Nu=Int(127.5*(1+u)+0.5)=Int(127.5*(1+sin(θ))+0.5) Math 13.
Embodiment 5: Pseudo-Sine Approximation with Linear Digital Pots
(67) Unfortunately, not all micro-controllers come with trig functions in their math processing units. One very low power uC, which runs at about 100 uA (micro-amps) per MHz of clock rate, has 32-bit floating point arithmetic functions, including square root, but no trig functions or constant of Pi. This requires two different orthogonal functions which can satisfy Math 12, but not necessary those in Embodiment 3. Math 14 shows a set of functions, s(x) and u(x), which meet Math 12 with no error, and are orthogonal to each other.
(68)
(69)
(70)
(71) Math 15 shows an even better function, plotted in
Embodiment 6: Pseudo-Sine Pot Functions Adapted for FFT Algorithm
(72) The functions in Math 14 & 15 suggest the candidates in Math 16 & 17 to be substituted for sine and cosine in an FFT algorithm, when the uC has a floating point square root function, but no Pi constant or trig functions. In these cases, the variable of rotation is not 0≤θ<2π, but 0≤x<1; the frequency argument of cosine changes from (2πft) to simply (ft), and the FFT algorithm must be adjusted to scale accordingly.
(73)
(74) Math 17 shows an added correction to Sxm, prior to calculating Cxm, which reduces the error to less than ±1.5e-6 for Sxm, and less than ±1.4e-5 for Cxm. The precision of the coefficients is consistent with IEEE 754 32-bit floating point arithmetic. Listing 1 shows a Fortran-like subroutine to calculate the sine- and cosine-approximation return variables SXM and CXM from X and NORD. For NORD=0, a re-scaled Match 14 is calculated, for NORD=1, Math 16 is calculated, and for NORD=2, the correction in Math 17 is added before calculating CXM.
(75) TABLE-US-00003 Listing 1: Fortran-like subroutine to calculate Math 14-17 for a full cycle SUBROUTINE SUDOSC (X, SXM, CXM, NORD) REAL X(1), SXM(1), CXM(1) INTEGER NORD(1) XM = X MODULO 1 XM2 = XM MODULO 0.5 A= 2.0*XM2-0.5 A = A*A IF (NORD = 0) THEN SXM =1.0-4.0*A IF (XM <= 0.5) SXM = -SXM ELSEIF (NORD = 0) THEN SXM = 1.0-5.0*A+4.0*A*A IF (NORD = 2) THEN A = XM2-0.25 A = A*A SXM = ((-78.62897*A+0.7071068)*A+0.2629467)*A+SXM ENDIF ENDIF IF (XM > 0.5) SXM = -SXM IF ((0.25<XM)AND(XM<0.75)) THEN CXM = -SQRT(1-SXM*SXM) ELSE CXM =S QRT (1 - S XM* S XM) ENDIF RETURN
Embodiment 7: Micro-Controller Architecture for Humbucking Basis Vectors
(76)
(77)
(78) The cosine pot, P.sub.DCOS, feeds into the unitary gain buffer, BUFF1, which with summing resistor R.sub.S, and similar signals from other sections (BUFF2, R.sub.S, . . . ) sum together the humbucking pair signals, conditioned by the digital pots simulating the scalar coordinates, s, u, v, . . . . The feedback circuit on U3, resistor R.sub.F and digital pot P.sub.DF, provides a gain of −(R.sub.F+P.sub.DF(set))/R.sub.S, as set by the uC with the 3 lines controlling P.sub.DF. The output of U3 then feeds the ANALOG SIGNAL COND section in
(79) The uC shows 4 internal functions, one FFT section, two analog-to-digital converters, ADC, and one digital-to-analog converter, D/A. The FFT section can be a software program in the uC. Or an inboard or outboard Digital Signal Processor (DSP) can be used to calculate FFTs, or any other functional device that serves the same purpose. The D/A output feeds inverted FFTs to the ANALOG SIGNAL CONDitioning section either as audio composites of the result of the simulation of the humbucking basis vector equation, or as a test function of various signal combinations. It allows the user to understand what the system is doing, and how. It can be embodied by a similar solid-state switch to SW1 or SW2, switching the input of the ANALOG SIGNAL COND block between the outputs of the SUM AMP and the D/A.
(80) Ideally, the uC samples time-synced signals from all the humbucking pair signals simultaneously, performs an FFT on each one, and calculates average signal amplitudes, spectral moments and other indicia, some of which are shown in Math 20. It then uses this data to equalize the entire range of possible output signals, and to arrange the tones generated into an ordered continuum of bright to warm and back. The MANUAL SHIFT CONTROL is a control input that can be embodied as anything from an up-down switch to a mouse-like roller ball, intended for shifting from bright to warm tones and back without the user knowing which pickups are used in what combination or humbucking basis vector sum.
(81) For example, Math 18 shows a humbucking basis vector equation, for pickup A S-up and pickups B, C and D N-up, as could happen for
(82)
(83) So after the uC takes the FFTs of all the unmodified humbucking pair signals, via
(84) Regaining Some Analog Tone Control
(85) An ordinary electro-mechanical switching system does one thing which this system cannot do without another sub-component. It connects the tone pot and capacitor directly to the pickup circuits and allows the pickups to resonate with the tone capacitor for certain tone settings.
(86) This also comes with shifts in phase, which the player does not normally hear, because the standard tone pot and capacitor are normally connected in parallel with the output volume pot. But a tone pot and capacitor on the output of
(87) Notes on the Claims
(88) As something both underlined and struck through, this is obviously a comment not meant to be published or issued, explaining the need and purpose of a new section of the Specification. Otherwise, this is not a bad idea. Notes like this help to clarify the intent of the Claim language for any future dispute, and the USPTO should consider allowing them in some form.
(89) Claim 1 refers to all the Figures. Note how the two sensors in
(90) Claim 1 has been amended from the original Claim to add limitations. The invention works best with electric guitar string vibration pickups constructed with an electrically conducting coil wrapped around one or more magnetic poles. The magnetically permeable pole structure inherently attracts unwanted external magnet fields, from sources such as 60-cycle electric motors and power lines, generally called “hum”. But since the interfering source is generally much farther away than the vibrating ferro-magnetic guitar strings, it tends to be about the same strength at all the guitar pickups. Therefore the pickup coils, whether the coils of a dual-coil humbucking pickup, or the coils of single-coil pickups matched in response to hum, can be wired together to significantly cancel the hum at the output of the pickup circuit. The differences in pickup string vibration output among the pickups generally come from the polarity of the magnetic source field or the positioning of the pickup near or along the string vibration.
(91) Other types of vibration sensors, such as piezoelectric, light-sensitive, and others, which respond equally to some unwanted external signal, such as electric sources, light sources or gravimetric sources, can benefit from the same approach, if perhaps to a different extent. Claim 1.a has been amended with greater limitations to illustrate what types of sensors may benefit. Claim 1.c clarifies that if different types of sensors, or just different types of electromagnetic guitar pickup, are used on the same stringed instrument, or other device which can benefit, they cannot be interconnected with the building blocks of different sensors. In other words, if sensors A & B are one type in
(92) While this basic circuit is very simple, to one's knowledge it has not been applied in this field for the purpose of simulating “humbucking basis vectors”, so as to remove the limitations of mechanical switching from guitar pickup circuits, especially for circuits with more than 3 coils. Other applications of this approach may yet be found in other fields.
(93) For example, if for J=5 the circuit uses sensors A, B, C, D and E, all the possible switched humbucking pair combinations are A&B, A&C, A&D, A&E, B&C, B&D, B&E, C&D, C&E and D&E, the number of which can be calculated by the mathematical expression 5!/(2!*3!)=(5*4)/(2*1)=10. But we don't need 10 basic humbucking circuits to do that, since all the combinations can be produced from linear combinations of pairs of “adjacent” sensors in the sequence, A, B, C, D and E, just by setting the gains. Let the first “adjacent” pairs be A&B and C&D, feeding a first line of humbucking pair amplifiers. A second intertwined line of connecting amplifiers connect the “adjacent” pairs B&C and D&E, with E connected as shown for C in
(94) Note Claim 1.c. It shows how a combination of J>1 matched electromagnetic sensors can be combined a combination of K>1 matched piezoelectric sensors, and so on. These are not in the figures, but follow naturally from the basic design of the invention. A piano could easily use both types of sensors.
(95)
(96) SW1 in
(97) SW2 in
(98)
(99) Claim 6 sets up the definitions and embodiments of the variable gains in circuits illustrated in
(100) One can note that within these definitions and Claims, this system of continuous variable gains can simulate any mechanically switched system of humbucking pair signals merely by changing the gain functions from continuous functions into functions with step changes and a limited set of discrete values. Further, the discrete values can be scaled so that the final output amplitudes are equalized, regardless of any phase cancellations. This might also simplify mechanical or digital programming and satisfy a desire to restrict the output to tones to those that may be considered the most “useful”, according to preference of individual musicians, and in the order they prefer. This is not “new material” but a logical implication of the existing structure disclosed in this invention. From the user's viewpoint, it is functionally the same as ordering a set of particular tones, that are otherwise part of a continuous set, in the user's favorite order.
(101) For example, in U.S. Pat. No. 10,810,987, one could order the switched tones of one mode, ST (standard Stratocaster tones) or HB (humbucking), but not the other. In this invention, both sets of switched tones can be produced from the same three pickups, using the mode switch, SW1 in
(102) The various embodiments are necessary because not all manufacturers will have the same level of technical capability. One may be able to design and make surface-mount, printed-circuit micro-controller systems, up to the level of a smart phone, where another can only make electro-mechanical systems, and will be satisfied with that level, perhaps marketing products as “hand-wired”.
(103) Note that the physical controls for the variable gains preferably embody and approximate orthogonal functions. While the mathematical functions themselves cannot be patented, the embodiments can, whether as electro-mechanical potentiometers with particular resistance profiles (tapers) and connections, or as linear digital-analog solid state potentiometers with particular control algorithms in place of physical resistance profiles. In other words, in the opinion of this Applicant, even if the mathematical functions embodied in Listing 1 cannot be patented to keep anyone else from using them without license, especially in other applications, this embodiment in this application can be.
(104) Listing 1 illustrates the preferred algorithm. It is non-obvious and novel in part that it specifically targets any micro-power micro-controller which does not have orthogonal sine or cosine functions in its math processor, but only plus, minus, times, divide and square root. The algorithm approximates sine and cosine to several levels of accuracy, using only those functions, and thus enables the calculation of them for both variable gains and for the calculation of Fast Fourier Transforms to analyze the sensor signals. It does this for the eventual purpose of ordering the tones produced from “warm” to “bright” and back (the method and means of which is not yet fully defined), as a means of conveniently arranging the continuous tone outputs in a musically recognizable order which hopefully will be less confusing and more useful to the user/musician/guitarist. In using a micro-power uC, it has the added advantage running for longer times on smaller batteries inside the instrument. The different levels of accuracy in Listing 1 allow tonal resolution or selection to be traded off with computation time.
(105) Also, for J number of matched sensors/pickups, there are J−1 number of humbucking pairs, and the sum of squares gain equation reduces the number of necessary gain controls to J−2. In the case of a 3-coil Stratocaster (™Fender) guitar, the gains for each humbucking pair can be sine and cosine pots on one shaft, or pseudo-sine-cosine pots on one shaft, or multi-gang pots on a single shaft that emulate a couple of orthogonal functions, or digital pots with programmed orthogonal functions.
(106) [
(107) Another nesting strategy for J>4, could be to arrange the amplifiers and gains to handle two humbucking pair signals (i.e., A−B and B−C) with their own sine-cosine gains, two others (i.e., C−D and D−E) with their own sine-cosine gains, and so on, then multiply the sums of those signals by additional sine-cosine coefficients, i.e., {(A−B)cos(θ.sub.1)+(B−C)sin(θ.sub.1)}cos(θ.sub.3)+{(C−D)cos(θ.sub.2)+(D−E)sin(θ.sub.2)}sin(θ.sub.3). Nor do the simulated functions have to be sine and cosine; they can be any set of orthogonal functions. Sine and Cosine are just preferred for moving through the gain control N-space, as they tend to place successive points in that space equally apart.
(108) Note that only half of either sine or cosine function is needed, as shown in
(109)
(110)
(111) Here, the algorithm in Math 14-17 and Listing 1 calculates an approximation of sine to several levels of accuracy, then takes advantage of the trig identity cos.sup.2+sin.sup.2=1 to calculate cosine using the square root function. Unlike infinite series approximations of sine and cosine, in which the error grows as the independent variable moves away from the definition point, and with the increasing truncation of the series, this algorithm can be tuned through the coefficients, b.sub.i, in Math 17 to some minimum level of maximum error, according to some measure of error like mean-absolute-error, mean-squared-error or rms error, across the whole range of one-half cycle. If they are pre-calculated by the processor at the highest level of accuracy for a look-up table, then the calculation of the gains could be even faster than for a processor with sine and cosine functions.
(112)
(113) In this invention, the signal path stays entirely analog, from the sensors and optional tone controls in
(114) Claim 12 has been added to address an Examiner's Objection to “informal language” in Claim 1, expressing a preference for sensors with just 2 electrical output leads.
(115) Claim 13 has been added to emphasize the function of the final stage gain setting in the GAIN SET of