Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

9 Neutral

1 Follower

About jmt30897

  • Rank
  • Birthday 08/30/1997

Profile Information

  • Location
    Pune, Maharashtra, India
  • EUC
    I don't own EUC

Recent Profile Visitors

137 profile views
  1. I know a company in China who is working professionally into cloning the PCBs and cracking the programmed microcontrollers, so that the code becomes visible to read. Here's their website: www.chinapcbcopy.com I guess they might help you with something...
  2. Okay, so here's the flowchart of the algorithm, which I have designed. It's a very basic one. Let us have some further discussion over this.
  3. What if, we use a trapezoidal/square wave control algorithm for developing our open source EUC controller? Reasons why we should go for it: 1.) Trapezoidal/square wave algorithm is the cheapiest and the easiest to implement. 2.) Implementing a sinusoidal or FOC control algorithm is very difficult and costlier to implement. 3.) From the above points, we understand that, the amount of effort and cost needed for developing a sinusoidal or FOC controller, is too much against as that of the trapezoidal/square wave controller. 4.) So, from point 3, what I think is, even if we are able to develop a sinusoidal or FOC controller on our own, we should not make those efforts publicly available for free. That's a trap. Real business lies in developing and selling the FOC or sinusoidal controllers as a product. So, I think, trapezoidal/square wave algorithm being easy to implement, and requiring less effort and cost to build one, strategically makes it the right choice for an open source purpose. Your opinions and comments on this are welcome.
  4. I have seen this Instructable already, which you have mentioned. Here, they aren't using a BLDC hub motor for building their EUC What they are using is a normal DC motor. So, they have managed to make an EUC, by using a normal DC motor. Following that Instructable, won't prove much helpful for our purpose. When its a DC motor, then the circuit which runs this DC motor and the code which is meant to run this DC motor are too simple, as against of a BLDC hub motor. In my opinion, migrating from this code and the circuit, to our purpose would become way too difficult. So, I feel we should not refer to that Instructable. So, what to do? I have a solution for this problem too! Here's another Instructable where in, few bunch of Polytechnic students from Indonesia, have successfully built their own complete electric unicycle using a 60V 500W BLDC hub motor. Here's the link to it: https://www.instructables.com/id/DIY-Self-Balancing-One-Wheel-Vehicle/ They've even attached some drawings and some part of their code, for this project. However, not much information is disclosed about the controller, which they're using. All I could understand is, they've used an STM32 microcontroller for this purpose. Besides that, you'd be amazed to see the results of their work, in this video. The work which these guys have done, could be our source of inspiration, for developing our open source controller. I had tried to get in touch with one of these guys, who have developed this EUC. I wrote an email, saying hello to him, but i didn't get any reply... Anyways, but the good part is that, now, we do have a reference code in our hand for developing an electric unicycle, using the STM32 micro-controller in this Instructable. Those who are well-versed with programming in Embedded C, could have a look at the code, and could give some review on it, on this thread.
  5. I would like to share my basic knowledge about the working of electric unicycles, so that further productive discussions can begin on this thread. I am making an attempt to keep this discussion in such a crude language, that any person, even if he/she doesn't know electronics, electrical, or computer programming, could easily make sense of what I'm trying to say. As far as I know, electric unicycles run on BLDC Hub Motors. The image pasted below shows, how exactly a BLDC Hub Motor looks like: BLDC hub motors are also known as, in-wheel motors. These hub motors, are specifically designed for electric vehicle applications. Over the circumference of your motor, there sits a tubeless tyre, which makes it completely ready to be used as a wheel, in your electric vehicle. A good example to explain my point is, if you carefully observe any electric moped/electric scooter/electric two-wheeler like the one, whose image is pasted here: In such electric vehicles, the rear wheel is always a BLDC hub motor. For those who are not familiar with what BLDC is, for now just remember few basic things: 1.) BLDC is an abbreviation for Brush-less Direct Current. So, a BLDC hub motor is a short word for Brush-less Direct Current Hub Motor. 2.) These motors provide the best torque output and are highly efficient and durable, as compared to other types of motors. That's the reason why, everyone prefers to use these BLDC hub motors, for manufacturing an electric vehicle. 3.) The construction of a BLDC hub motor is totally different than the normal DC (direct current) motor. For further information about its construction and all, you can always Google it. So, I won't be explaining the construction of the BLDC hub motor, over here, just to keep things simple, for now. 4.) Being able to rotate a BLDC hub motor, in a desired direction, with a desired speed, is NOT AT ALL A SIMPLE TASK!!! :/ For making the BLDC hub motor rotate in a desired direction, with a desired speed, you need a huge electronic circuit, which is referred to as "BLDC hub motor speed controller". To keep things simple for understanding, I'd say that, this speed controller is built using few switches (typically 6 switches, but however the number of switches may vary according to the construction of the BLDC hub motor). In such BLDC motor speed controllers, the DC power obtained from the battery of your electric vehicle, is plugged to one side of each switch, and the other side of the switch gets connected to the BLDC hub motor. These switches need to be switched "ON" and "OFF" in a desired sequential manner to deliver the power to the BLDC hub motor, so that the motor starts rotating in a particular direction, at some desired speed. If you wish to rotate the motor in clockwise direction, there's one type of sequence for switching. And, vice versa, if you wish to rotate the motor in anti-clockwise direction. There's a certain rate at which the switching of these switches happens. If you wish to increase/decrease the speed of your motor, then you need to respectively increase/decrease the rate at which these switches are being switched. The job of switching these switches is done by a very small computer, which is programmed to do so. To be specific, this "very small computer" is called as a micro-controller. Now, the image which is shown below, is of a principle of physics, which is referred to as "THE INVERTED PENDULUM PRINCIPLE". The electric unicycles exist today only and only because of this principle. I have pasted an image which illustrates the principle. So, according to this principle, A pendulum always attains a state of equilibrium, i.e. all the forces acting on the pendulum become zero, only when the pendulum is either at the middle position or the extreme positions. Now, if you happen to catch the bob of the pendulum, and if you happen to invert it by making it upside down, and now if you happen to release it, then, due to the Earth's gravitational acceleration the bob of the inverted pendulum, would naturally fall either forwards or backwards. So, a control system can be designed which can sense the direction where the bob of the inverted pendulum is going to fall, and the control system thus can prevent the bob from falling in that direction, by applying an opposite control action, to help and make the falling bob straight. That's how the electric unicycle works. I have pasted an image which illustrates the principle. In this image, the circular object which is drawn at the bottom, which is seen to be touching the horizontal, resembles the electric unicycle. The stick which is drawn emerging from the centers of those circular object resembles the body of the rider, which is leaning in some direction. The electric unicycle and the center of gravity (COG) of the rider, and the perpendicular distance between them, resembles the inverted pendulum. The COG here, acts like the bob of the inverted pendulum. Now, if the rider stands still, and doesn't lean his body in any particular direction, the inverted pendulum is balanced, so the electric unicycle doesn't move anywhere. Now, let's assume that the rider has leaned his/her body in a particular direction, just as shown in the image above, the COG automatically, is shifted forward, which resembles like the inverted pendulum is facing an imbalance. So, in this case, the control system of the electric unicycle, senses the direction of shift of COG, or the direction where the inverted pendulum is falling. Thus, after understanding that, the electric unicycle's control system balances the weight of the rider, in such position, and makes sure that the rider doesn't fall anywhere. And thus, while balancing the weight of the rider, the control system of the electric unicycle makes sure to rotate the BLDC hub motor in that direction where the rider is leaning his/her body. That's why if you stand on the electric unicycle and you lean forward, the electric unicycle takes you forward. The more you lean forward, the more it accelerates and takes you into that forward direction. And vice versa for backward direction. This is how electric unicycles work.
  6. I was not here for advertising. You didn't read my post clearly, and assumed that I was here for advertising. I said, I am already working on developing an EUC controller. @Chriull I am attaching screen shot of my designed PCB, in case you need a proof. I also said, I'd be happy to collaborate with others, who are already attempting to make a controller. Along with that, I said, I also run an Electronics Manufacturing Company in India, since the last 30 years. And I said so to clarify that, I being a member of this forum, can support manufacturing of the PCB, i.e. assembly of the PCBs here in India, with no quality issues. That's not advertising. And, I didn't even speak a word about what services I offer. I just posted the link to my website. It's up to the users of the forum, whether to visit that link, or not.
  7. Hello! I am from India, and I am already working on this project. I'd be happy and interested to collaborate! ...
  • Create New...