How does Magnetic Levitation work? || Crude Levitator circuit

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2018
  • $2 PCBs & Shipping Discount(up to $20) on First Order: jlcpcb.com
    Support me for more videos: / greatscott
    Previous video: • Random/Unscripted Q&A #2
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    You can get the schematic and more information about the circuit here: / 16383340
    Thanks to JLCPCB for sponsoring this video
    Visit jlcpcb.com to get professional PCBs for low prices
    Parts list: (affiliate links):
    Aliexpress:
    SS495A Hall effect sensor: s.click.aliexpress.com/e/_dXM...
    Electromagnet: s.click.aliexpress.com/e/_BfA...
    IRLZ44N MOSFET: s.click.aliexpress.com/e/_dWh...
    TC4420 MOSFET Driver: s.click.aliexpress.com/e/_d9e...
    PCB Terminals: s.click.aliexpress.com/e/_dYb...
    UF4007 Diode: s.click.aliexpress.com/e/_dYR...
    Ebay:
    SS495A Hall effect sensor: rover.ebay.com/rover/1/711-532...
    Electromagnet: rover.ebay.com/rover/1/711-532...
    IRLZ44N MOSFET: rover.ebay.com/rover/1/711-532...
    TC4420 MOSFET Driver: rover.ebay.com/rover/1/711-532...
    PCB Terminals: rover.ebay.com/rover/1/711-532...
    UF4007 Diode: rover.ebay.com/rover/1/711-532...
    In this video we will have a closer look at the subject of magnetic levitation. At first we will talk about the theory on how to achieve the suspension of a magnet in midair and then we will create a crude levitator circuit that did not work very well but still showcased how the main principle works.
    Music:
    2011 Lookalike by Bartlebeats
    Ecstatic Wave, Jens Kiilstofte
    machinimasound.com/music
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 734

  • @JasonMasters
    @JasonMasters 6 ปีที่แล้ว +66

    My first thought was three words: Pulse Width Modulation.
    Feed the electromagnet with fast on-off pulses and modulate their width to change how strongly it attracts the magnets, depending on the output of the hall effect sensor.

    • @JjMn1000
      @JjMn1000 3 ปีที่แล้ว +1

      Ok

    • @videogameplaythrough7043
      @videogameplaythrough7043 3 ปีที่แล้ว +1

      Excellent idea. A theoretical idea I had was to suspend plasma around a metal core inside of a magnetic field in order to suspend the material indefinitely.

    • @videogameplaythrough7043
      @videogameplaythrough7043 3 ปีที่แล้ว +1

      A sensor would be required to adjust for magnetic polarity.

    • @videogameplaythrough7043
      @videogameplaythrough7043 3 ปีที่แล้ว +2

      Now, theoretically speaking, is it possible to create such a thing in order to suspend a plasma like substance? I was considering a highly pressurized element about a hundred times more dense than osmium. The idea would be then to contain the element inside a magnetic chamber while being attached to a metallic core that could then be used to assist in suspending the element. The magnetic chamber would function as a shielding. A pin sized actuator could be installed, most likely created by another magnetic force which would allow for an exhaust or discharge in the event that it was needed. Now the idea goes further with plasma, not just a magnetic core, but creating an elemental compound. The compound itself would be suspended by the mixture rather than being held by a core. This new form of theoretical science could be exploited to create artificial gravity or a new system of propulsion for space travel.

    • @cndbrn7975
      @cndbrn7975 2 ปีที่แล้ว

      How about using - Harmonic Resonance Frequencies -
      In a power system when the system's natural frequency corresponds to the frequency of a source of harmonic current, "HRF" Occurs.
      Surround the "Magnetic Chamber" in an array of "HRF."

  • @julian-io5wl
    @julian-io5wl 6 ปีที่แล้ว +429

    I'am a german guy watching a german guy speaking english 😂

    • @madridistaone
      @madridistaone 5 ปีที่แล้ว +22

      the gramar was perfect but still sounds strange .

    • @overloader7900
      @overloader7900 5 ปีที่แล้ว +46

      @@martinda7446 I'm a russian guy reading about english guy reading about german guy watching german guy speaking english in English

    • @Max-fh7ij
      @Max-fh7ij 5 ปีที่แล้ว +19

      @@martinda7446 I'm a German guy reading about an English guy reading about a Russian guy reading about an English guy reading about a German guy watching a German guy speaking English

    • @skrcasm
      @skrcasm 5 ปีที่แล้ว +35

      @@Max-fh7ij I'm an Indian. I'm simply looking at various foreigners discussing about other foreigners.

    • @rojin5982
      @rojin5982 4 ปีที่แล้ว +3

      Omae va mou.. Shinderiu

  • @hughjanus6975
    @hughjanus6975 3 ปีที่แล้ว +2

    You have so many videos. I've been watching at least one daily for months and I'm still recommended unseen ones every day. Thank you for the content.

  • @mohamedtalaatharb2441
    @mohamedtalaatharb2441 6 ปีที่แล้ว +21

    Oscillations are inherent phenomena with on/off control, you will probably need to modify your circuit to have some form of PI or PID controller. It would be a good project to show how some of this concepts on a practical example like magnetic levitation or inverted pendulum.

  • @chiritamonica
    @chiritamonica 6 ปีที่แล้ว +180

    0:10 greatscott's magnetic fidget spinner

  • @Matthyske
    @Matthyske 6 ปีที่แล้ว +13

    A teacher from midschool designed something like that, and it worked great !
    He used a lightbulb and a big LDR on the other side (half of the LDR whas shade because the ball floated before the lightbulb), to get an analoge reading of the height. Than the used a PID-regulator to control the coil.
    He made it to demonstrate each action of the PID regulator.
    Nice project ! :)

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว +12

      Thanks for the feedback. I will integrate a PID next. Maybe even make a basics video while I am at it.

    • @Matthyske
      @Matthyske 6 ปีที่แล้ว

      GreatScott! Great :) i always enjoy watching your video's. A great source of insperation

    • @petar7790
      @petar7790 6 ปีที่แล้ว

      GreatScott! Hey Scott great project as always. You don't really need a PID, PI should be enough. Perhaps try with 2 coils on top of it and 2 hall sensors for better positioning in-between the coils.

    • @DruMsfR3aK
      @DruMsfR3aK 6 ปีที่แล้ว

      The main problem is the two point regulator. It creates a limit cycle in most cases, which causes oscillation (e.g. iron with bi-metal switch). Using a simple P regulator may not help either because of the instable poles of the system. You definitely need at least a PD regulator in order to stabilize the levitation system.

    • @Matthyske
      @Matthyske 6 ปีที่แล้ว

      DruMsfR3aK a digital signal is too crude i think, so analoge control of the coil is needed. PD regulator ? So if the magnets fall fast, the D will add will add a burst to compensate ? I think that will oscilate (magnet falls, Burst of coil, magnet rises again and proces repeats). And if the magnet hovers at the desired height, the D action does noting. The D action is usefull when you insert the magnet, to adjust the proces fast if the magnet is inserted. I think a I action is still needed to fine adjust to the perfect current trough the coil.

  • @bassamdawood9700
    @bassamdawood9700 6 ปีที่แล้ว +2

    Hello Great Scott ! The reason why this doesn’t work is because a magmatic levitation device is a second order non-linear system that can’t be driven by turning ON and OFF the current . You’ll need a PID controller to drive the coil with the proportional current required to levitate. Big fan of your videos! Keep it up !

  • @AmericanPiddler
    @AmericanPiddler 6 ปีที่แล้ว

    I absolutely love Magnets and The Great Scott Channel! Better than anything on TV!

  • @sagarshubham8660
    @sagarshubham8660 6 ปีที่แล้ว +2

    Great video as always :)
    We made one maglev project 2 years back. Ours used an arduino UNO and anlaog hall effect sensors(one attached to the bottom of the electromagnet and other similar to how you did). That helped us to apply a simple position based PID loop (actually just PD was used). Also, before adding the "floating" magnet, we measured the full swing of our electromagnet (800 Copper Coils powered by bench power supply with iron nuts in core). We also had to account for magnetic hysteresis in final demo, but that was easy as it just needed a few adjustments of Kp and Kd. All that hard work brought as 5-10 seconds of levitation at max.
    It seems your commercial electromagnet has little to no magnetic retention, so you will definitely get better results with PID implementation.

  • @deadbird99
    @deadbird99 6 ปีที่แล้ว +287

    4:30 too much caffeine lately? ^^

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว +95

      +X99 Possible

    • @nityodaytekchandani701
      @nityodaytekchandani701 6 ปีที่แล้ว +5

      xD

    • @zanpekosak2383
      @zanpekosak2383 6 ปีที่แล้ว +21

      GreatScott! Those tremors you got are pretty common with electronics. Also i found the higher the voltage the bigger the tremors. Every time I wire 400V 3phase my hands are shaking if I hold the cable when electricity flows thru...

    • @zen6591
      @zen6591 4 ปีที่แล้ว

      X99 mother board

    • @dushyantverma8890
      @dushyantverma8890 4 ปีที่แล้ว

      @@greatscottlab why do you rarely reply

  • @Will256
    @Will256 6 ปีที่แล้ว

    Very awesome video! I had always assumed that magnetic levitation just used static magnets, but now it makes sense that there needs to be a dynamic component to make it work correctly.

  • @TheBenJiles
    @TheBenJiles 2 ปีที่แล้ว

    His penmanship is the most amazing thing about the video.

  • @Xyz-77
    @Xyz-77 6 ปีที่แล้ว

    Finally! I have been waiting so much for this video!

  • @theincompleteeducation563
    @theincompleteeducation563 6 ปีที่แล้ว +7

    Another great video, always looking forward to the next one. I would suggest a different circuit which doesn't turn the electromagnet on and off but rather adjust the current flowing through the electromagnet such that it reduces/increases the current at a constant rate according to the hight of the floating magnet. You wouldn't get the oscillations and you'd be able to adjust the height of the magnet very accurately.

  • @deuce7986
    @deuce7986 6 ปีที่แล้ว +5

    This is a great video, it's extremely easy to follow and understand

  • @jthrush
    @jthrush 5 ปีที่แล้ว

    I built this same device years ago (only using an optical sensor rather than a hall effect sensor) when I was an engineering student just for fun. I had the same problem- it would oscillate out of control, no matter how sensitively you tune the threshold. The problem, I realized after some simple computer simulations, is that you are not accounting for the momentum of the suspended object. If you are only triggering the electromagnet based on position, then you have no way to dampen oscillations that will inevitably build up. How I solved this was to create a differentiation circuit that would, in effect, tell me the velocity of the object and then modulated the electromagnet using both the position and differential. A simple PID controller. I don't recall if I used an integration circuit as well so it might have just been a PD controller. Worked like a charm and I had a stable levitating ball bearing.

  • @kecoaberkacamata6128
    @kecoaberkacamata6128 5 ปีที่แล้ว +6

    as long as I know, you need to know the transfer function of your system in order to have a better compensator in closed-loop controller. nice video and thanks!

  • @HiMyNameIs392
    @HiMyNameIs392 6 ปีที่แล้ว +1

    Would be so interested in seeing you fixing this thing! Love your vids. Good job

  • @theprojectviewer15
    @theprojectviewer15 6 ปีที่แล้ว

    Another amazing video! I learn so much from your videos. Thanks again!

  • @ddkuo
    @ddkuo 6 ปีที่แล้ว

    Dude you're straight up awesome!!!

  • @MIsam-fv9kb
    @MIsam-fv9kb 6 ปีที่แล้ว

    Excellent video as usual

  • @kevintamez
    @kevintamez 6 ปีที่แล้ว

    Thats really awesome. Thanks!

  • @MCsCreations
    @MCsCreations 6 ปีที่แล้ว

    Fantastic work, man. :)

  • @theswissvaper
    @theswissvaper 5 ปีที่แล้ว

    Geile Sache Alter..... Habe dich abonniert

  • @TimeRemnant772
    @TimeRemnant772 6 ปีที่แล้ว

    Hey bro u have given an awesome idea for the minor project thanks. Always love your video.

  • @tokigami1780
    @tokigami1780 6 ปีที่แล้ว

    Yey
    U make my idea posted on facebook for random q&a video!
    Thank you!

  • @TomsBackyardWorkshop
    @TomsBackyardWorkshop 6 ปีที่แล้ว

    Cant wait for the next one.

  • @lucav4045
    @lucav4045 6 ปีที่แล้ว

    This is just amazing. I've seen Hacker Lab's video with the hoverboard And wondered about how this works. And now this : )

  • @cadtech8947
    @cadtech8947 ปีที่แล้ว

    Love your work your say real fact. Thanks

  • @jeecodetv
    @jeecodetv 4 ปีที่แล้ว

    Thank you for this video. We will try this too to one of our tutorial video.

  • @kvlpnd
    @kvlpnd 6 ปีที่แล้ว

    Wow... i was just waiting for your video. After all it was sunday today.

  • @adrianramos2229
    @adrianramos2229 5 ปีที่แล้ว +2

    I think if you use a microcontroller as an Arduino an make a PID control system using de analog part of the hall sensor it might work, with the PID you could vary the intensity of the magnetic field in the coil. Great Video!

  • @ZeroXAlAttas
    @ZeroXAlAttas 6 ปีที่แล้ว

    all the best mate!

  • @rafaelmarroquin4429
    @rafaelmarroquin4429 6 ปีที่แล้ว

    great as always :)

  • @perrodegraciaosondep
    @perrodegraciaosondep 5 ปีที่แล้ว

    Excelent explication great work !

  • @tobortine
    @tobortine 6 ปีที่แล้ว

    This is excellent please continue to experiment with magnetic levitation.

  • @cobaltdad
    @cobaltdad 6 ปีที่แล้ว

    Fun! As others have noted, a PID loop will solve this problem. And also don't directly control the on/off, use a PWM and have the PID control the on/off ratio of the PWM.

  • @videogameplaythrough7043
    @videogameplaythrough7043 3 ปีที่แล้ว

    Keep this up. Very promising for the future of mankind.

  • @HerobrineXDD
    @HerobrineXDD 2 ปีที่แล้ว

    Woah 🤩🤩 thanks for this explanation

  • @luis96xd
    @luis96xd 6 ปีที่แล้ว

    I liked very much this video, it was amazing, !

  • @aishwaryapratapsinghjadaun6083
    @aishwaryapratapsinghjadaun6083 6 ปีที่แล้ว

    you are brilliant man......... good job

  • @christopherraines7080
    @christopherraines7080 6 ปีที่แล้ว

    thanks for the video :]

  • @lotwizzard1748
    @lotwizzard1748 6 ปีที่แล้ว

    THE FORCE IS WITH YOU

  • @waltsteinchen
    @waltsteinchen 6 ปีที่แล้ว

    What you are trying to achieve is exactly what I build as my 'Facharbeit' ~30 years ago. Using a photoelectric sensor and a PID (Proportional-Integral-Differential) regulator made out of of 741's those days it finally worked like a charm. I think the original schematic was described in a very old ELECTOR. BTW. I'm a big fan of your videos!

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว

      Thanks for the feedback. Glad that your project worked out fine. I will see whether I might do a basics video about PID an use this levitator as an example.

  • @deltaray3
    @deltaray3 6 ปีที่แล้ว

    You may have failed but you came really close to succeeding and that was cool enough to see for this video.

  • @klausziegler60
    @klausziegler60 ปีที่แล้ว

    This is a great channel

  • @sato4kaiba
    @sato4kaiba 6 ปีที่แล้ว +2

    Scott, you need to have your magnet rotating to create centripetal force to ack as a gyroscope to balance the magnet at a single point in 3d space. You may want to change the vRef resistor R4 in the 1/2 voltage divider to a POT as you can then tune the circuit by changing the vRref. This way you can decrease the oscillations observed in the initial run of the experiment.

    • @joelperez88888
      @joelperez88888 9 หลายเดือนก่อน

      UFOs use same concept?

  • @DaPPlschamp33
    @DaPPlschamp33 2 ปีที่แล้ว

    This video is freakin awesome!!!!Hasselhoff rules!!!! Thanks for the vid

  • @ams0063
    @ams0063 6 ปีที่แล้ว

    I always love your videos and learn many things. I wish and would love if you keep making such videos.

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว

      Thanks, I will try to keep up my production :-)

  • @pramod_Kumar..
    @pramod_Kumar.. 6 ปีที่แล้ว

    Congratulations 700k subscribers!!!

  • @Rainbowang123
    @Rainbowang123 6 ปีที่แล้ว +3

    MagLev is a highly non-linear system. By using on-off state of control is insufficient, thus causing the oscillation. A conventional PID ocntroller isn't that encouraged to be implemented in this project too, except you apply model linearization beforehand. And I believe that the performance of the MOSFET isn't LTI (Linear time-invarient), thus suggest that first determine the LTI range of the MOSFET beforehand too.
    - A control system researcher, a Brian Douglas' huge fans -

  • @sirsundays
    @sirsundays 6 ปีที่แล้ว +1

    Plz, show to make a levitating earth. Had this idea once but couldnt imagine how to do it with just an permanent ring magnet. Would love to see a solution. Keep up the great work!

  • @BillySugger1965
    @BillySugger1965 6 ปีที่แล้ว +1

    Hey Scott, great video.
    Surely when you turn on the electromagnet it will disturb the magnetic field enormously and will create a huge hysteresis loop which causes the oscillation.
    Can you either: 1) add a variable feedback path around the comparator to offset the magnetic feedback, or 2) use a micro controller (or logic circuit) to pulse the electromagnet at high duty cycle and only read the comparator when the electromagnet is off and the Hall sensor is only influenced by the floating magnet?

  • @erdum
    @erdum 6 ปีที่แล้ว

    You are my teacher iam watching you around 2 years from pakistan love you keepitup

  • @felixruiztorrez5192
    @felixruiztorrez5192 6 ปีที่แล้ว +1

    Really good video. A bang bang controller. It would be interesting to see a video with a pid or optimal controller.

  • @savithrisaravanan
    @savithrisaravanan 6 ปีที่แล้ว +1

    geat scott...
    realy you are great

  • @harsh.thakkar
    @harsh.thakkar 6 ปีที่แล้ว

    Great project ,you could place a current carrying loop ( orelectromagnetic sensors )on the sides that turn on the electromagnet as soon as the magnet goes through it.

  • @yongxiangu6969
    @yongxiangu6969 6 ปีที่แล้ว

    I like your videos!

  • @proller14
    @proller14 6 ปีที่แล้ว +1

    +GreatScott! I think you should apply some sort of control loop based on the output of the hall sensor, to control the electro magnet, because this way it's only acts as an On/Off switch, that's why you have this weird oscillation.

  • @lolplayfelix-_-2713
    @lolplayfelix-_-2713 5 ปีที่แล้ว +2

    ok lets just keep it simple:
    german(native):
    okay du kannst einfach den ausgang infrarotentfernungssensoren an den pwm duty cycle von nem mosfet treiber anschließen
    english(not one of my strenghs):
    you could just use IR distance "sensors" and control the output as an pwm signal duty cycle of a mosfet driver

  • @eddievanhorn5497
    @eddievanhorn5497 6 ปีที่แล้ว +3

    Great job Scott!

  • @balazswensofszky3604
    @balazswensofszky3604 6 ปีที่แล้ว

    Pls do a vacuum tube (or power tube) basics! And keep up the great work! Ur doing an extraordinary job!

  • @gromyfpv4322
    @gromyfpv4322 5 ปีที่แล้ว

    Always a great project to watch! I wonder if you modulated the magnet driver at a high frequency if that would reduce the oscillation?

  • @pacmanptg4857
    @pacmanptg4857 6 ปีที่แล้ว +1

    great scott!!!!!!!!!!!!

  • @rajuns6911
    @rajuns6911 2 ปีที่แล้ว +1

    Super class Brother

  • @dhruvchawla5476
    @dhruvchawla5476 6 ปีที่แล้ว

    Your handwriting is so good wow

  • @nityodaytekchandani701
    @nityodaytekchandani701 6 ปีที่แล้ว +56

    Hey GreatScott please do a basics video on Schematic Diagrams !! Thanks!

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว +39

      It is on my to do list

    • @southjerseysound7340
      @southjerseysound7340 6 ปีที่แล้ว +3

      Not to take away from Great Scott because I too would like such a video.But in the meantime there is some great schematics info in some of Mr Carlson's lab videos if you're interested.But I recall them being just parts of his videos where he designed a project so it wasnt too in depth but still was some of the better stuff i've seen..

    • @william_mazza
      @william_mazza 6 ปีที่แล้ว

      Yes, I'm curios about GreatScott hand schematics "savoir faire"

    • @nityodaytekchandani701
      @nityodaytekchandani701 6 ปีที่แล้ว +1

      Okay thanks, I'm going to check that out.

  • @alisaberiq
    @alisaberiq 5 ปีที่แล้ว

    Great engineer !

  • @alexanderdrechsel6858
    @alexanderdrechsel6858 6 ปีที่แล้ว

    the end of this series is probably "Transrapid DYI" :) great vid

  • @johnjoseph8964
    @johnjoseph8964 5 ปีที่แล้ว

    very much satisfied thanks

  • @chrisproudlove1280
    @chrisproudlove1280 2 ปีที่แล้ว

    Left handed! Dangerously creative 😜

  • @apurvsharma1261
    @apurvsharma1261 6 ปีที่แล้ว

    Nice video bruh

  • @riccardotommasin3904
    @riccardotommasin3904 6 ปีที่แล้ว

    To make it work you could put a north polarity electromagnet on the top, a south one on the bottom and in the center place a magnet with the sane polarity as the electromagnets.
    Nice video.

  • @Hexor1211
    @Hexor1211 6 ปีที่แล้ว

    Whole schematic is very simple, so you can expect problems everywhere.
    If you want to stabilize position of levitating magnet, I would recommend to use analog value from HAL sensor instead of comparator ON/OFF and try to use PID control.

  • @aksavage8793
    @aksavage8793 5 ปีที่แล้ว +7

    You should try changing the magnets strenght instead of just turning it off.✌🏻

  • @timhooper3891
    @timhooper3891 4 ปีที่แล้ว

    love it!

  • @arunprashanth369
    @arunprashanth369 5 ปีที่แล้ว +2

    That was awesome great Scott !!! . Why don't you try to built like electro magnetic bed consisting of electro magnets and by hall effect sensors energieing the bed's only part by deviations caused by the magnet which would probably results in stabilised position with continuous change of equilibrium position

  • @publicmail2
    @publicmail2 6 ปีที่แล้ว

    Yes a tighter offset, I have a levitation globe and you can hear it around 10Khz oscillating. I am surprised it can feedback fast enough to find the perfect attracting magnetism, it's very delicate.

  • @tuhermana205
    @tuhermana205 6 ปีที่แล้ว +8

    I will soon become a patreon, just to support you man

  • @theaverageredneck8426
    @theaverageredneck8426 6 ปีที่แล้ว

    People liked the video so much that they turned their screen around and pushed the like button

  • @basdenhengst9578
    @basdenhengst9578 11 หลายเดือนก่อน

    Bros writing is magnificent

  • @sarasonu1436
    @sarasonu1436 6 ปีที่แล้ว

    I was waiting when you will make a video about magnetic levitation

  • @doufasmilz485
    @doufasmilz485 6 ปีที่แล้ว

    Nice tutorial

  • @richardhoch5080
    @richardhoch5080 5 ปีที่แล้ว

    Please make this working *-* it's so cool

  • @leonelgouveia7573
    @leonelgouveia7573 6 ปีที่แล้ว

    I did a project just like this for university ! I think the problem you are having might be that your electromagnet also affects the HES. To fix this we used a substractor circuit to substract the influence of the electromagnet so that the hall effect sensor always gives an indication of the position of the magnets :) pm me if you want to talk about this

  • @noahpfluke6981
    @noahpfluke6981 6 ปีที่แล้ว +1

    What if you used the analog pin from the hall sensor and had that control the duty cycle of a pwm signal to the electomagnet.
    That would seem to keep it from turning on/off, but it would create smoother adjustments as the footing magnet moves

  • @pawewolny8499
    @pawewolny8499 6 ปีที่แล้ว +2

    Great video!
    Could you make a video about acoustic levitation?

  • @priyabratasadhukhan6435
    @priyabratasadhukhan6435 5 ปีที่แล้ว

    Place the hall sensor just under the electromagnet. You are placing the sensor long away from the floating magnet. In this configuration the hall sensor cannot detect the slight change in position of the floating magnet from the magnetic field because of inverse square law. The sensor can see significant change in magnetic field only when there is large displacement of the magnet, but in that case the magnet is already at a long distance from the electromagnet which takes time to get it back to its intended position after switching on the electromagnet. This initiates oscillation. I have done it with similar setup and its nicely stable.

  • @RockyFPSIndia
    @RockyFPSIndia 6 ปีที่แล้ว

    Great Buddy !!! like

  • @joelarenas1544
    @joelarenas1544 5 ปีที่แล้ว

    Buen video brother yeaaaa

  • @majkoce
    @majkoce 6 ปีที่แล้ว +1

    I think that you will need to use PID controler in your code. It get's rid of the oscilation and after fine tunning it your magnet will be levitating steadily.

  • @NicolaPalavecino
    @NicolaPalavecino 6 ปีที่แล้ว

    Great video man! The magnet does not levitate properly because it’s a non linear system. To control it properly you have to linearize it in an operation point and design a linear control for it (maybe not PID). There’s a lot of information out there for this system and you would probably need a MCU for that. Best regards!

  • @mogami28
    @mogami28 3 ปีที่แล้ว

    Nice thank you

  • @RodaHathara
    @RodaHathara 5 ปีที่แล้ว +4

    First time seeing cute writings with a LEFT HANDER

  • @Haellsigh
    @Haellsigh 6 ปีที่แล้ว +1

    I think you might need a proper PID regulation with a PWM signal driving the MOSFET for this one to work. Great video.

  • @franciscojaviersanabriarom9523
    @franciscojaviersanabriarom9523 6 ปีที่แล้ว

    Great video
    You have thought about designing a PID for this project? would be fabulous
    thanks for share your knowledge

  • @lunarchsbrain2125
    @lunarchsbrain2125 6 ปีที่แล้ว

    Worst cliffhanger ever! I was already trying to build it...
    Maybe the board is not fast enough to compensate the changes of height, as you proposed at the end of the video, but it was worth to try changing the position of the board itself. It could work on the side of the magnet, where maybe the variations of magnetic field are less intense. Probably it requires a lot more work to calibrate it though.
    Amazing video as always :)

  • @lithium7590
    @lithium7590 8 หลายเดือนก่อน +1

    Is there a pre-made board sold commercially that controls electromagnets like this? I'm looking for one for my levitating sneaker display project but unfortunately I'm not too into the technical electronic stuff and not able to create a board like you did.

  • @EVRLYNMedia
    @EVRLYNMedia 6 ปีที่แล้ว +91

    Do you keep all of the paper you write on during videos?

    • @pranalisarpotdar8203
      @pranalisarpotdar8203 4 ปีที่แล้ว

      @calculatinGenius I would

    • @dylanmckeon6897
      @dylanmckeon6897 4 ปีที่แล้ว +4

      They'd be worth huge money one day. Magnetic forces that are positive and negative connect, now positive and positive. They won't connect in fact rebel from each other. Put weight on one of the magnets while other magnet is in opposing position.

  • @reggiep75
    @reggiep75 6 ปีที่แล้ว

    I had a feeling that an electromagnet and voltage oscillation would be the solution and I don't even do electronics, I just enjoy interesting subjects and content on TH-cam.