-
1. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 Apr 13, 2017 5:07 AM (in response to azzbc_2215071)i forget to say that am using a psoc creator 4200L
thank u
-
2. Re: speed MOTOR BLDC (brushless)
rola_264706 Apr 13, 2017 7:06 AM (in response to azzbc_2215071)You will need an actual feed back from the motor shaft position. I would us a shaft encoder.
-
3. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 Apr 13, 2017 7:58 AM (in response to azzbc_2215071)yes the carte drive send an output speed, normally is a :
"output
Pulse signals (pulse width: 0.3 ms) of 30 pulses per revolution of the motor output
shaft are output in synchronism with the motor drive.
Motor speed can be calculated by measuring the SPEED output"sow i should calculate the the SPEED output, for that i try with a simple counter, in my inputpin i already prepare an pwm 182hz juste for test, then i send it to this input and then i send the answer with hid usb Command, her my code u can see if u want
Intel now it doest working !!, i don't know why ^^ :/
-
TCPWMExample02.zip 2.5 MB
-
-
4. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 Apr 13, 2017 8:01 AM (in response to rola_264706)i look for all the exemple her i didnt find any soft wich make us have the frequency or the speed motor o_o
thank u for your answear bobgoar
-
5. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 Apr 14, 2017 12:55 AM (in response to azzbc_2215071)-
mesure frequence.png 23.2 K
-
-
6. Re: speed MOTOR BLDC (brushless)
JobinT_31 Apr 18, 2017 11:43 PM (in response to azzbc_2215071)Hi,
The project you attached doesn't have the counting sections [TCPWMExample02.cydsn].
From the TopDesign snapshot, I am guessing interrupt is generated for the TC. Please attach the complete project.Jobin
-
7. Re: speed MOTOR BLDC (brushless)
JobinT_31 Apr 18, 2017 11:49 PM (in response to azzbc_2215071)Hi,
There is a counter example project already available in PSoC Creator using UDB. [PFA]
Jobin
-
Counter01.cyprj_.Archive01.zip 789.4 K
-
-
8. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 Apr 21, 2017 7:32 AM (in response to azzbc_2215071)i think with that example we could not read the input pulse!!
we just need a soft make us read a pwm pulse to calculate frequency and speed ^^
that why i propose to use counter but we need to connect him with an input pin ;), after ill send it to an application by using usb device
her take a look for wath i propose but it dosnt work yet !!!
need some advice thank you
-
9. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 Apr 21, 2017 7:39 AM (in response to azzbc_2215071)for testing my soft i use a pwm that i send after in my counter juste for test
-
10. Re: speed MOTOR BLDC (brushless)
AnkitaS_51Apr 24, 2017 11:22 PM (in response to azzbc_2215071)
Can you provide your complete project .cydsn file
-
11. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 May 1, 2017 11:40 PM (in response to AnkitaS_51)hi thank u ANKS, i was in vacation, her my project if you are interested
thank you ^^
-
Nouveau dossier.zip 5.0 MB
-
-
12. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 May 2, 2017 2:04 AM (in response to AnkitaS_51)hi ANKS, need a request plz :), wath do u think about the project ?
-
13. Re: speed MOTOR BLDC (brushless)
JobinT_31 May 10, 2017 1:55 AM (in response to azzbc_2215071)Hi,
Still the attachment doesn't have the required project "TCPWMExample01.cyprj".
We are getting error: Could not find a part of the path 'C:\Users\JOBI\Desktop\Cases\Q217\forum\azbida\Nouveau dossier\TCPWMExample02\Backup\P_SCANCUBE_v1\code\TCPWMExample01.cydsn\TCPWMExample01.cyprj'.And also the \P_SCANCUBE_v1\ folder is not available in the archive.
# open the project which have two TCPWM and USBFS
# Right click on Project 'TCPWM...' in workspace explorer
# Select archive
Jobin
-
14. Re: speed MOTOR BLDC (brushless)
azzbc_2215071 May 15, 2017 12:20 AM (in response to JobinT_31)hi jobin
sorry i was in vacation, didn't see you box ^^ , her my project you can tack a look if you want, steel have a problem with my counter
thank u ;)