Candas1 / Arduino-FOC

Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
https://docs.simplefoc.com
MIT License
3 stars 2 forks source link

[BUG] #10

Open Candas1 opened 7 months ago

Candas1 commented 7 months ago
flowchart LR
    A-->B
    B-->C
    C-->D
    click A callback "Tooltip for a callback"
    click B "https://www.github.com" "This is a tooltip for a link"
    click C call callback() "Tooltip for a callback"
    click D href "https://www.github.com" "This is a tooltip for a link"
Candas1 commented 7 months ago
flowchart-elk LR

   motor((BLDC<br/>MOTOR))

    subgraph voltage
    iclarke[Inverse<br/>Clarke] 
    ipark[Inverse<br/>Park]
    driver[BLDC<br/>Driver]

   iclarke -- Ualpha --> ipark
   iclarke -- Ubeta --> ipark
   ipark -- Ua --> driver
   ipark -- Ub --> driver
   ipark -- Uc --> driver
   driver -- Pwm1 --> motor
   driver -- Pwm2 --> motor
   driver -- Pwm3 --> motor
   end

   subgraph current
   qpi[PID Current Q]
    dpi[PID Current D]
    clarke[Clarke] 
    park[Park]

    motor -- Ia --> clarke
    motor -- Ib --> clarke
    motor -- Ic --> clarke
    clarke -- Ialpha --> park
    clarke -- Ibeta --> park 
    park -- Iq --> qpi
    park -- Id --> dpi
    qpi -- Uq --> iclarke
    dpi -- Ud --> iclarke   
   end