matt_in_mtl
100 mW
- Joined
- Aug 13, 2008
- Messages
- 49
I have spent enough time on this forum reading about other people projects, it is finally time for me to stop skulking and give something back.
So, here is my first project:
It has a 49cc motor, single gear ratio (no variator). Here are the bits I'm going to use for the first phase of the build:
So, that would be 2x 6S 5000mah Lipo, a HobbyKing 90-100A cheapo ESC, a Turnigy 170KV 63-74 outrunner, and the thing without a case is a 130A Turnigy watt-meter. Finally I also bought a cheap 6S cell monitor to give me some form of LVC monitoring.
The aims of this little project are 3-fold;
1) get this sweet little moped on the road under BLDC power
2) you will notice that the watt-meter has it's cover off. In case you are interested, here is what it's insides look like:
It's a fairly simple circuit. The uC has it's top sanded to obscure it's part number, there is still the word 'ATMEL' visible. Also, you can see a 10-pin header on the top right of the board. I traced the circuit and was able to verify that it is a standard 10pin AVR programming header. I tried reading the program from it, but it did not work, it looks like they set the read fuse. Why am I interested in this? At $24 each, this is a very cheap platform for a roll your own CA/throttleizer type system. It already has a shunt and an LCD. It would not be too difficult to use this to read a 0-5V throttle signal and use it create our RC signal for the ESC. Furthermore, it already has a shunt so implementing a current based throttle system should not be too hard. According to the Atmel documentation it should be possible to reset the fuses on the uC, but that also means erasing the program memory which will make this board useless until I have the new firmware written. So, in the meantime I will piggyback an arduino on this to read the shunt, read the throttle and make my RC PWM signals.
3) After way too many hours of researching BLDC control (for work and personal interest), I have come to the same conclusion as most interested on the topic on this forum. That is, if you want full torque from 0rpm, then you need real-time position feedback from motor. So, I'm going to try using hall effect sensors to replace the BEMF feedback circuit on the HK ESC. This is sort of like the inverse of the little sensorless add-on board that people were excited about a year or two ago (hopefully it will have better results though
). I am hopeful that between implementing current based control of an RC ESC and hacking a cheap off the shelf ESC for hall based commutation, I'll be able to get some results worth writing about.
Thoughts, comments, questions are welcome. I know that this isn't the easiest/simplest way to get into this hobby, but this is more of an investment in learning/research than just having an ebike to ride. Also, here is a tool that may come in handy for the build, and that some of you may find interesting (since I know there are some here who share this particular interest):
-Matt
So, here is my first project:
It has a 49cc motor, single gear ratio (no variator). Here are the bits I'm going to use for the first phase of the build:
So, that would be 2x 6S 5000mah Lipo, a HobbyKing 90-100A cheapo ESC, a Turnigy 170KV 63-74 outrunner, and the thing without a case is a 130A Turnigy watt-meter. Finally I also bought a cheap 6S cell monitor to give me some form of LVC monitoring.
The aims of this little project are 3-fold;
1) get this sweet little moped on the road under BLDC power
2) you will notice that the watt-meter has it's cover off. In case you are interested, here is what it's insides look like:
It's a fairly simple circuit. The uC has it's top sanded to obscure it's part number, there is still the word 'ATMEL' visible. Also, you can see a 10-pin header on the top right of the board. I traced the circuit and was able to verify that it is a standard 10pin AVR programming header. I tried reading the program from it, but it did not work, it looks like they set the read fuse. Why am I interested in this? At $24 each, this is a very cheap platform for a roll your own CA/throttleizer type system. It already has a shunt and an LCD. It would not be too difficult to use this to read a 0-5V throttle signal and use it create our RC signal for the ESC. Furthermore, it already has a shunt so implementing a current based throttle system should not be too hard. According to the Atmel documentation it should be possible to reset the fuses on the uC, but that also means erasing the program memory which will make this board useless until I have the new firmware written. So, in the meantime I will piggyback an arduino on this to read the shunt, read the throttle and make my RC PWM signals.
3) After way too many hours of researching BLDC control (for work and personal interest), I have come to the same conclusion as most interested on the topic on this forum. That is, if you want full torque from 0rpm, then you need real-time position feedback from motor. So, I'm going to try using hall effect sensors to replace the BEMF feedback circuit on the HK ESC. This is sort of like the inverse of the little sensorless add-on board that people were excited about a year or two ago (hopefully it will have better results though
Thoughts, comments, questions are welcome. I know that this isn't the easiest/simplest way to get into this hobby, but this is more of an investment in learning/research than just having an ebike to ride. Also, here is a tool that may come in handy for the build, and that some of you may find interesting (since I know there are some here who share this particular interest):
-Matt