How to Build an Artificial Synapse

  Рет қаралды 14,372

Global Science Network

Global Science Network

Күн бұрын

Пікірлер: 97
@ltkdt
@ltkdt 15 күн бұрын
This video deserves a lot more views. It is educational and amazing to see someone stimulating nerves with only eletronics components you can easily buy!
@GlobalScienceNetwork
@GlobalScienceNetwork 13 күн бұрын
Thank you! Hopefully with time it does get more views! Once people see what we can build with hardware based neural networks the interest in the content should increase!
@homeopathicfossil-fuels4789
@homeopathicfossil-fuels4789 10 ай бұрын
Dude you got the degree I wanted and seemingly living the life of my dreams, good going! Awesome! Aerospace engineer that builds artificial hardware neurons on breadboard in his pasttime, that is so cool, subscribed because this is 1:1 my interests.
@GlobalScienceNetwork
@GlobalScienceNetwork 10 ай бұрын
Sweet! Yeah defiantly follow along and I bet you will be able to help out! I should have some more good content rolling out soon.
@homeopathicfossil-fuels4789
@homeopathicfossil-fuels4789 10 ай бұрын
@@GlobalScienceNetwork I am by no means an expert, but definitely someone with passion for the fields involved in it, hardware SNN's interest me a bunch!
@Enigma758
@Enigma758 10 ай бұрын
Hi, This is very cool, you created a novel dynamic system that self activates! It's also aesthetically pleasing. As usual, I have a few questions and comments: 1. Is the diode really necessary since I don't think you need to protect against negative voltages? Maybe its purpose is to simulate an activation threshold at the "knee". 2. Is the self-activating pattern somewhat stable and deterministic, or somewhat random and chaotic? It's hard to tell from the video, even when slowing it down. Since transistors vary as they heat up, I would imagine there would be some variation. 3. Does the system form a complete loop (i.e. "recurrent")? In other words is the "first" neuron itself triggered by another neuron or is it just set to a fixed potential? 4. I could see that some configurations might settle out, stop cycling and reach a stable pattern. Have you experienced that? Have you determined the conditions for continous activation? Did you have to "tweak" it to get a stable active pattern? 5. BTW, I like your neuron video, did you produce that yourself? It's a very good animation! (Sorry I have so many questions 😊) Thanks!
@GlobalScienceNetwork
@GlobalScienceNetwork 10 ай бұрын
Good questions as usual. 1. The diode is needed so that when the synapse is off charge does not flow back to the ground. 2. Well the next video will explain how the neuron itself works. This video was just for the synapse. Since you asked though, the neurons are made with a Schmitt trigger used as a comparator to determine when the voltage is above a threshold value. The charge is flowing into the capacitor based on the resistor values. When the voltage in the capacitor is above the threshold the capacitor discharges. So I would say it is deterministic. 3. The input current going into the first neurons will be from some sensor. Right now it is just set based on the resistor value used. The neurons downstream are connected and are affected by all synapses that are connected to it. Each synapse can drive the voltage within the capacitor to be closer or further from the required threshold voltage to discharge. Depending on if it is an excitatory or inhibitory synapse. 4. As long as there are more excitatory synapses than inhibitory synapses feeding into the neuron it should fire in a continuous manner. In some cases, the inputs might be such that the neuron will not fire. Overall though the entire network will be continuously firing just like in the brain. 5. Thanks! The animations were made in Maya. I tried making them but there was quite a learning curve for Maya so I hired someone to make the animations. The animations are custom made though just for these videos.
@Enigma758
@Enigma758 10 ай бұрын
@@GlobalScienceNetwork Thanks for answering my questions. BTW, the diode-capacitor pattern is commonly known/used as a "peak detector". Again, nice production, pretty serious that you hired someone out for the video! I look forward to your upcoming videos!
@БидонКадыкавич-х2ц
@БидонКадыкавич-х2ц 10 ай бұрын
I am starting to think you are not joking in you intro
@GlobalScienceNetwork
@GlobalScienceNetwork 10 ай бұрын
Ha ha yeah, we are starting with the basics but I was not joking! Building neural networks with hardware is the future!
@yakut9876
@yakut9876 4 ай бұрын
In the end, hardware is better and more advanced than software and is more reliable. Although I do not prefer the hardware from electronics type.
@J.D-g8.1
@J.D-g8.1 4 ай бұрын
Very cool. To make it more similar a biologic neuron we need: -autoreceptors; ex; on a excitatory cell released neurotransmitter can bind to the post synaptic receptor which depolarize the post synaptic cell and cause an action potential, but it can also bind to pre-synaptic receptors to inhibit further release of transmitter. Autoreceptors/pre synaptic rec. are thus inhibitory. The cell/neuron will continously alter its expression of autoreceptors which in turn regulate how likely it is to propagate the signal to the next cell. Whether we actually need autoreceptors on artificial neurons idk, but as opposed to 2 neurons acting on a 3rd post synaptic neuron where the combined effect is either inhib. or stim., autoreceptors add the ability of the excitatory neuron becoming "more" or "less" excitatory depending on various input (hormones, etc) This is only needed in artificial neurons if we want f.ex to simulate "feelings"; i.e when "scared" the excitatory neuron has a more powerful stim. effect than when "calm".
@GlobalScienceNetwork
@GlobalScienceNetwork 4 ай бұрын
Interesting. We defiantly want to simulate "feelings" as this is part of life. I bet we could add this type of change into the circuit with a "light depending resistor" or something similar that changes based on some needed feeling parameter. Any other thoughts on how to build this in?
@Magic_Tee
@Magic_Tee 7 ай бұрын
I think that everyone who starts working with neural networks should start with this. I may be old-fashioned, but it’s hard for me to take seriously anyone who considers himself an "expert" in the field of neural networks, having never held a transistor in his hands and has no idea about the structure of a biological prototype.
@GlobalScienceNetwork
@GlobalScienceNetwork 7 ай бұрын
I agree 100 percent! If you follow along I bet you will be able to help improve these designs!
@nataliealliepage7155
@nataliealliepage7155 4 ай бұрын
I think that a lot of the neural network modelling is based on calculating values for variables in a mesh network based on their weights, much like the number of receptors activated to trip a synapse. But I do think a neural computer is a more interesting idea.
@alexsaptetrei
@alexsaptetrei 6 ай бұрын
Way above my pay grade. Kudos
@GlobalScienceNetwork
@GlobalScienceNetwork 6 ай бұрын
Thanks!
@peterward6465
@peterward6465 2 ай бұрын
I followed the setup at 5:25 but the blue light seems to turn on without me pressing the button. Could the resistors be the cause? If so, could you please tell me what the values are? I'm having a hard time seeing the colors (and still learning how to read schematics). Thanks
@GlobalScienceNetwork
@GlobalScienceNetwork 2 ай бұрын
Hi At 6:00 I show the transistor level schematic. The resistor values are shown but your issue is likely that you did not add a diode before the 10K potentiometer which is a variable resistor. You do not need to use the potentiameter and can just use a 2K resistor but you do need to have the diode in place.
@deepstories32
@deepstories32 6 ай бұрын
our human body is way more advance then we think ,its really amazing to learn all these
@GlobalScienceNetwork
@GlobalScienceNetwork 6 ай бұрын
Yeah, it is difficult to build a circuits that are comparable to the human body/brain, that is why we have not done it yet. Neuroscientist are sill trying to map all the connections in the brain and they have a long way to go. It is the only science project worth working on in my opinion though as the results have real meaning.
@yakut9876
@yakut9876 4 ай бұрын
What if electronic circuits are not the solution ? What if the solution was more natural and not consuming ?
@rockieroux5966
@rockieroux5966 2 ай бұрын
really appreciate it buddy , I learned something new, keep doing the great work kudos
@GlobalScienceNetwork
@GlobalScienceNetwork 2 ай бұрын
Thank you!
@arthence
@arthence 2 ай бұрын
This is everything i want to study. Thank you
@GlobalScienceNetwork
@GlobalScienceNetwork 2 ай бұрын
Sweet, follow along and start trying to build these circuits! It is a great way to learn.
@슬픈개구리-t4f
@슬픈개구리-t4f Ай бұрын
It looks very funny, and I think this is true artificial intelligence! If you use servo motors and sensors to create something that actually interacts with the environment, that's going to be crazy. I hope that this field will develop so that synaptic plasticity can be implemented and learning can be done
@GlobalScienceNetwork
@GlobalScienceNetwork Ай бұрын
Yeah, that is exactly right! I am working on a project to demonstrate a hardware based artificial neural network performing useful tasks. Having the network self learn will be a really important next step.
@computer-x6t
@computer-x6t 2 ай бұрын
imagine , this is the first thing our children do when you give them a kit
@GlobalScienceNetwork
@GlobalScienceNetwork 2 ай бұрын
Ha ha it actually would be a fun first circuit board project!
@computer-x6t
@computer-x6t 2 ай бұрын
yeah
@erikrodriguez7112
@erikrodriguez7112 Ай бұрын
A fascinating design. Very simple. I would LOVE to play with it. What transistors do you use in this? Other thoughts - ReLU can be used as a function of the neuron to control and adjust firing frequency while Tanh is very practical in functioning as the transfer function. As for the resistors to control the triggering event as well as the weights in the synapses, though this is not a pure analog solution - but is suitable until cost effective and functional memristors are available - consider the use of something like a digital potentiometer such as the MCP4012T. This would then make a dynamic neuron that would very closely emulate the function of biological neurons that is capable of adjusting while functioning and not needing manual adjusting of resistors. A simple computer - such as a raspberry pi - would be able to calculate feedback based on training set errors into the analog neural network. Another more advanced concept would be to incorporate a 'routing' system for analog signals to define connections from neuron to synapse - thus enabling a DNN to evolve over time given suitable numbers of analog neurons and synapses. Something to be considered if the above mentioned neuron/synapse designs can be proven then fabricated on chips.
@GlobalScienceNetwork
@GlobalScienceNetwork Ай бұрын
These are 2N2222 NPN BJT transistors or 2N3904. Either model will work. Your thoughts seem very valid and are similar to what I am thinking as well. I am going to try and build an all-analog version of the neural networks and see if I can get them to achieve some practical applications. Get some components and keep me updated on your build! It should be really fun! I plan to launch a competition to see who can build the best hardware bases artificial synapse, neuron, and network as well.
@HdShorts913
@HdShorts913 2 ай бұрын
Can you please tell me what type of transistor and diodes you used....
@GlobalScienceNetwork
@GlobalScienceNetwork 2 ай бұрын
The transistors can be 2N2222 or 2N3904. The diode was model number 1N4007 which is just a standard diode. Good luck with the build, let me know if you have any other questions!
@mtg-7452
@mtg-7452 Ай бұрын
Hi ,Nice vidoes.Can you also do some more breadboard circuits using transistors or ics.Its so coool
@GlobalScienceNetwork
@GlobalScienceNetwork Ай бұрын
Yes, there will be more upcoming videos using transistors and ICs. The next series is going to on neural networks and hardware based neural networks.
@homeopathicfossil-fuels4789
@homeopathicfossil-fuels4789 10 ай бұрын
Polarizing material between the optocouplers? You can do a lot of bioanalogous things with the raw optocoupler from a pair of LED's thing, you could even do volume transmission. Also opamps and memristors work great for creating spiking neurons.
@GlobalScienceNetwork
@GlobalScienceNetwork 10 ай бұрын
What do you mean by "Polarizing material between the optocouplers"? Do know of a good example/demo where opamps and memristors are used to create spiking neurons?
@homeopathicfossil-fuels4789
@homeopathicfossil-fuels4789 10 ай бұрын
@@GlobalScienceNetwork I found some examples on researchgate that checked out in falstad about two years ago, I'll have to go diving. I thought of something akin to polarized lenses, you can take two of those and have one rotate on a servo (very crude example) and use that to make an adjustable filter, LED's of different colours are sensitive to different forms of light, mostly from the plastic "bulb" being dyed. I had something that can be polarized electronically in mind but I forgot the actual name of the thing.
@suriyaprakashm4963
@suriyaprakashm4963 8 күн бұрын
What is the purpose of opto-coupler why not a simple direct connection?
@GlobalScienceNetwork
@GlobalScienceNetwork 8 күн бұрын
In this case the optocoupler is basically is a buffer. However the optocoupler could be modified to make it so the amount of charge transferred varies based on the amount of light and wavelength of light. The could be changed in a neuromorphic way based on the activity of the circuit.
@guilerms
@guilerms 2 ай бұрын
how do you think this can model the brain's plasticity? I mean, how can these artificial synapses rearrange themselves "at runtime" based on learning patterns?
@GlobalScienceNetwork
@GlobalScienceNetwork 2 ай бұрын
Well the textbook answer would likely be to use memristors. Basically these reduce the resistance with more activity. In reality though this is not a great model for how the brain actually learns. It is up to us to develop better hardware based synapses and neurons. The specificity of charge distribution is actually really important. I will talk about this more in upcoming videos. Basically if there are 5,000 incoming synapses only 50 of those connections may be from the output of another neuron yet it will fire in sequence. This is because of the location of the connections. Also when a synapse needs to be inhibitory for the logic to prevent the neuron from firing this can be done by changing just a few synapses at the right locations. In reality it may be that most neurons want to be firing at a higher rate but it is the inhibitory synapses preventing that. So by changing those few synapses it really lets you control that neurons firing rate. That is my thought at the moment.
@rupadarshisamanta3288
@rupadarshisamanta3288 18 күн бұрын
Can you share the circuit diagram? And components rating please.
@GlobalScienceNetwork
@GlobalScienceNetwork 18 күн бұрын
I show the transistor level circuit diagram in the video. It is in 4K so you can just screen capture it. Is there a rating of a specific component you are wondering about?
@virtuosomaximoso1
@virtuosomaximoso1 4 ай бұрын
How is the receiving LED producing enough signal to trigger anything. I didn't know LEDs could work that way.
@GlobalScienceNetwork
@GlobalScienceNetwork 4 ай бұрын
Yeah an LED can work like a solar cell, although it is not very efficient as the band gap of the material is higher than silicon's, 1.1 eV , which is typically used in solar cells. The small current that is generated by the LED is then amplified by using two transistors as an amplifier. I just used them cause I had the LEDs and the circuit would be similar regardless of the receiving component. You can also use photodiodes, phototransistors, or LDRs for the receiving side of the trigger.
@AugustineAriola
@AugustineAriola 3 ай бұрын
I wish you could simplify the circuit diagram because I'm facinated by this project and wish to explore this area of science. Can you include an article where all information can be sourced including the circuit diagram in discrete components not in modules
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
I am glad that you are interested in the project! If I did not show the circuit diagram with discrete components in this video, I should have in the artificial neuron video. When the diagram is shown at the logic gate level, you can see how to build each type of logic gate in the how to build logic gate video. It is good to start learning the logic gates first. Let me know if you need any help when you are trying to build the circuits!
@PrajwalAthare
@PrajwalAthare 3 ай бұрын
I wanna try building it ... Just to learn more about it ... Can you gelp me with some reference or anything else?
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
Great. I try to provide all the information you need to build them within the videos. If you have any specific questions, let me know, and I will try to help.
@ericsumma7654
@ericsumma7654 5 ай бұрын
The incident light in the room would act as an enhancing function to all neurons. Interesting.
@GlobalScienceNetwork
@GlobalScienceNetwork 5 ай бұрын
The light would add some charge to the receiving side. If we use the optocouplers that are in the IC packaging the outside light and light from other synapses would be blocked. It is a good point though that if we used a sensitive receiver in an open environment like this it could add charge to other synapses. That could actually be a design feature rather than an issue if we wanted one output to contact many other inputs without having to wire them all together.
@ericsumma7654
@ericsumma7654 5 ай бұрын
@@GlobalScienceNetwork Or allow a limited number of other neuron inputs to be coupled to a single (or more) neuron on a computational level. The problem as I see it is being able to get adjustable light signal levels from each input independently with minimal circuitry. :)
@orbismworldbuilding8428
@orbismworldbuilding8428 2 ай бұрын
That reminds me of reptiles. Reptiles are cold blooded and need outside heat to speed up their metabolism, metabolism effects speed and activity of neurons/brain. So reptiles generally are both more active and are more intelligent and respond to their environment faster when its hot/warm.
@isaacperaza1292
@isaacperaza1292 3 ай бұрын
🎉Guao eres un genio🎉
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
Ja ja ¡Gracias!
@akiliinstitute6819
@akiliinstitute6819 3 ай бұрын
component list?
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
To build the artificial synapse and neuron you need 10 2N2222 NPN transistors, a white LED, Yellow LED, blue LED, diode, variable resistor, 3 100K resistors, 220 ohm resistor, 3 2K resistors, 1 10K resistors, a 47uF capacitor, breadboard, 5V battery pack, and wire. If you watch the artificial neuron video I show the circuit diagram at the component level.
@RPG_Guy-fx8ns
@RPG_Guy-fx8ns 3 ай бұрын
I think you could just use a capacitor with a bunch of variable resistors as a neuron.
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
That would work for a basic neuron. To build neurons that learn and change over time we will need memristor, resistors, capacitors, and carefully designed synapses . It will be involved but it is good to start with a simple design and see how far we can go with that. It should be fun!
@yakut9876
@yakut9876 4 ай бұрын
But, aren't the LED damaged by turning on and off repeatedly ?
@GlobalScienceNetwork
@GlobalScienceNetwork 4 ай бұрын
I do not think the LED would be damaged, I have not had any stop working. The main thing that breaks LEDs is to much current. There is a current limiting resistor in the circuit. In a final design the LED would be Infared LED emitting IR light on to a photo diode or photo transistor. The LED work good though for a demonstration how the system works.
@davidirizarry6216
@davidirizarry6216 4 ай бұрын
Ty.
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
Sure thing!
@mahbuubalhasanakib3417
@mahbuubalhasanakib3417 20 күн бұрын
Bro i am from Bangladesh, I need a full circuit diagram.
@GlobalScienceNetwork
@GlobalScienceNetwork 20 күн бұрын
The transistor level circuit diagram is show for the synapse in this video. It is shown for the neuron and synapse in the how to build artificial neurons video.
@ShannonJosephGlomb
@ShannonJosephGlomb 4 ай бұрын
I need to see that put on a piece of silicone to see what it does ❤❤❤❤❤❤❤
@GlobalScienceNetwork
@GlobalScienceNetwork 4 ай бұрын
Yeah, eventually I plan to make that a reality!
@MrMadhavbroco7220
@MrMadhavbroco7220 10 ай бұрын
from the above video we conclude that we can build ann artifical oragnism and theN A COMPLEX ORGANISM
@GlobalScienceNetwork
@GlobalScienceNetwork 10 ай бұрын
Yeah, we can try and see if it works!
@henrylawrence5566
@henrylawrence5566 3 ай бұрын
Bro gonna develop AGI all by himself..
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
Ha ha this made me laugh! There are several paradox's in information theory that propose an individual can not duplicate enough information to create itself. So I am trying to get others to be interested in these types of projects!
@henrylawrence5566
@henrylawrence5566 3 ай бұрын
@@GlobalScienceNetwork I am interested just gonna have to keep trying I’m more of a written word person if that makes any sense I haven’t developed a good enough aptitude..
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
@@henrylawrence5566 That makes sense. If you are interested in these types of projects I bet you would be surprised what you could build!
@Hi_Tec
@Hi_Tec 4 ай бұрын
Wow
@GlobalScienceNetwork
@GlobalScienceNetwork 4 ай бұрын
Thank you!
@Hi_Tec
@Hi_Tec 4 ай бұрын
Having tinkered with transistors 50 years ago, it is nice to see how you are able to bridge the gap from that time to the dawn of artificial intelligence.
@mrthrowaway5414
@mrthrowaway5414 10 ай бұрын
Dude I thought you just joking
@GlobalScienceNetwork
@GlobalScienceNetwork 10 ай бұрын
Ha ha I was being serious! There will be some more good content coming soon!
@johnnypanrike8505
@johnnypanrike8505 3 ай бұрын
Suggestion: try to vary your tone of voice. Thank you otherwise for the video.
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
Ok, thanks!
@IOANCHRIST-GODSTEF
@IOANCHRIST-GODSTEF 28 күн бұрын
Neural Electronics Will Not Be Corespondent, Analogue To Biological Neurons, Biology Is Infinitely More!
@GlobalScienceNetwork
@GlobalScienceNetwork 27 күн бұрын
Well that is a fair position to take as the task to properly replicate the biology is immense. However, both are physically systems so they should be able to function in a similar way. The question in my eyes is can we do this within a reasonable time frame. It will be lots of work but I think we can achieve a system that is functionally equivalent.
@PAWANKUMARYADAVCDRI
@PAWANKUMARYADAVCDRI 3 ай бұрын
You literally milked the synapse clip. 😄
@GlobalScienceNetwork
@GlobalScienceNetwork 3 ай бұрын
Ha ha well it is important!
@MrMadhavbroco7220
@MrMadhavbroco7220 10 ай бұрын
dude you have built artificial synapes0 on breadboards just create something new make games on breadboards using transistors.
@GlobalScienceNetwork
@GlobalScienceNetwork 10 ай бұрын
Games would be cool as well but I think the artificial brains are cool as well! It will eventually become the most widely used/manufactured tech.
How to Build Artificial Neurons
11:05
Global Science Network
Рет қаралды 6 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,3 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
LTVision free pLTV tool from Meta - Predictive UA tool
6:44
RZAIN - A Community of Game-Changer
Рет қаралды 67
From Transistors To Tetris Part 1 : Computer Architecture
20:17
Lev Kruglyak
Рет қаралды 292 М.
Making Optical Logic Gates using Interference
15:15
Huygens Optics
Рет қаралды 240 М.
The Genius Behind the Quantum Navigation Breakthrough
20:47
Dr Ben Miles
Рет қаралды 1,3 МЛН
Electromagnetic Aircraft Launcher
15:09
Tom Stanton
Рет қаралды 2,5 МЛН
Bizarre traveling flame discovery
14:34
Steve Mould
Рет қаралды 4,7 МЛН
How 3 Phase Power works: why 3 phases?
14:41
The Engineering Mindset
Рет қаралды 2 МЛН
The Core Equation Of Neuroscience
23:15
Artem Kirsanov
Рет қаралды 184 М.
Building an artificial brain: 86B neurons, 500T synapses, and a neuromorphic chip
26:34
John Koetsier (tech, AI, & the future)
Рет қаралды 12 М.
Six questionably legal pencil sharpeners
28:32
Stuff Made Here
Рет қаралды 11 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН