element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Dev Tools
  • Products
  • More
Dev Tools
Forum Power protection on PSoC with regulated VCC
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Dev Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 9 replies
  • Answers 2 answers
  • Subscribers 77 subscribers
  • Views 1310 views
  • Users 0 members are here
  • l298
  • diode
  • gearbest controller board
  • power protection
  • psoc 4200 family
  • stepper
  • zener diode
  • cypress
  • motor controller
  • psoc
Related

Power protection on PSoC with regulated VCC

balearicdynamics
balearicdynamics over 8 years ago

Below the entire circuit I refer to (it will be part of an article as this last detail I will explain below is clear to me.

image

This is the schematics for a dual stepper motor controller. The PSoC 4200 series controls a couple of stepper motors through two GearBest Motor controller boards and it works fine. The 5VCC power for the PSoC is got from the extra 5VCC regulated power pin on the board while the GND is common. What I see is that in the final 5VCC power line from the board there is no diode protection; this is +5 VCC out when the board is powered (12VCC, 2A) but if I power off the board leaving the cables connected to the PSoC and the PSoC is powered through the USB connector, it tries (unsuccessfully) to power the board and the USB on the computer become unstable.

This experimental verification suggest me to put a zener diode between VCC and GND (the PSoC Power (+5V reg.) block in the design). What value do you suggest ? Or this is totally wrong?

 

Take in account that in theory the USB connection should not be used for normal production but for programming only but it is also possible that after the assembly the normal power line is not so easy to remove while for some reasons the PSoC should be reprogrammed via the USB.

 

thank in advance. Enrico

  • Sign in to reply
  • Cancel

Top Replies

  • rachaelp
    rachaelp over 8 years ago +2
    Hi Enrico, I don't think using a zener between VCC and GND will achieve what you want it to achieve. I'd suggest you need your VCC external input to the PSoC to be supplied through a diode with low Vf…
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to rachaelp +2
    Thank you Rachel! you are addressing me on the right way despite the low level of caffeine your grey cells seems working almost fine Enrico
  • shabaz
    shabaz over 8 years ago in reply to balearicdynamics +2 suggested
    Hi Enrico, I drew the sketch below to show my current understanding, I'm not sure if I've completely understood it or not. Does it look correct? I've labelled all the potential areas where things could…
Parents
  • rachaelp
    0 rachaelp over 8 years ago

    Hi Enrico,

     

    I don't think using a zener between VCC and GND will achieve what you want it to achieve. I'd suggest you need your VCC external input to the PSoC to be supplied through a diode with low Vf such that it it reverse biased when the board power is off and the VCC from the PSoC will not then power the board. The issue would be whether your generated VCC - Vf of the diode would be high enough as an input to the PSoC. I've not looked at the specs of the PSoC so I don't know what it's valid input range is. Possibly another way to do it would be to have a MOSFET to switch on the VCC to the PSoC when the board it powered. It'll be off and high impedance otherwise. It's early and I still have low caffeine levels so I will have a bit more of a think on this and if I come up with a better answer I will let you know image

     

    Best Regards,


    Rachael

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • rachaelp
    0 rachaelp over 8 years ago

    Hi Enrico,

     

    I don't think using a zener between VCC and GND will achieve what you want it to achieve. I'd suggest you need your VCC external input to the PSoC to be supplied through a diode with low Vf such that it it reverse biased when the board power is off and the VCC from the PSoC will not then power the board. The issue would be whether your generated VCC - Vf of the diode would be high enough as an input to the PSoC. I've not looked at the specs of the PSoC so I don't know what it's valid input range is. Possibly another way to do it would be to have a MOSFET to switch on the VCC to the PSoC when the board it powered. It'll be off and high impedance otherwise. It's early and I still have low caffeine levels so I will have a bit more of a think on this and if I come up with a better answer I will let you know image

     

    Best Regards,


    Rachael

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • balearicdynamics
    0 balearicdynamics over 8 years ago in reply to rachaelp

    Thank you Rachel!

     

    you are addressing me on the right way despite the low level of caffeine your grey cells seems working almost fine image

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube