Jump to content
Electronics-Lab.com Community


  • Posts

  • Joined

  • Last visited


Everything posted by MrHeckles

  1. Out of curiosity has anyone found any advantage in using a switching voltage regulator, rather than the LM317, for a variable power supply?
  2. I set the voltage difference pins on the gate and the source for the FET. Based on that I have moved the diode D6 to connect to the 12v supply, rather than the motor supply. That way it gives about +11 volts over the drain voltage to the highside gate (regardless of what the motor voltage happens to be). On the gate of the highside, I can see that the spike on the gate is about 6v above the source. I am guessing that it is enough to start turning on the FET and allow the shoot through. Slip of the tongue (so to speak). I did indeed mean P channel. No, but you do drive a tank with two hands on the brakes. The whole unit has two motors (one for either side), and castor wheels at the front. The steering is provided by a joystick that sets differing motor speeds. The reason I need quick speed reduction for the motors via the braking action is so that the thing will respond quickly to steering inputs, rather than waiting for the inside motor to coast to a slower speed.
  3. Thats exactly what should be happening. It's a fantastic braking method for the motor. It allows for very tight speed control. With the highside FET then turning back on, it gives very nice regenerative braking. The highside gate goes up to 22v or so, the spike is only around 14v-16v, just enough to start it shooting through, though not enough for a full turn on. How would I go about clamping the spike when the required gate voltage is higher than it anyway? I have seem the 4qdtec site. Thats where I got alot of information about the first motor controller. They dont think switching the highside FET is a good idea, but I cant get decent PNP Mosfets in New Zealand for a reasonable price.
  4. Is there any good way to do that apart from sticking a larger resistor on the gate of the highside FET with an anti-parallel diode?
  5. I have used R13 and L2 as a basic simulation of a motor. M7 is supposed to remain on all the time. The PWM chopping for the speed control is done via M6. The motor is only supposed to drive one direction at this stage. M5 (I think this is other other lowside fet you are talking about) operates inversely to M6 which provides a very tight control on the motor speed. If the motor is driven faster (by the momentum of the unit it moves) than the current setting, a regen braking effect will cause it to slow down and maintain the selected speed. Your right, I did forget the miller effect. Is there anyway I can stop the drain gate capacitance from causing the spike?
  6. Thanks Jim, I tried that, but it didnt seem to make any difference to the spike. I have sorted out some pictures. 1st, the circuit setup 2nd, the voltages from the probes in the first picture [img width=680 height=303] and a zoomed in view of the spike [img width=680 height=298] finally, this is a trace of the amperage through the highside mosfet. You can see how the spike is causing the shoot-through. [img width=680 height=308]
  7. Hi guys. A while back I ask for, and received, a whole lot of help in regards to creating a motor controller. Happily it all worked out well in the end. I have recently decided to redesign the controller. Now I'm using pSpice to cut down on blowing up components. The circuit I have uses an SG3524 PWM chip to provide a pulse train to a discrete highside gate driver, and the inverted pulse to a lowside gate driver. The idea being that I can get very quick speed responses to throttle changes on the motor, and can use it for regenerative braking. The fets are all N-channel. In my pSpice simulations it works reasonably well, however there looks to be a small shoot-through occuring due to a voltage spike on the high side mosfet's gate when the lowside mosfet turns off. I am working on getting pictures - but in the mean time, is there anything anyone can suggest that might cause such a thing?
  8. One simple question about the SG3524 regulating PWM chip. The error amp inputs are pins 1 and 2, the output of the error amp (and the compensation) pin is pin 3. The current limit amp inputs are 4 and 5. The current limit amp will over ride the output of the error amp. My question is, if I was to drive the voltage on pin 3 directly, would the output of the current limit amp over ride it to drop the duty cycle in the event of an over current detection?
  9. Hi guys, I have a motor controller that uses the SG3524 chip to generate a PWM pulse. This is sent to mosfet drivers which run an H bridge setup. The onbard current limiting is resulting in a "jerkiness" of the motor when it starts to hit the 0.2v limit on the CL + pin of the SG3524. The current limiting in the SG3524 is supposed to reduce the duty cycle to 25% as the CL+ pin reaches 0.2v and then further to 0% when it goes above 0.2v. I figure that because a motor controller is going to drop the current as soon as the limiter cuts the PWM duty cycle back, the "jerkiness" is from the duty cycle being dropped to 0%, and the current limiting turning off, then turning the pulse train back on, resulting in a high current, resulting in the duty cycle dropping to 0% again, and so on. I was wondering if anyone had any suggestions for a way to provide some way of smoothing this out? Any ideas much appreciated.
  10. I have found the ICL7660 voltage converter chip to be very helpful. Here is a link to a datasheet for it. http://www.alldatasheet.com/datasheet-pdf/pdf/67436/INTERSIL/ICL7660.html
  11. Got it sorted now. I had changed the comparator to the -5v rail, and I figure that the -5v through the max333cpp was too close to V-. I changed it back to -9v for the comparator and it works fine. I also put in the reverse diodes to protect the transistors bases. Staigen - the -5v comes from a regulator elsewhere in the circuit (part that wasnt important to the original question, so I didnt bother showing the whole thing). Works a treat now - thanks guys.
  12. I'll keep it in mind :) But I had another idea. I changed PIN's 2 and 17 to connect to -5v, rather than ground. That way I figured it would drag the comparators + inputs to a negative voltage (and turn them off). However, it didnt seem to work. When I changed the switch, the LED's would flick off, then come straight back on. On checking the outputs of the comparators, I found that when the switch was changed, they would drop voltage for a moment, then go back up again, in effect turning off for a split second, then back on again. Why would this be happening if there was a negative voltage on the + input to a comparator and 0v or very slightly positive on the - input?
  13. I have hooked the negative 9 volt rail to the MAX333CPP. The voltage on PIN 3 when it is supposidly grounding is now 0.08v. Lower, but not low enough to turn off the comparator. What is this other solution of yours?
  14. Its a bit hard to describe, so heres the setup As you can see, when the switch is open, and as long as there isnt to much voltage on the load signal feed, the forward comparator will latch on, turning on LED2. When the switch is closed, it SHOULD ground the forward comparator (thus turning it off) and turn on the reverse comparator (assuming that again, there is not too much load signal) and latch on, thus turning on LED1 (and turning off LED2). However, the MAX333CPP doesnt seem to ground PIN 3 or 18 very well, and the comparators do not turn off, and so the LED's stay on. Is there some way to get a good grounding through the chip for those forward and reverse limit feeds to the comparators?
  15. Yes, it does work now (with the 10k resistor), with only one small problem. The number 1 SPDT and the number 4 SPDT in the chip are connected to latching comparators that stay on once a mode is selected (by the switch), and indicate through an LED. To turn the comparator off when the mode is switched (and turn on the other one), they are grounded through the MAX333CPP. Problem is that (I assume due to the internal resistance of the chip) even when PIN 3 is connected to PIN 2 (ie grounding it), there is about 0.12v on PIN 3 which keeps the indicator LED on, regardless of the actual mode selected. Is there anyway to overcome this so that when in the appropriate mode (via the switch) that PIN 3 and PIN 18 ground properly through their respective connection?
  16. It doesnt mention anything in the datasheet, but is the MAX333CPP capable of putting signals both ways through the switches like the CD4066?
  17. Sorry guys, okay here we go. This should make things clearer. The "forward and reverse limit" connections go straight to the + input of a LM4558 dual op amp. The "limit in" connection will be around 0.1v and no more than 1mA. The "forward and reverse value" connections should have no more than 1mA, and as you can see is +5v in. The "forward and reverse signal" connections would have a max of +12v and 12mA. The PWM signal in again has a max of +12v. What I find is that the switch does not seem to change the state of the SPDT sections. I have yet to exam is closely to figure out if they are staying in the correct state (in terms of "normally closed")
  18. Hi guys. I have a circuit that uses a 4PDT switch to flick 4 seperate parts from one circuit to another (if that makes sense). Is there a way to use a SPDT switch in conjuction with some electronic switches to do the same thing? I thought I could use the MAX333CPP quad SPDT analogue switch, but have had no luck with it. Any ideas. Thanks MrHeckles
  19. I have built it, and it works fine. Seems the datasheet did have an error regarding that value of the feedback resistor. I ended up using a 5.6v zener diode and 400k resistor with a 100k variable resistor for trimming purposes (as the feedback resistor). The caps are 100uF on the 7660 chip, and 10uF on the op-amp. The regulator works well. It reacts fairly slowly to load changes, but on the whole gives a nice steady -9v. Thanks for all your help audiogooru ;D
  20. How is the value of the 56k ohm resistor selected? Is it that value for a reason or arbitrary? Crunch some numbers (possibly in a completely incorrect way) I figure that if I use a 3.3v zener diode for the reference, then I would need to replace the 100k ohm resistor with a 50k ohm, and the 910k ohm with a 695k ohm, in order to give an output regulation of about -9v. Does this sound correct?
  21. Please could you explain to me how this setup works. I'm not sure I understand how you get it to hold -5v. By that I dont understand how the feedback works in this case. Do the + and - inputs both have 1.2v (in the case of having the indicated reference)? How does changing the 910k resistor change the output voltage of the 7660?
  22. We are a small country miles from anywhere. They ship in what sells. What is not common is generally expensive. I do my part in refusing to buy things that are too expensive. The only person I know in the states is my brothers ex-fiance. He called the wedding off a month or so before it was going to happen and broke up with her. I guess I cant really ask her to send me electronic stuff ;D The upper 4558s are absolute value amps, and they need to keep the same ratio between the resistors. If I do this........ Will that reduce the current draw of them? The other option I though of was using a power op amp. Would this work for driving the 7660? The TCA0372DP1 is nice a cheap and has a very low voltage drop vs load current?
  23. An LM10CN may cost you a cup of coffee but down here RS only sells the LM10CWM (and I cant solder SMT yet), and Farnell sells the LM10CN for $27.33 plus shipping, which is about equal to 10 cups of coffee. I would love to have a nice small all contained chip, but ya gotta work with what youve got. What sort of op-amp am I going to have to look for if I cant get an LM10CN?
  24. So it doesnt matter what value the voltage reference has, as long as the op-amp knows what it is? The LM10 is an extended range item at RS down here, and is quite expensive. Can I get away with a cheap voltage reference chip (like a TL431C) and a low power op amp? Are there any special properties that the op amp needs? The cheapest low power op amp I found is the TLC271ACP. Would this do?
  25. The LM10 is a little hard to get over here. Is there something else I can use? What part does the voltage reference play in that circuit?
  • Create New...