Author Topic: Doubt with a schematic. Detecting the BEMF.  (Read 395 times)

0 Members and 1 Guest are viewing this topic.

Offline joelsrfTopic starter

  • Newbie
  • Posts: 7
  • Country: es
Doubt with a schematic. Detecting the BEMF.
« on: May 03, 2022, 09:01:58 am »
Can anyone help me with the schematic part of the BEMF voltage divider? Thanks. What do you think A0, A1, A2 and D6 are doing? I think that D6 detects when it´s a 0 crosing and A0, A1, A2 detect during all the time if they´re floating or if they are active phases. So then, knowing with phase is floating and knowing how the other two phases are, we can know wich is the next step sequence.
 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3365
  • Country: nl
Re: Doubt with a schematic. Detecting the BEMF.
« Reply #1 on: May 04, 2022, 12:53:45 pm »
R13, R16, R17 are the top side and R12, R14, R15 are the bottom side of a voltage divider to get the motor voltage into the range of the ADC.

R20, R21, R22 take the average of the three motor phase voltages, and they mimic the "star" point of the motor

The microcontroller can now compare the phase voltages (A0, A1, A2) with the "star point (D6) to get very close to the zero crossing.

ATMEGA328 has an analog comparator. Is this comparator connected to D6 (and configurable to have any of the analog inputs for the other side?
 

Offline Picuino

  • Frequent Contributor
  • **
  • Posts: 730
  • Country: 00
    • Picuino web
Re: Doubt with a schematic. Detecting the BEMF.
« Reply #2 on: May 04, 2022, 01:31:33 pm »
I join the thread
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf