+ Post New Thread
Results 1 to 9 of 9
  1. #1
    Full Member level 1
    Points: 862, Level: 6

    Join Date
    Mar 2018
    Posts
    102
    Helped
    0 / 0
    Points
    862
    Level
    6

    Analog realization of trignometric function

    After a frantic search to realize sine/cosine functions in analog, I came across the patent reference https://patentimages.storage.googlea.../US4164729.pdf. Can anybody explain , how the linear approximation was arrived? (refer page 10)

  2. #2
    Advanced Member level 5
    Points: 19,237, Level: 33
    Achievements:
    7 years registered
    crutschow's Avatar
    Join Date
    Feb 2012
    Location
    L.A. USA Zulu -8
    Posts
    3,696
    Helped
    879 / 879
    Points
    19,237
    Level
    33

    Re: Analog realization of trignometric function

    Here's a way to approximate the sine function using an analog multiplier (from this paper.).

    Click image for larger version. 

Name:	Capture.PNG 
Views:	17 
Size:	139.0 KB 
ID:	156906
    Zapper
    Curmudgeon Elektroniker



    •   AltAdvertisement

        
       

  3. #3
    Full Member level 1
    Points: 862, Level: 6

    Join Date
    Mar 2018
    Posts
    102
    Helped
    0 / 0
    Points
    862
    Level
    6

    Re: Analog realization of trignometric function

    Can you please explain the circuit function



  4. #4
    Super Moderator
    Points: 53,434, Level: 56

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    13,050
    Helped
    2597 / 2597
    Points
    53,434
    Level
    56

    Re: Analog realization of trignometric function

    I have a hunch that patent writers tend to omit certain details about an invention, so as not to 'give away the store'.

    The article tells how sines and cosines are derived "by means of an approximation which forms the "heart' of the converter." As far as I can tell it's 'almost' but not totally explained in the diagrams and text.

    There is a network of weighted resistors but without values labelled.

    It's possible the author discovered a mathematical relationship between sines and radians, resulting in a particular waveform which he could apply to achieve more accurate results. Etc.

    And perhaps since then the inventor (or another person) found another method to do the same task, or a simpler method. Etc.



    •   AltAdvertisement

        
       

  5. #5
    Super Moderator
    Points: 53,434, Level: 56

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    13,050
    Helped
    2597 / 2597
    Points
    53,434
    Level
    56

    Re: Analog realization of trignometric function

    Resistor values are listed in the patent article, column 11. One wonders if such precision is needed (example, 8.1523k ohms, 1.9576k ohms).

    Anyway these seem to make up the ladder network. Just for speculation I suppose it could shape a ramp wave (linear) into a sinewave. The difference between the two is portrayed below. Resistor values could be determined by calculation and/or experimentation.

    Click image for larger version. 

Name:	sinewave (0 to 90 deg) superimposed on ramp wave.png 
Views:	1 
Size:	17.9 KB 
ID:	156933



  6. #6
    Full Member level 1
    Points: 862, Level: 6

    Join Date
    Mar 2018
    Posts
    102
    Helped
    0 / 0
    Points
    862
    Level
    6

    Re: Analog realization of trignometric function

    Few more searches let me to circuit diagram and equation as shown. I checked this in microcap. While it works perfectly for static digital inputs , but on dynamic inputs from counter, the circuit fails to converge. I think that the feedback system needs to be analyzed properly. Expert opinion would be higly appreciated. In the circuit, R1 is 1000 ohms and R2 is 562 ohms( Also checked with 555 ohms)

    Click image for larger version. 

Name:	Equation.png 
Views:	5 
Size:	18.9 KB 
ID:	156961

    Click image for larger version. 

Name:	Circuit.png 
Views:	5 
Size:	46.4 KB 
ID:	156962



  7. #7
    Super Moderator
    Points: 263,619, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,996
    Helped
    13987 / 13987
    Points
    263,619
    Level
    100

    Re: Analog realization of trignometric function

    I don't see how your circuit is related to the given rational approximation function. There must be two variable terms (D/A circuits controlled by the angle argument) and a circuit implementing a quotient. If I understand right, in the original tracking converter, the quotient operation is realized implicitly by comparing a numerator and denominator term and varying the angle argument, that's not feasible for direct implementation of the approximation.



  8. #8
    Full Member level 1
    Points: 862, Level: 6

    Join Date
    Mar 2018
    Posts
    102
    Helped
    0 / 0
    Points
    862
    Level
    6

    Re: Analog realization of trignometric function

    Consider 10 bit DAC. If Ei is set to 1V DC. Then by varying the digital inputs from 0-1023, Eo varies from from sin(0 to pi/2). By smaller manipulations, it is possible to get the entire sine wave.



    •   AltAdvertisement

        
       

  9. #9
    Advanced Member level 5
    Points: 9,872, Level: 23
    d123's Avatar
    Join Date
    Jun 2015
    Posts
    1,730
    Helped
    403 / 403
    Points
    9,872
    Level
    23

    Re: Analog realization of trignometric function

    Hi Brad,

    Quote Originally Posted by BradtheRad View Post
    Resistor values are listed in the patent article, column 11. One wonders if such precision is needed (example, 8.1523k ohms, 1.9576k ohms).
    FWIW from little me: To provide an observation based on a breadboard version of a multiplier/divider circuit using the jellybean part LMC6464 (quad op amp) + 2N2222As + measured (1% and 5%, but measured with ohmmeter before use to get calculated values required) resistors, and your knowing my basic level of ability - the resistors do need to be so precise or the results of the calculation are approximations. It's like a calculator that has no decimal point to calculate 2 ÷ 3, not much use for accurate results...

    Hope you're fine and well.

    Regards!


    1 members found this post helpful.

--[[ ]]--