Channel Avatar

giant_neural_network @UCrBzGHKmGDcwLFnQGHJ3XYg@youtube.com

37K subscribers - no pronouns :c

Contact: giantneuralnet@gmail.com Discord: discord.gg/akUgSG


Welcoem to posts!!

in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c

giant_neural_network
Posted 3 years ago

34k 😵‍💫🤭🥰

17 - 7

giant_neural_network
Posted 4 years ago

Have you guys ever tried to do a handstand? It's hard!

That's why I'm strapping fans on my feet to help me balance. This Friday I'm posting the prototype. See you guys then!

17 - 2

giant_neural_network
Posted 4 years ago

Now to just get it to balance....

22 - 5

giant_neural_network
Posted 4 years ago

Wanna see some (un)classified government research!?

I found this government study from the 1960s that's been really helpful for my next video.

I'm going to be balancing something using EDFs (electric ducted fans), but what will it be? Oooh, such a cliffhanger. Update video coming in a week!

37 - 3

giant_neural_network
Posted 4 years ago

So.. I sped up the Q-learning.

The result is a much faster motor running from Q-learnin' alone! I also tried @Johnathon Selstad's suggestion of more sin wave-y control (their channel has cool VR stuff on it youtube.com/user/Zalo10/videos) and it seems to work slightly better than the standard 6 actions!

See ya in a few days.

29 - 0

giant_neural_network
Posted 4 years ago

I got a new toy! A Rigol DS1054Z Oscilloscope.

It's been super useful in debugging my motor driver circuit. The op-amps are failing to reach 0v and 5v leading to the MOSFETs not being switched fully on and off... So I'm going to go with some smaller transistors to drive the gates of the MOSFETs. Once I'm confident the driver circuit is working correctly I'll get back to implementing Q learning on the Teensy so the circuit can then learn to drive the motor to target angles!

If you've come across any driver circuit for BLDCs that I could drive with an arduino, DIY or IC circuits welcome, let me know! Would probably save me a lot of time as opposed to making my own, though it's been a fun learning process. Also if you want me to probe anything with the scope let me know and I'll try it!

13 - 2

giant_neural_network
Posted 4 years ago

BLDC Circuit update!

[Correction! Oh gosh I already made a mistake in the diagram... swap all N and P channel MOSFETs, the P channels should be above the N channels.]


So I've built the circuit you see below. It's definitely not the standard circuit to drive a BLDC motor, as I used op-amps to drive the gates of the MOSFETs.


This circuit works by connecting the three wires of the motor (going to the three coils on the right) to high or low voltage.


Example: connect top wire to Bat and middle wire to ground causes current to flow through L1 and out L2.


I connect the motor wires using MOSFETs. I use a Teensy 4.0 to send digital high and low (3.3V and 0V) to the IN1-IN6 gates of the op-amps causing them to rail to Bat voltage or ground. I haven't seen this approach used elsewhere and it may be utterly stupid, but so far it works!


The circuit is also embarrassingly missing any capacitors at all. I don't really know where to place them and what value to use. I believe they should be across areas of high current draw, perhaps across the battery terminals? I appreciate any feedback on what and where to place them!


If you think my design is complete garbage let me know! I want this to work and be robust and I'll be happy to make changes. Perhaps I should replace the op-amps with smaller transistors and some pull up resistors as I've seen in other circuits. Feedback is greatly appreciated.


I used www.circuitlab.com/ to make the diagram. However, be careful! The website locks you out after 10 or so minutes and wont allow you to reach your work without a paid membership (though I found a way to bypass this to at least get a screenshot! Shhh!).


Here's the parts I used (some of these are affiliate links):


N-Channel MOSFETs
amzn.to/2WEDpxD

P-Channel MOSFETs
www.ebay.com/itm/10-x-IRF9540-P-Channel-Power-MOSF…

Flyback diodes (really no clue if these will work.. they're massive too! Guidance please!!)
amzn.to/365koaK

LM358 Op-amps (I love these things ever since I took a basic electronics class, so useful!):
amzn.to/2WEDyBb

Teensy 4.0
amzn.to/2ZbEZsl

Video coming in three weeks!

16 - 4

giant_neural_network
Posted 4 years ago

New video next weekend, but in the meantime, parts parts parts! (Click the photo to see the BLDC motor too).


Most of the parts I ordered to create the physical motor driver have been coming in. Since I'm relatively new to electronics I only briefly looked over each one's datasheet, so no guarantee these will actually work together. If anything blows up I'll just replace it with a beefier version and iterate on the design.


The video next week will be about the simulation of the motor. I found an interesting way to control it, where the algorithm only needs to learn to spin it in one direction and gets the opposite direction for free! I'm excited to share.


Oh also I'm proud to say I got the Ben Eater (youtube.com/user/eaterbc) approved breadboard, the same one he uses in his 8-bit computers, the BB830, I can feel the quality haha. I'm ready to (accidentally) melt some plastic with high currents.


See you guys next week!

24 - 20

giant_neural_network
Posted 4 years ago

Hey everyone, I'm back!


I'm working on a new video about controlling BLDC motors with machine learning.

BLDC motors are becoming very popular, especially as drivers for robotic joints. Check out the MIT Cheetah which uses three large BLDC motors for each leg: news.mit.edu/2019/mit-mini-cheetah-first-four-legg…
Currently, to control a BLDC motor requires an ESC (Electronic Speed Controller) which energizes electromagnets inside the motor's stator in a very specific order causing its rotor to spin.

I intend to control the motor with a Teensy 4.0 however, using the circuit found halfway down this page: www.digikey.com/en/articles/how-to-power-and-contr…
Using the motor's angle as feedback, perhaps the Teensy can learn which coils to energize to get the motor to reach a target angle? That's the question I want to answer.


So far I have a simple simulation of a BLDC motor (pictured below) that does seem to learn. I'll cover more details in the video.

Also I will do a comparison with a traditional ESC for fun.

The video is still a few weeks out so I'd love to hear your feedback. If you see any potential pitfalls don't hesitate to share, that way I can address them and hopefully make a cool project!

I just dropped $200 on parts so wish me luck...!

42 - 16

giant_neural_network
Posted 4 years ago

Woah... 26k subscribers! Thank you!!!

It’s been over 2 years since my beginner series on neural networks.. but believe me you all have been on my mind daily.

Since then I’ve been busy. I went back to community college and then transferred to UC Berkeley.

Why go back to school? To study machine learning of course!

I want to learn the cutting edge of ML so I can explain it in easy, intuitive, and fun videos for you guys. I may throw in a robot project here or there too!

So... where are we at now? So far I’ve gone through the basic courses, calculus and linear algebra. I had some advanced classes in logic, probability and programming (recursion, trees) as well.

The next couple semesters will have more advanced ML specific content. I can’t wait to share the tools and knowledge I gain here with you all.

I’ll begin my next series once I see machine learning from a more formal perspective (I’ll keep it intuitive and easy though so don’t worry!)

So that leaves me with a question.

While I wait to make the next series, should I post random interesting ideas I come across in my classes? Like recursion, probability, least squares, linear algebra, etc.

I think they’re all helpful in a machine learning context, so perhaps you will too?

Thank you all for sticking around and supporting this channel. I value you all and your feedback!

Also feel free to comment on what you’d like to see and I’ll take it into account.

Jon

27 - 16