EmbeddedRelated.com

Debanjan Datta (@DebD)

Currently pursuing M.Tech. in Machine Drives and Power Electronics from IIT Kharagpur, India

Re: Hall sensor Pattern

Reply posted 4 years ago (11/06/2019)
Strangely enough my IDE doesn't recognize "TRUE", which is why I had to write "! = FALSE"I've forgotten to call the ADC setup function inside the main(). Which...

Re: Hall sensor Pattern

Reply posted 4 years ago (11/06/2019)
I implemented the ADC part following the pseudo code. Could you please check if I'm on the right track!#include "STM8S.h" uint8_t x = 0; uint8_t H1 = 0; uint8_t...

Re: Hall sensor Pattern

Reply posted 4 years ago (11/04/2019)
Few questions...1. ADC_state = IDLE/ACTIVE. Has this got something to do with reading the status of some ADC register bit in C code? If not, what then?2. "//existing...

Re: Hall sensor Pattern

Reply posted 4 years ago (11/02/2019)
Thanks... a pseudo code was exactly what I was looking for. I'll try to implement this! Thanks again for suggesting the ternary operator to read the Hall States... I...

Re: Hall sensor Pattern

Reply posted 4 years ago (11/01/2019)
Hi! I'm back with another doubt... So right now I'm in a position to run the motor at discrete fixed speeds by changing the PWM duty cycle manually inside my code...

Re: Hall sensor Pattern

Reply posted 4 years ago (10/29/2019)
Hi! I'm back after a couple of months of untiring efforts. Glad to say I've been able to run the BLDC using the STMicroelectronics 8 bit microcontroller :) Here's...

Re: STMicroelectronics 8 bit MCUs

Reply posted 5 years ago (08/31/2019)
Sorry about the image quality of the schematic. I'm attaching the pdf of the board's user guide. Please scroll to page 15, to view the schematicen.CD00250600DISCOVERYBOARDDATASHEET.pdfScreenshot...

Re: STMicroelectronics 8 bit MCUs

Reply posted 5 years ago (08/31/2019)
Yes I'm using an Eval board. I'm attaching the image of the board schematics. I'm having issues with TIM1 CH1 and TIM1 CH3 pins, which are Port C pins 1 and 3 of...

Re: STMicroelectronics 8 bit MCUs

Reply posted 5 years ago (08/31/2019)
I was using my cellphone to edit it last night. Sorry for the delay! Is the code readable now?

STMicroelectronics 8 bit MCUs

New thread started 5 years ago
Hello! I'm learning to code an STMicroelectronics 8 bit micro-controller. I want to control a BLDC motor with this MCU for electric vehicle application. I'm using...

Re: Hall sensor Pattern

Reply posted 5 years ago (08/06/2019)
So let me get this straight... There's no need for a reference speed in open loop operation right? I'll have to make arrangements in software so that a variable...

Re: Hall sensor Pattern

Reply posted 5 years ago (08/05/2019)
Above is a block diag. of what I'm supposed to do with my motor as the first task.I've got a few questions regarding this :-- How to obtain duty cycle from speed?...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/27/2019)
I tried the exact same exercise that you've mentioned, yesterday. I've also identified the H1, H2 and H3 correctly by the phase shift in their waveforms.(It's come...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/27/2019)
When this table of mine is rearranged as per the hall sequence given in ti's table https://e2e.ti.com/blogs_/b/industrial_strength/ar...I get the ++z--z etc sequences...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/27/2019)
I was able to draw up a Hall Pattern vs Switching State table by observing the l-n generated vlgs. and hall patterns on scope (approximations involved ofcourse) Quite...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/27/2019)
Hi could you please check if I'm thinking correctly here- In one complete rotor rotation, there'll be 4 electrical cycles (8 pole motor) i.e. there should be 4...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/25/2019)
Can I know the source from where you've got these plots? Actually I found a commutation table on this website https://www.lucidar.me/en/actuators/commutation-fo...The...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/24/2019)
Thank You once again! This back-emf "Y" resistor method that you mentioned of (in an earlier comment as well, which I carelessly skipped) just caught my attention....

Re: Hall sensor Pattern

Reply posted 5 years ago (07/24/2019)
Hi! I'm back again after a day and a half of futile efforts...I tried to perform the test given in the ti discussionhttps://e2e.ti.com/blogs_/b/industrial_strength/archive/2013/12/20/generate-your-own-commutation-table-part-2I...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/22/2019)
Okay... after going through the following page I think I've understood what I need to do.https://e2e.ti.com/blogs_/b/industrial_strength/archive/2013/12/20/generate-your-own-commutation-table-part-2I...

Re: Hall sensor Pattern

Reply posted 5 years ago (07/22/2019)
Thanks a ton!! I think I'll be able to get the job done now. This forum is unimaginably helpful!

Hall sensor Pattern

New thread started 5 years ago
Hello! It's me again with another naive doubt. I have a BLDC motor and I need to power it using a 3phase bridge inverter. I plan to use 6 step commutation scheme....
Thank You all for the responses. Sorry I was busy attending to my sister who fell sick all of a sudden and needed to be hospitalized. matthewbarr and mr_bandit's...
Thank You all for the overwhelming amount of response within a day! Coming to matthewbarr's comment I'm enlisting the info. you asked for Sir(pardon me if it's...
Okay... So I need to run a 3phase BLDC motor from a 3phase bridge inverter. The PWM signals for the switches of the bridge need to be supplied from a microcontroller....

Use this form to contact DebD

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address