Jeremy Towers Posted August 26, 2010 Report Share Posted August 26, 2010 Hi I have a General Purpose PWM configured on Aux 5 of a G4 Xtreme. I understand this output can be used for High or Low drive and High or Low polarity. I would like to have High polarity to trigger a Mosfet switch, but it appears that when configured as a PWM neither the Drive nor polarity can be changed. Is that correct? Thanks Jeremy Quote Link to comment Share on other sites More sharing options...
Phil Williams Posted August 27, 2010 Report Share Posted August 27, 2010 Hi Jeremy, The ECU unfortunately can not high side drive with a PWM signal. There is no setting for polarity as this is not really needed with GP PWM. If you want to invert the polarity of a 30% PWM signal you simply subtract 30% from 100% to get the percentage that gives the same waveform of opposite polarity. Regards, Phil Quote Link to comment Share on other sites More sharing options...
Jeremy Towers Posted August 29, 2010 Author Report Share Posted August 29, 2010 Thanks Phil But I beg to differ about the polarity. I don't have a problem setting 20% as 80% and 30% as 70% etc, but I want to be able to set a condition to turn the PWM off. Unfortunately when conditions are not met the output goes high, which in my case is fully ON. Hence there is no way to turn the output off? Regards Jeremy Quote Link to comment Share on other sites More sharing options...
Rod Smart Posted August 30, 2010 Report Share Posted August 30, 2010 Jeremy Have you looked at some MOSFET drivers? Take the PWM output from the ECU through a inverting driver and drive your MOSFET from that device.. I have used the MC34151 device in the past for driving light regulation on LightForce driving lights (way back before they bought out their regulators) Quote Link to comment Share on other sites More sharing options...
Jurgen Biggelaar Posted August 31, 2010 Report Share Posted August 31, 2010 Hi Jeremy. Rod is on the money with that one. I have had a look at the datasheet of this chip and it would work very well for your purpose. Super easy to understand the logic, and has 2 in/outs... So you could do another PWM signal too For your info, attached is a small block diagram that I looked at. Jurgen Quote Link to comment Share on other sites More sharing options...
Jeremy Towers Posted September 4, 2010 Author Report Share Posted September 4, 2010 Thanks for the info guys. I will add the inverter to my Mosfet board as you suggest. Perhaps Link could add the polarity function at some point in the future?? Regards Jeremy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.