Zener diode in PIXHawk

   On the power connection page, it is suggested that we use zener diode for protection when using back up power supply. The connection suggested is to connect zener across the +5v and GND of the servo rails directly.

3691142342?profile=original

http://plane.ardupilot.com/wiki/common-pixhawk-wiring-and-quick-start/

 

   However when I read about zener diode, then the circuit to control voltage is suggested as follows.

 3691142409?profile=original

  Notice the resistor in series with the zener.  I understand that this resistor will consume the voltage which is excess to the required voltage. However in the connection suggested for PXHawk, there is no resistor.  In this case how is it able to regulate the voltage? My knowledge of electronics is limited, so I would appreciate an explanation of this.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • No, as I understand it the zener must be reversed.
    That's what it shows in the official http://ardupilot.org/plane/docs/common-powering-the-pixhawk.html#co...

    And I also researched elsewhere on the net as i wasn't sure about it.
    Powering the Pixhawk — Plane documentation
  • MR60

    The zener + should be connected to the servo rail +. 

    Chris said:

    Just to be clear. The zener diode and capacitor should be wired in parallel. Therefore the zener-capacitor combo are wired in reverse to the BEC correct?  I am using this youtube video as a reference where the guy wires the zener and capacitor to the BEC.

    https://www.youtube.com/watch?v=e6jDSCXQHAc

    Thanks

  • Just to be clear. The zener diode and capacitor should be wired in parallel. Therefore the zener-capacitor combo are wired in reverse to the BEC correct?  I am using this youtube video as a reference where the guy wires the zener and capacitor to the BEC.

    https://www.youtube.com/watch?v=e6jDSCXQHAc

    Thanks

  • MR60

    The objective of the recommended zener model is to trip (reverse avalanche) at 5.6V, in order to trim any short lived voltage spikes that are created by equipment connected on the servo rail.

    Therefore you should NOT use a 5V zener diode as it would trip all the time with a perfectly valid 5V power source connected on the servo rail.

    A zener diode that is connected correctly does not carry any current and therefore does NOT get hot at all.

    So, please stick to the recommendation of the wiki with a 5.6V, 5Watts Zener diode. NOT a 5V Zener diode.

    @Hein, Justin, you have understood correctly.

    • I feel like I need to jump in here and encourage everyone to not over think this zener thing.  Hugues has nailed this discussion perfectly and there is no need to go any further.  The single purpose of the 5.6v zener in question is to prevent a voltage spike from a secondary back up supply to the rails from triggering a shutdown of the APM.  If an external supply goes above 5.7 volts, that is what will happen, hence the zener clamp at 5.6v.  Nominally you would power the APM from a 5v power monitor board and for insurance, use an external UBEC at not greater than 5.3 volts attached to the output servo rail just in case your power module dies. That's all there is to it.  BTW, the banded end of the zener diode is the cathode and should be connected to the +5v side of the rail.  The unbanded end of the diode is the anode and should be connected to ground.  It is reversed biased in this case and conducts no current until the voltage exceeds the zener voltage and then it goes into avalanche and conducts current. 

       Happy Flying. 

      • Doug,

        Thank you for awesome explanation.

        I have a problem with the zener diode issue. I am using 5339 zener diode with a 10v 1000uf capacitor but I have noticed that when I want to use external usb adapter it does not power up the board while zener/capacitor plugged. If I unplug the zener diode/capacitor from the servo rail then external usb works. I have noticed that the LED on the external usb and my dragonlink receiver require too much current together and when I disable the dragonlink receiver then external usb works again (but this time zener plugged).

        Do you have any idea?
        Thank you

        Onur.

        • Are you running a secondary 5v supply (UBEC) to power the servo rail?  You would have to if your are going to power any other device from the servo rail.  Also, please verify that you have the zener diode in the correct polarity.  The end with the band on it should be connected to the + side of the servo rail.

            Doug

          • Doug,

            Yes, servo rail is supplied by 5v bec. (But you know while connecting the USB cable for downloading logs from the external USB adapter there is no power on the BEC).

            I have double checked the zener diode and capacitor polarity no problem with that.

            Tonight I found something. 2 servo wires are connecting my dragonlink UHF receiver with pixhawk board. One is PPM cable and the other is RSSI. When they are both connected on the receiver I cannot use the external usb adapter, but when I unplug RSSI cable then I can start the board from external usb. (does not change with/without zener)

            (Of course I have no issues with the normal battery startup and everything works.) 

            Should not be this much complicated...

            Thank you.

            Onur.

            • On the RSSI, use only a single wire from the DragonLink RSSI pin to the SBUS signal pin on the Pixhawk.
              • Iskess,
                I think I could not expressed myself well enough. Let me correct it.I use only one cable from pixhawk sbus to uhf rssi. The other cable I meant is from ppm to pixhawk rc in.
                Thank you.
This reply was deleted.

Activity

DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29, 2021
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25, 2021
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23, 2021
More…