My friend Rick dropped by tonight to run the accelerator cable and monitor the RPM on the laptop while I put my hands on the motor/tranny to get a better feel for what's going on. We ran the motor with the transmission attached for weight without the clutch friction plate. I also put the transmission in first gear to guarantee that the input shaft was not turning and contributing to any vibration.
I short, we experienced a classic resonance in the system as described well in the following link:
http://www.dliengineering.com/vibman/resonance.htm
The motor/transmission behaved just like the amplitude graph in the link above. We got a resonant frequency at 5450 RPM and the vibrations remained but at a much lower amplitude above that, all the way up to 9000 RPM.
One funny thing to note is that without the clutch friction disk in the system, there is very little play in the clutch fork. If I pull it towards the rear of the vehicle, it tries to depress the clutch, but I don't have the strength with my hand to move it. Just for yucks (DON'T TRY THIS AT HOME KIDS!), I lightly pushed it towards the front of the vehicle and it hit the face of the clutch pressure plate while it was still spinning! Yikes! Against my better judgement (engineers try these things...) I used the clutch fork to monitor the status of the flywheel while the system hit resonance by verrrry lightly touching the spinning clutch. During normal operation (say 3000 RPM), I felt a uniform depth all the way around the clutch. During resonance, the face of the clutch seemed to oscillate rather significantly with the "beats" of the resonance. See the following link:
http://www.dliengineering.com/vibman/beats.htm
Just to get a good comparison, I removed the transmission again and got no vibration from 0-8000 RPM (just motor, adapter, flywheel and clutch pressure plate).
As before, I'm a bit confused about what to do at this point. I'm imagining that Azure Dynamics didn't take into account that the system would have the cantilever of a transmission attached to it, especially a Porsche 914 transmission. I believe that Electro Automotive didn't prototype this motor/tranny configuration, so they probably didn't bump into this issue.
Craig out at Camp914 said he had a spare 914 transmission sitting in his garage that I could borrow to see if a similar mass causes the same issue. I'll probably borrow his transmission and see if I get the same result. If so, there's probably not much I can do except limit the RPM of the system to 5300 RPM and take the performance hit. If his transmission works fine, I might talk to him about swapping it. My doesn't leak a drop of fluid and shifts quite well after the rebuild.
Even with lots of damping devices such as new motor mounts, running the system through its natural resonant frequency is a really bad idea since the system will probably fail quickly. I'll be posting a question to the 914ev discussion list to see if anyone else has spun up their system.
I still might borrow an accelerometer from work tomorrow and log a bunch of data with the audio input on my laptop. Using the audio inputs on the laptop to capture a .wav file and then running an FFT with audio software on the file would definitely show some interesting stuff.
Just another side note: I believe the resonant frequency was actually at a lower RPM with the original flywheel before I had the teeth and backside ground off, so I would think others would hit this too.
Sunday, September 30, 2007
Doing Vibration Research
At the suggestion of Paul J, I started doing research on vibration analysis today. There are several online tutorials regarding vibration analysis. I'm currently reading this one:
http://www.dliengineering.com/vibman.htm
This paragraph taken from the "Natural Frequencies" section is somewhat noteworthy:
'The multitude of spring-mass-damper systems that make up a mechanical system are called "degrees of freedom", and the vibration energy put into a machine will distribute itself among the degrees of freedom in amounts depending on their natural frequencies and damping, and on the frequency of the energy source. For this reason, the vibration will not be uniformly distributed in the machine. For instance, in a machine driven by an electric motor, a major source of vibration energy is residual imbalance in the motor rotor. This will result in a measurable vibration at the motor bearings. But if the machine has a degree of freedom with a natural frequency close to the RPM of the rotor, its vibration level can be very high, even though it may be a long distance from the motor. It is important to be aware of this fact when evaluating the vibration of a machine -- the location of the maximum vibration level may not be close to the source of the vibration energy. Vibration energy frequently travels great distances along pipes, and can wreak havoc when it encounters a remote structure with a natural frequency near that of its source.'
Based on the paragraph above, I suspect that the AC motor is providing a small excitation around 5500 RPM and that is causing major vibrations out in the extremities of the transmission. The transmission mounts are original and cracked, so replacing those might help a bit.
One of my coworkers said he would let me borrow an accelerometer to attach to my oscilloscope. I'll probably take him up on the offer and see what I can find.
http://www.dliengineering.com/vibman.htm
This paragraph taken from the "Natural Frequencies" section is somewhat noteworthy:
'The multitude of spring-mass-damper systems that make up a mechanical system are called "degrees of freedom", and the vibration energy put into a machine will distribute itself among the degrees of freedom in amounts depending on their natural frequencies and damping, and on the frequency of the energy source. For this reason, the vibration will not be uniformly distributed in the machine. For instance, in a machine driven by an electric motor, a major source of vibration energy is residual imbalance in the motor rotor. This will result in a measurable vibration at the motor bearings. But if the machine has a degree of freedom with a natural frequency close to the RPM of the rotor, its vibration level can be very high, even though it may be a long distance from the motor. It is important to be aware of this fact when evaluating the vibration of a machine -- the location of the maximum vibration level may not be close to the source of the vibration energy. Vibration energy frequently travels great distances along pipes, and can wreak havoc when it encounters a remote structure with a natural frequency near that of its source.'
Based on the paragraph above, I suspect that the AC motor is providing a small excitation around 5500 RPM and that is causing major vibrations out in the extremities of the transmission. The transmission mounts are original and cracked, so replacing those might help a bit.
One of my coworkers said he would let me borrow an accelerometer to attach to my oscilloscope. I'll probably take him up on the offer and see what I can find.
Saturday, September 29, 2007
Resonant Frequencies
After successfully spinning the flywheel and pressure plate at 9000 RPM, I felt confident that things were looking good with the motor. I re-installed the clutch friction disk and bolted on the transmission. After spinning up the system, it started rattling and skittering across the floor around 5500 RPM. Geez. This is a royal pain.
After pondering this a bit, I tried the following experiment: I unbolted the transmission, removed the friction disk inside the clutch that attaches to the transmission shaft and bolted the transmission back on. After revving the motor up to 5500 RPM, whole thing still vibrated.
So, by just spinning the motor, flywheel and pressure plate at 5500 RPM, I get no vibration. By simply attaching the mass of the transmission (again, no friction plate in the clutch), I get vibration. Resonant frequencies anyone? I'm guessing that the added mass of the transmission brought down the resonant frequency of the system from above 9000 RPM down to 5500 RPM. There also may be some loose parts in the transmission that resonate at 5500 RPM and cause the assembly to vibrate.
I'm somewhat uncertain what to do at this point. I can put the car back together, program the AC motor controller to limit my RPMs so I never get into the resonant zone, and drive on with reduced performance. The other option is to find a new transmission (or borrow one) and see if it has the same resonant problems. Given all the effort and money I put into this transmission, I'm not looking forward to dealing with another one.
I suppose I could try adding some resonant dissipation material (like a dynamat) to as many places as I can on the motor/tranny to dampen things out. I don't know if materials like this would be able to dampen things enough. I'm probably going to sit on this for a bit... Rats.
After pondering this a bit, I tried the following experiment: I unbolted the transmission, removed the friction disk inside the clutch that attaches to the transmission shaft and bolted the transmission back on. After revving the motor up to 5500 RPM, whole thing still vibrated.
So, by just spinning the motor, flywheel and pressure plate at 5500 RPM, I get no vibration. By simply attaching the mass of the transmission (again, no friction plate in the clutch), I get vibration. Resonant frequencies anyone? I'm guessing that the added mass of the transmission brought down the resonant frequency of the system from above 9000 RPM down to 5500 RPM. There also may be some loose parts in the transmission that resonate at 5500 RPM and cause the assembly to vibrate.
I'm somewhat uncertain what to do at this point. I can put the car back together, program the AC motor controller to limit my RPMs so I never get into the resonant zone, and drive on with reduced performance. The other option is to find a new transmission (or borrow one) and see if it has the same resonant problems. Given all the effort and money I put into this transmission, I'm not looking forward to dealing with another one.
I suppose I could try adding some resonant dissipation material (like a dynamat) to as many places as I can on the motor/tranny to dampen things out. I don't know if materials like this would be able to dampen things enough. I'm probably going to sit on this for a bit... Rats.
Friday, September 28, 2007
Hub is back but EE1SpeedoDiv is not there
Today had some ups and downs. I got the adapter hub from Electro Automotive back today. I installed it on the motor shaft and, to my delight, it had less than 1 mil of runout and wobble! That's how the hub is supposed to work. I put the flywheel and clutch back on and spun them up to 6000RPM without much vibration, so things are looking better.
Before I mated the motor to the transmission, I wanted to try out the SPEEDO output on the DMOC445 that Beth at Azure Dynamics talked about in the previous post. I was really happy to hear that there's an RPM signal I could tie into. So, I got out the oscilloscope and tied it to pin 25 (SPEEDO_BUF) on the DMOC445 and spun up the motor.
Wait a minute, there's no pulses coming out. The signal is at ground. Azure said it was a push-pull circuit. The documentation said it was an open emitter output (implying a transistor that pulls up to 12V). Perhaps I didn't properly set the EE1SpeedoDiv variable in the controller. Okay, fire up the laptop and tap into the DMOC --- There's no variable remotely close to the name EE1SpeedoDiv! Argh! It's too bad that it's late Friday since the folks at Azure have already gone home, but I'll fire off an e-mail anyway and see if Beth will respond on Monday.
In the meantime, I have a (hopefully) working adapter hub and I can put the car back together and drive it. Perhaps I'll run down to Radio Shack and get an infrared emitter/receiver pair of LEDs to see if I can generate my own RPM pulses. I get frustrated when my hopes are dashed based on expectations. I guess that's just human. Ugh.
Before I mated the motor to the transmission, I wanted to try out the SPEEDO output on the DMOC445 that Beth at Azure Dynamics talked about in the previous post. I was really happy to hear that there's an RPM signal I could tie into. So, I got out the oscilloscope and tied it to pin 25 (SPEEDO_BUF) on the DMOC445 and spun up the motor.
Wait a minute, there's no pulses coming out. The signal is at ground. Azure said it was a push-pull circuit. The documentation said it was an open emitter output (implying a transistor that pulls up to 12V). Perhaps I didn't properly set the EE1SpeedoDiv variable in the controller. Okay, fire up the laptop and tap into the DMOC --- There's no variable remotely close to the name EE1SpeedoDiv! Argh! It's too bad that it's late Friday since the folks at Azure have already gone home, but I'll fire off an e-mail anyway and see if Beth will respond on Monday.
In the meantime, I have a (hopefully) working adapter hub and I can put the car back together and drive it. Perhaps I'll run down to Radio Shack and get an infrared emitter/receiver pair of LEDs to see if I can generate my own RPM pulses. I get frustrated when my hopes are dashed based on expectations. I guess that's just human. Ugh.
Friday, September 21, 2007
An E-mail from Azure Dynamics about the DMOC445
I recently sent off an e-mail to Azure Dynamics, the maker of the DMOC445 AC motor controller in the 914 kit. I asked how I could tap into the motor encoder signals to create an RPM signal for the tachometer on the dashboard. It turns out that the DMOC controller already has a PWM (Pulse Width Modulated) output that can be used for this. There are also some LED signals that display system status without having to use the serial port.
I would like to express my sincere appreciation for all the tech support that Azure Dynamics has provided. Beth Silverman, the support person, has been very quick to respond with whatever information she can provide from the controller designers. Here's the e-mail:
From: Tim Kutscha [mailto:tim_kutscha@yahoo.com]
Sent: Monday, September 17, 2007 8:34 PM
To: Beth Silverman
Cc: tim_kutscha@yahoo.com
Subject: Re: tapping into the encoder signals to drive the RPM gauge
From: Beth Silverman
To: Tim Kutscha
Sent: Monday, September 17, 2007 10:26:05 AM
Subject: RE: tapping into the encoder signals to drive the RPM gauge
I would like to express my sincere appreciation for all the tech support that Azure Dynamics has provided. Beth Silverman, the support person, has been very quick to respond with whatever information she can provide from the controller designers. Here's the e-mail:
9/21/07
Hi Tim, inserted below in blue are our answers to your questions. I understand you've been communicating with Randy Pollack; is it ok if I pass your questions on to him along with our answers?
Thanks
Beth Silverman
*******************
From: Tim Kutscha [mailto:tim_kutscha@yahoo.com]
Sent: Monday, September 17, 2007 8:34 PM
To: Beth Silverman
Cc: tim_kutscha@yahoo.com
Subject: Re: tapping into the encoder signals to drive the RPM gauge
Hi Beth,
I hope you had a good two days off last week. Thanks for the info on the SPEEDO_BUF output on the controller. Since this wasn't listed in the Pedal_Controlled_DMOC445_User_Manual_v3.pdf file, I didn't think it was active. From your e-mail, it sounds like the SPEEDO_BUF output is active on my pedal-controller DMOC.
I hope you had a good two days off last week. Thanks for the info on the SPEEDO_BUF output on the controller. Since this wasn't listed in the Pedal_Controlled_DMOC445_User_Manual_v3.pdf file, I didn't think it was active. From your e-mail, it sounds like the SPEEDO_BUF output is active on my pedal-controller DMOC.
Feature is active on both pedal and CAN controlled
From one document it says the signal is 12V open-emitter. I'm guessing its a PWM (pulse width modulated signal) that pulls an external resistor up to 12V through a transistor. Is this true?
From one document it says the signal is 12V open-emitter. I'm guessing its a PWM (pulse width modulated signal) that pulls an external resistor up to 12V through a transistor. Is this true?
SPEEDO_BUF is push-pull 12V, and it is a frequency modulated signal.
Is the SOC_BUF signal also active on my DMOC445? What is the format of its output? PWM? Does it get its state from the battery voltage or does it require the amp-hour counter to be attached?
Is the SOC_BUF signal also active on my DMOC445? What is the format of its output? PWM? Does it get its state from the battery voltage or does it require the amp-hour counter to be attached?
Not active
Do the amp-hour counter input/outputs work? If so, do you sell a device that I can connect to them?
Do the amp-hour counter input/outputs work? If so, do you sell a device that I can connect to them?
Not active; we do not sell amp-hr meters.
Do the BRAKE_PEDAL,BRAKE_LO inputs work? If so, what is the proper potentiometer to attach to them?
Do the BRAKE_PEDAL,BRAKE_LO inputs work? If so, what is the proper potentiometer to attach to them?
Not used
Is there any customer useful behavior on the ANAIN3/LED_OVERTEMP, ANAIN2/LED_MALFN, NONISO_ADIO1, NONISO_ADIO2, ANAIN1 or ANAIN0 signals?
Is there any customer useful behavior on the ANAIN3/LED_OVERTEMP, ANAIN2/LED_MALFN, NONISO_ADIO1, NONISO_ADIO2, ANAIN1 or ANAIN0 signals?
LEDs are 3.3V (unfused outputs). If an LED is connected to it, a current limiting resistor is needed.
LED0: Fault-Signal on pin 34:
- (________): off = no fault
- (_______x): one short blip = motor overheating
- (_____x_x): two short blips = controller overheating
- (___x_x_x): three short blips = motor and controller overheating
- (_x_x_x_x): continous blink = not implemented
- (xxxxxxxx): continous on = powerstage fault
LED1: Ready-Signal on pin 11:
- (________): off = controller disabled (pin 8 = low; or pin 8 = high and pin 30 = high)
- (_______x): one short blip = controller enabled, but pre-charging
- (_____x_x): two short blips = controller enabled & pre-charged, but interlocked
(for example due to gear-selector being in forward at powerup)
- (___x_x_x): three short blips = N/A
- (_x_x_x_x): continous blink = relay closed, but power-stage in fault state
- (xxxxxxxx): continous on = ready (relay closed, power-stage disabled or enabled)
The car is basically running at this point and I'm try to activate as many gauges as I can. Thanks for all your time on this.
Have a great week!
Tim
----- Original Message ----Have a great week!
Tim
From: Beth Silverman
To: Tim Kutscha
Sent: Monday, September 17, 2007 10:26:05 AM
Subject: RE: tapping into the encoder signals to drive the RPM gauge
Hi Tim, sorry, I was out Thurs and Fri. Are you already using the DMOC output signal -- it can be adjusted with the parameter called EE1SpeedoDiv ?? It doesn't work with all speedos/tachs, but we have had luck with the Siemens VDO "Cockpit" series, 85mm. Please see
http://usa.siemensvdo.com/NR/rdonlyres/2B56C91E-EE58-45C6-9A1B-DB89524EA0DC/0/ProgrammableSpeedometer.pdf
Regards
Beth Silverman
*************
Wednesday, September 19, 2007
Getting the Heater Relay and Sending Back the Hub
Rats. After putting the adapter hub from Electro Auto onto the motor shaft no less than twenty times, I'm pooped. I tried filing down several different faces of the hub to get the runout and wobble down and failed. It's going back to EA tomorrow morning for a new one. I'm thinking that attaching the flywheel shouldn't be this hard.
The flywheel and clutch assembly has been balanced by two different shops and the second shop said the first shop did a fine job, so I'm pretty sure it's not the flywheel.
The bearing on the AC24 motor just behind the adapter hub was squealing ever so slightly when I spun the motor up, so I fear the vibrations might have damaged the motor. Perhaps against my better judgment, I sprayed WD-40 into the bearing and the squealing stopped. I'll contact Azure Dynamics to see if there's a particular lubricant I should use. I thought these things were supposed to be sealed...
On a slightly lighter note, the high-current DC relay for the hair-dryer defroster system came today.
Here's the 125VDC relay. Notice the magnet in the center of the relay. The field from the magnet is used to blow out the arcing from the DC current when the contacts open up. With an AC circuit, the zero-crossings of the voltage allow the arcing to stop; not so with DC current.
Off to package up the adapter hub... (sigh).
Addendum: For those of you who wish to order one of these relays, you can get them from Newark: www.newark.com
Type prd-11dh0-12 in the search box and the relay should display (one leaded and the other lead-free).
The flywheel and clutch assembly has been balanced by two different shops and the second shop said the first shop did a fine job, so I'm pretty sure it's not the flywheel.
The bearing on the AC24 motor just behind the adapter hub was squealing ever so slightly when I spun the motor up, so I fear the vibrations might have damaged the motor. Perhaps against my better judgment, I sprayed WD-40 into the bearing and the squealing stopped. I'll contact Azure Dynamics to see if there's a particular lubricant I should use. I thought these things were supposed to be sealed...
On a slightly lighter note, the high-current DC relay for the hair-dryer defroster system came today.
Here's the 125VDC relay. Notice the magnet in the center of the relay. The field from the magnet is used to blow out the arcing from the DC current when the contacts open up. With an AC circuit, the zero-crossings of the voltage allow the arcing to stop; not so with DC current.
Off to package up the adapter hub... (sigh).
Addendum: For those of you who wish to order one of these relays, you can get them from Newark: www.newark.com
Type prd-11dh0-12 in the search box and the relay should display (one leaded and the other lead-free).
Monday, September 17, 2007
Balancing the Flywheel...Again
I took the flywheel/clutch to Dan Halls Machine Shop this morning and just picked it up half an hour ago. Dan basically said that it was fine. He spun it as fast as the machine would go and it was only out of balance by 2 grams on the flywheel and 2 grams on the clutch pressure plate. Apparently this really isn't a lot for flywheels.
The motor adapter hub from Electro Auto still has 4 mils (thousands of an inch) runout, so I'll try to attack that next. Dan suggested that I try attaching the hub without the shaft key to see if the runout goes away. That way, I can see if I need to modify the inner cone or just the shaft key or its slot.
On a brighter note, I got an e-mail from Beth at Azure Dynamics mentioning that there was an RPM output on the DMOC445 controller that I might be able to tap into and drive the RPM gauge with (given some external converter circuit). There's also an SOC (state-of-charge) output and amp-hour counter inputs that I might be able to try out as well. There's no documentation on these pins, of course, but I'm happy that they're there to try out.
Next Up: fixing the tiny (4mil) runout on the adapter hub...
The motor adapter hub from Electro Auto still has 4 mils (thousands of an inch) runout, so I'll try to attack that next. Dan suggested that I try attaching the hub without the shaft key to see if the runout goes away. That way, I can see if I need to modify the inner cone or just the shaft key or its slot.
On a brighter note, I got an e-mail from Beth at Azure Dynamics mentioning that there was an RPM output on the DMOC445 controller that I might be able to tap into and drive the RPM gauge with (given some external converter circuit). There's also an SOC (state-of-charge) output and amp-hour counter inputs that I might be able to try out as well. There's no documentation on these pins, of course, but I'm happy that they're there to try out.
Next Up: fixing the tiny (4mil) runout on the adapter hub...
Saturday, September 15, 2007
Those (Not So) Good Vibrations
Well, it's time to bite the bullet again and see what I can do about the car vibrations. My friend graciously helped me remove the motor/tranny from the car again this morning and assisted with crude vibration measurements.
We removed the motor/transmission from the car and re-attached it to the AC controller wires while on the ground. After spinning up the assembly to approximately 5000 RPM, the whole assembly started vibrating across the floor like those toy footbal players on the vibrating table.
I guess this is good because we can replicate the problem with the unit outside the car.
For those of you who aren't into car mechanics much, I'm going to use the following two terms: runout and wobble. Runout is the change in distance between the axis-of-rotation of a spinning disk and the outer diameter of the disk. Wobble is the change in distance on the front face of a spinning disk near the outer edge.
The next step was to remove the transmission and just spin the motor with the flywheel and clutch assembly attached. This vibrated across the floor as well, but not as strongly. We did notice that the tines on the clutch pressure plate wobbled around. The outer edge of the clutch pressure plate also experienced significant runout during a spin.
This actually concerns me quite a bit. The outer edge of the flywheel looks very smooth with little runout, but perhaps the person who machined off the teeth didn't get the outer edge centered well.
We then took off the clutch assembly and did some slightly more accurate measurements. After spinning the flywheel up to 9500 RPM, we let the flywheel slowly decelerate to zero and took note of the RPM ratings that we felt vibrations at. With just the flywheel, we got vibrational peaks at approximately 1500, 2900, 4400, 6100, and 7400 RPM. As you can see these are all somewhat integer multiples of 1500 with higher harmonics. The largest spread of bad vibrations existed in the 4000-5200 RPM range which correlated with the RPM of the car shaking.
After taking off the flywheel itself, we just spun the motor with the adapter hub on it (see picture below). While the vibrations were much, much less, we still felt measurable buzzing around 1700, 2600, 4900 and 6300 RPM. This is vaguely unsettling that the Azure Dynamics motor would exhibit vibration without any major weight attached. I suppose it's possible that the weight of the flywheel could have hurt the motor shaft bearings at these RPMs, though.
Also, keep in mind that the ISR2Hertz RPM gauge on the laptop from the DMOC controller probably had a 0.5 to 1.0 second delay from actual value to read value, so these RPMs may be off.
Here's the final mess after removing the components from the car. I'm not sure where to go from here since the vibrations got progressively lighter as I removed components. I was able to spin the flywheel and AC motor up to 10,500 RPM without getting major vibrations, but these smaller vibrations might be amplified when the clutch assembly and transmission are attached.
My plan is to take the flywheel/clutch to Dan Hall's Automotive Machine shop and have him rebalance it. (He's the only shop in town with a small enough shaft to fit the VW/Porsche flywheels). After that, I hope to put the flywheel back on in several positions on the adapter hub to see if I can cancel out as much of the runout and wobble as possible.
The current runout measurements on the adapter hub are still 4 mils and the wobble is about 1 mil. Perry Harrington, the machinist who created the Electro Auto adapter hub called me last week and suggested getting a brass hammer and tapping the flywheel on moderately tight flywheel bolts to eliminate the runout. I'll keep y'all posted as I get the flywheel back from the balancing shop...
We removed the motor/transmission from the car and re-attached it to the AC controller wires while on the ground. After spinning up the assembly to approximately 5000 RPM, the whole assembly started vibrating across the floor like those toy footbal players on the vibrating table.
I guess this is good because we can replicate the problem with the unit outside the car.
For those of you who aren't into car mechanics much, I'm going to use the following two terms: runout and wobble. Runout is the change in distance between the axis-of-rotation of a spinning disk and the outer diameter of the disk. Wobble is the change in distance on the front face of a spinning disk near the outer edge.
The next step was to remove the transmission and just spin the motor with the flywheel and clutch assembly attached. This vibrated across the floor as well, but not as strongly. We did notice that the tines on the clutch pressure plate wobbled around. The outer edge of the clutch pressure plate also experienced significant runout during a spin.
This actually concerns me quite a bit. The outer edge of the flywheel looks very smooth with little runout, but perhaps the person who machined off the teeth didn't get the outer edge centered well.
We then took off the clutch assembly and did some slightly more accurate measurements. After spinning the flywheel up to 9500 RPM, we let the flywheel slowly decelerate to zero and took note of the RPM ratings that we felt vibrations at. With just the flywheel, we got vibrational peaks at approximately 1500, 2900, 4400, 6100, and 7400 RPM. As you can see these are all somewhat integer multiples of 1500 with higher harmonics. The largest spread of bad vibrations existed in the 4000-5200 RPM range which correlated with the RPM of the car shaking.
After taking off the flywheel itself, we just spun the motor with the adapter hub on it (see picture below). While the vibrations were much, much less, we still felt measurable buzzing around 1700, 2600, 4900 and 6300 RPM. This is vaguely unsettling that the Azure Dynamics motor would exhibit vibration without any major weight attached. I suppose it's possible that the weight of the flywheel could have hurt the motor shaft bearings at these RPMs, though.
Also, keep in mind that the ISR2Hertz RPM gauge on the laptop from the DMOC controller probably had a 0.5 to 1.0 second delay from actual value to read value, so these RPMs may be off.
Here's the final mess after removing the components from the car. I'm not sure where to go from here since the vibrations got progressively lighter as I removed components. I was able to spin the flywheel and AC motor up to 10,500 RPM without getting major vibrations, but these smaller vibrations might be amplified when the clutch assembly and transmission are attached.
My plan is to take the flywheel/clutch to Dan Hall's Automotive Machine shop and have him rebalance it. (He's the only shop in town with a small enough shaft to fit the VW/Porsche flywheels). After that, I hope to put the flywheel back on in several positions on the adapter hub to see if I can cancel out as much of the runout and wobble as possible.
The current runout measurements on the adapter hub are still 4 mils and the wobble is about 1 mil. Perry Harrington, the machinist who created the Electro Auto adapter hub called me last week and suggested getting a brass hammer and tapping the flywheel on moderately tight flywheel bolts to eliminate the runout. I'll keep y'all posted as I get the flywheel back from the balancing shop...
Keeping the Rain Out
Since I live in the Pacific Northwest, I get rather concerned that rain entering the engine compartment will cause problems with the electrical wiring. Many other 914 EV'ers have protected their wiring inside conduit boxes and other shields. I just following the ElectroAuto directions and bolted the relays and terminals blocks to the engine compartment wall with wires dangling from them. This is an idea I came up with to help protect the components.
This is the engine compartment cover removed from the car. I still have the downspouts from the original car, but the original gutter that captured rain from this mesh opening was too large and interfered with the rear battery box.
I drove over to TAP Plastics and purchased a 12"x48" piece of black ABS plastic (for $4.00) to make my own rain gutter. The stuff is remarkably moldable with a heat gun. After making some measurements, I heated up the edges to make a lip for the rain to fall into.
The melting process is basically this: sandwich the plastic between two 2x4s, heat up the protruding plastic with a heat gun and use a third 2x4 piece to bend it down. You need to hold it in place for a few seconds otherwise it tends to bounce back to its original shape.
After melting the bottom and left/right edges, I made a cutout to fit around under the metal pieces to give the plastic shelf a downward slope towards the rear of the car.
Here's a closeup of one end of the finished plastic gutter that goes under the engine compartment hood. I heated up the upper right corner that goes over the downspout and used the end of a screwdriver handle to push the melted plastic into the mouth of a jar to create a depression for the rainwater to flow into. I'll cut a 1/2" hole in the bottom so that the water drains into the downspout. The slot at left (along with the barely noticeable horizontal cut) will fit around the metal struts under the compartment lid.
To hold the bottom edge into place, I'll purchase some short 6mm bolts with large heads to attach the plastic to the original gutter mount holes. My friend wisely pointed out to me that ABS plastic decays quickly in directly sunlight, so I'll probably end up spray painting the surface with an oil-base black paint to prevent the plastic from degrading.
This is the engine compartment cover removed from the car. I still have the downspouts from the original car, but the original gutter that captured rain from this mesh opening was too large and interfered with the rear battery box.
I drove over to TAP Plastics and purchased a 12"x48" piece of black ABS plastic (for $4.00) to make my own rain gutter. The stuff is remarkably moldable with a heat gun. After making some measurements, I heated up the edges to make a lip for the rain to fall into.
The melting process is basically this: sandwich the plastic between two 2x4s, heat up the protruding plastic with a heat gun and use a third 2x4 piece to bend it down. You need to hold it in place for a few seconds otherwise it tends to bounce back to its original shape.
After melting the bottom and left/right edges, I made a cutout to fit around under the metal pieces to give the plastic shelf a downward slope towards the rear of the car.
Here's a closeup of one end of the finished plastic gutter that goes under the engine compartment hood. I heated up the upper right corner that goes over the downspout and used the end of a screwdriver handle to push the melted plastic into the mouth of a jar to create a depression for the rainwater to flow into. I'll cut a 1/2" hole in the bottom so that the water drains into the downspout. The slot at left (along with the barely noticeable horizontal cut) will fit around the metal struts under the compartment lid.
To hold the bottom edge into place, I'll purchase some short 6mm bolts with large heads to attach the plastic to the original gutter mount holes. My friend wisely pointed out to me that ABS plastic decays quickly in directly sunlight, so I'll probably end up spray painting the surface with an oil-base black paint to prevent the plastic from degrading.
Thursday, September 13, 2007
Two Week Commuting Report
Since I don't work Fridays, this is the end of my second week commuting to work fifteen miles each way. Two things have definitely made the car more fun to drive. 1. The batteries are broken in so I have more current to work with and more importantly 2. I've learned some of the tricks to driving the car.
The biggest trick involves starting from a dead stop. Apparently, the AC motor feels like it has more torque at non-zero RPMs (perhaps just a false perception). However, if I start from a stoplight in the same way as a gasoline vehicle (rev the engine and slowly let out the clutch), I can start much more quickly than if I just leave the clutch out and floor the accelerator from a stopped motor. The same thing helps when starting from stopped on a hill.
With the charger plugin at both work and home, the PakTrakr fuel gauge doesn't seem to drop below the 80% mark, so I think the batteries will last a little while. The DC-DC converter is still working fine, so the car is actually quite convenient to drive. I haven't touched my gasoline car in two weeks now.
Sooooo, with everything working reasonably well------ it's time to drop the motor/tranny again and revisit the flywheel vibrations again. (doh!) I called around to several Porsche repair shops and finally found Dan Hall's Auto Machine. Apparently Dan is the only guy in the Portland area that has a flywheel balancer with a small enough mandrill to fit the 914 flywheel hole (1/2 inch or so). While I hesitate to dismantle a working car, I'd really like to rev the motor safely up to 7000-8000 RPM to get more torque and run the car on the freeway in second gear (!).
I contacted Azure Dynamics and asked them how I could measure the RPM on the motor so I could drive the tachometer in the middle of the dash. They strongly recommended against tapping into the encoder signals since they had noise issues themselves with the encoder signals. With the motor out, I'm going to look into RPM kits for electric cars that use spinning magnets on the flywheel with a magnetic sensor to generate a signal. Stay tuned...
The biggest trick involves starting from a dead stop. Apparently, the AC motor feels like it has more torque at non-zero RPMs (perhaps just a false perception). However, if I start from a stoplight in the same way as a gasoline vehicle (rev the engine and slowly let out the clutch), I can start much more quickly than if I just leave the clutch out and floor the accelerator from a stopped motor. The same thing helps when starting from stopped on a hill.
With the charger plugin at both work and home, the PakTrakr fuel gauge doesn't seem to drop below the 80% mark, so I think the batteries will last a little while. The DC-DC converter is still working fine, so the car is actually quite convenient to drive. I haven't touched my gasoline car in two weeks now.
Sooooo, with everything working reasonably well------ it's time to drop the motor/tranny again and revisit the flywheel vibrations again. (doh!) I called around to several Porsche repair shops and finally found Dan Hall's Auto Machine. Apparently Dan is the only guy in the Portland area that has a flywheel balancer with a small enough mandrill to fit the 914 flywheel hole (1/2 inch or so). While I hesitate to dismantle a working car, I'd really like to rev the motor safely up to 7000-8000 RPM to get more torque and run the car on the freeway in second gear (!).
I contacted Azure Dynamics and asked them how I could measure the RPM on the motor so I could drive the tachometer in the middle of the dash. They strongly recommended against tapping into the encoder signals since they had noise issues themselves with the encoder signals. With the motor out, I'm going to look into RPM kits for electric cars that use spinning magnets on the flywheel with a magnetic sensor to generate a signal. Stay tuned...
Tuesday, September 11, 2007
A Response from CC Power on the DC-DC
I just got an e-mail back from Electro Automotive from CC-Power regarding the failed DC-DC converter. I prefer not to comment on it but simply wish to pass it on to others who might have wondered what the manufacturer said. Here goes:
"The converters have been manufactured for over 20 years and we have 10,000+ units operating in South Africa at 120 volts, all using the same build, without any problems.
"The existing current limit system operates on a pulse by pulse basis and shuts the converter off immediately current exceeds a safe level. The method Kutscha is using has been tried and thrown out as it is not fast enough to protect the devices in an over-current situation. It also effects the transient response of the converter, causing the voltage to dip when load is increased and overshoot when load is removed."
"The problems he is experiencing are almost certainly voltage related than high current and are due to his installation, rather than the operation of the converter."
"The converter should be connected directly to the battery terminals. if he is connecting to the controller terminals, the problems of over voltage during regeneration will be much greater."
(okay one comment: no wonder the parts in this unit are so ancient! 20 years?!)
Cheers,
Tim
"The converters have been manufactured for over 20 years and we have 10,000+ units operating in South Africa at 120 volts, all using the same build, without any problems.
"The existing current limit system operates on a pulse by pulse basis and shuts the converter off immediately current exceeds a safe level. The method Kutscha is using has been tried and thrown out as it is not fast enough to protect the devices in an over-current situation. It also effects the transient response of the converter, causing the voltage to dip when load is increased and overshoot when load is removed."
"The problems he is experiencing are almost certainly voltage related than high current and are due to his installation, rather than the operation of the converter."
"The converter should be connected directly to the battery terminals. if he is connecting to the controller terminals, the problems of over voltage during regeneration will be much greater."
(okay one comment: no wonder the parts in this unit are so ancient! 20 years?!)
Cheers,
Tim
Sunday, September 9, 2007
DC-DC Seems to Work!
I just drove home from a meeting for half an hour with the headlights on. In the process of driving, the brake lights and turn-signals were also on. This is the first time I've arrived home with the DC-DC converter still working! Yay! I'm going to give it a week and see if anything else causes a failure. In the meantime, I'm going to report my findings to CCPower and Mike at ElectroAuto so perhaps they can modify the design.
Many thanks to all of the analog EE types out there who offered assistance in helping me understand just what the heck was going on with this thing. I've learned a tremendous amount about switching power supplies, shunts, protection circuits and over-current sensors.
If all works out this week, I'd like to start working on two fun things. The first is a simple op-amp circuit that drives the analog fuel gauge to show the pack voltage (maybe swings from 120V to 155V for a nominal 144V pack?). The second is an opto-isolated circuit to capture the encoder pulses off the AC motor to drive the large RPM gauge in front of my nose that doesn't seem to do anything. Let's cross our fingers and hope the DC-DC holds out.
Cheers,
Tim
Many thanks to all of the analog EE types out there who offered assistance in helping me understand just what the heck was going on with this thing. I've learned a tremendous amount about switching power supplies, shunts, protection circuits and over-current sensors.
If all works out this week, I'd like to start working on two fun things. The first is a simple op-amp circuit that drives the analog fuel gauge to show the pack voltage (maybe swings from 120V to 155V for a nominal 144V pack?). The second is an opto-isolated circuit to capture the encoder pulses off the AC motor to drive the large RPM gauge in front of my nose that doesn't seem to do anything. Let's cross our fingers and hope the DC-DC holds out.
Cheers,
Tim
DCDC Transistor Hack
After talking with various people and realizing that the over-current circuitry was making the FET gate pulses way too large, I decided to hack the DC-DC converter circuit.
Here's the new circuit (click to enlarge). I swapped out the IRFP350 FETs with IRFP460 FETs which have a higher voltage and current rating. To compensate for the larger gate capacitance and speed up the rise/fall time of the FET gates, I lowered the gate resistance from 27 ohms to 15 ohms.
The biggest hack, though, is tying the nShutdown pin to ground (disabling it) and adding a 2N3904 NPN transistor to bleed voltage off the soft-start capacitor when current is sensed too high. This makes a crude overcurrent sensor that limits the FET gate pulse without all the problems with pulsing the nShutdown pin. I adjusted the "amp adjust" potentiometer and was able to get the FET gate pulse to shrink if too much current was pulled.
Here is the top of the board. I've tied the emitter and collector of the 2N3904 to the leads of the soft-start capacitor. The base of the transistor is stretched to the left and goes down through a hole I drilled in the printed-circuit board.
Here's the back side of the circuit-board. I kept the .01uF capacitor to filter out the pulses on the current sensor and tied the lead of the 2N3904 (coming out through the hole) to the tap on the potentiometer. Note that I cut the trace just below the hole which originally tied the over-current circuit to the nShutdown pin, which I grounded with a large solder blob just to the right of the hole.
For the final test, I installed the unit back in the 914 EV, turned on the ignition and turned on all the accessories. The DCDC seemed to handle the current reasonably well without heating up much. The real acid test will be to drive around at night with the headlights on and see if the DC-DC fails again. Things look promising so far. I'm a bit miffed that CCPower could have solved this issue themselves with a cheap (69cents from Radio Shack, cheaper in bulk) transistor. I'll be driving around after dark this evening and will keep y'all posted.
Here's the new circuit (click to enlarge). I swapped out the IRFP350 FETs with IRFP460 FETs which have a higher voltage and current rating. To compensate for the larger gate capacitance and speed up the rise/fall time of the FET gates, I lowered the gate resistance from 27 ohms to 15 ohms.
The biggest hack, though, is tying the nShutdown pin to ground (disabling it) and adding a 2N3904 NPN transistor to bleed voltage off the soft-start capacitor when current is sensed too high. This makes a crude overcurrent sensor that limits the FET gate pulse without all the problems with pulsing the nShutdown pin. I adjusted the "amp adjust" potentiometer and was able to get the FET gate pulse to shrink if too much current was pulled.
Here is the top of the board. I've tied the emitter and collector of the 2N3904 to the leads of the soft-start capacitor. The base of the transistor is stretched to the left and goes down through a hole I drilled in the printed-circuit board.
Here's the back side of the circuit-board. I kept the .01uF capacitor to filter out the pulses on the current sensor and tied the lead of the 2N3904 (coming out through the hole) to the tap on the potentiometer. Note that I cut the trace just below the hole which originally tied the over-current circuit to the nShutdown pin, which I grounded with a large solder blob just to the right of the hole.
For the final test, I installed the unit back in the 914 EV, turned on the ignition and turned on all the accessories. The DCDC seemed to handle the current reasonably well without heating up much. The real acid test will be to drive around at night with the headlights on and see if the DC-DC fails again. Things look promising so far. I'm a bit miffed that CCPower could have solved this issue themselves with a cheap (69cents from Radio Shack, cheaper in bulk) transistor. I'll be driving around after dark this evening and will keep y'all posted.
Saturday, September 8, 2007
I Blew it Again! Learning About Soft-Start...
After studying the oscilloscope waveforms, I believed that the current sense circuit was way too spikey. This is the "amp adjust" potentiometer output in the C400 schematic. I found that the inductive spikes were shutting off the DC-DC converter through the nShutdown pin on the SG3525A and causing craziness in the gate-drive pulse. Soooo, I picked a reasonable (.01uF) capacitor to filter out the current sense waveform and remove the inductive spikes.
Here's the .01uF capacitor soldered to the board across the "Amp Adjust" potentiometer output.
If you compare the voltage spikes in this scope view to the one in the previous post, the inductive spikes are still there, but not as prominent.
Here's the same view under a 7 amp load. Note the gate drive pulse at the bottom of the screen has widened out to 8usec. The inductive spikes are much smaller and don't trigger the nShutdown circuit.
At this point when I apply just over a 14 amp load, the current sense circuit pulses are high enough to trigger the nShutdown pin on the SG3525A. When this happens, I note that the output voltage drops because we are in current limiting mode (good). However, the FET gate pulse is all over the place and the DC-DC converter whines loudly. This is important to remember after you read the next section...
I turned down the current limit to 14 amps and re-installed it in the 914 EV. After powering up the car, the unit didn't blow. I turned on the headlights and the system kept working. I then turned on the fog lights, tail lights, turn-signals and reverse lights. The DC-DC started whining loudly as stated in the previous paragraph. I thought this was good because I figured it was in current limiting mode. However, after a few seconds, the system went silent and, as I feared, I had blown the FETs again.... (sigh).
After taking a break, I read some textbooks and analyzed the SG3525A circuit diagrams once more. I'm going to take a wild guess that this is what happened (for all you advanced EE geeks):
When the unit goes into overcurrent mode, it pulses the nShutdown signal which immediately turns off the output gate drive. This causes the output voltage to lower and the inverting input from the opto-coupler to fall, increasing the duty cycle of the gate-drive. What I find on the oscilloscope in over-current mode is that the PWM output to the gate drive jumps wildly from 0-100%. This clearly puts the primary coils of the transformer into saturation mode and stresses the drive FETs.
After much textbook research, I believe that the overcurrent circuit should quickly bleed voltage off the soft-start capacitor without quickly turning off the output PWM pulse to prevent the PWM pulse from going above a certain limit. What we want is to have the gate-drive pulse change its state smoothly instead of wildly jumping all over the place.
A good example of how this is done is shown at:
http://www.edaboard.com/ftopic153496.html
If you look at the schematic halfway down the page, the overcurrent sensing circuit draws down the soft-start capacitor and doesn't drive the nShutdown pin as in the CCPower schematic.
I'm going to try and alter this circuit with a pull-down transistor and put it into overcurrent to see if the gate-drive oscillates or simply maxes out.
This is one hell of a learning experience, especially for a digital engineer like myself.
Goodnight.
Here's the .01uF capacitor soldered to the board across the "Amp Adjust" potentiometer output.
If you compare the voltage spikes in this scope view to the one in the previous post, the inductive spikes are still there, but not as prominent.
Here's the same view under a 7 amp load. Note the gate drive pulse at the bottom of the screen has widened out to 8usec. The inductive spikes are much smaller and don't trigger the nShutdown circuit.
At this point when I apply just over a 14 amp load, the current sense circuit pulses are high enough to trigger the nShutdown pin on the SG3525A. When this happens, I note that the output voltage drops because we are in current limiting mode (good). However, the FET gate pulse is all over the place and the DC-DC converter whines loudly. This is important to remember after you read the next section...
I turned down the current limit to 14 amps and re-installed it in the 914 EV. After powering up the car, the unit didn't blow. I turned on the headlights and the system kept working. I then turned on the fog lights, tail lights, turn-signals and reverse lights. The DC-DC started whining loudly as stated in the previous paragraph. I thought this was good because I figured it was in current limiting mode. However, after a few seconds, the system went silent and, as I feared, I had blown the FETs again.... (sigh).
After taking a break, I read some textbooks and analyzed the SG3525A circuit diagrams once more. I'm going to take a wild guess that this is what happened (for all you advanced EE geeks):
When the unit goes into overcurrent mode, it pulses the nShutdown signal which immediately turns off the output gate drive. This causes the output voltage to lower and the inverting input from the opto-coupler to fall, increasing the duty cycle of the gate-drive. What I find on the oscilloscope in over-current mode is that the PWM output to the gate drive jumps wildly from 0-100%. This clearly puts the primary coils of the transformer into saturation mode and stresses the drive FETs.
After much textbook research, I believe that the overcurrent circuit should quickly bleed voltage off the soft-start capacitor without quickly turning off the output PWM pulse to prevent the PWM pulse from going above a certain limit. What we want is to have the gate-drive pulse change its state smoothly instead of wildly jumping all over the place.
A good example of how this is done is shown at:
http://www.edaboard.com/ftopic153496.html
If you look at the schematic halfway down the page, the overcurrent sensing circuit draws down the soft-start capacitor and doesn't drive the nShutdown pin as in the CCPower schematic.
I'm going to try and alter this circuit with a pull-down transistor and put it into overcurrent to see if the gate-drive oscillates or simply maxes out.
This is one hell of a learning experience, especially for a digital engineer like myself.
Goodnight.
Debugging the DC-DC waveforms
I spent most of Friday trying to figure out just what was blowing the DC-DC converter.
Here's my full testbench setup. On the upper left, I have a 156V DC power supply. On the lower-left sits a 12V battery to act as an accessory battery. The 30Mhz $400 oscilloscope sits ready. The opened up DC-DC converter is front and center. I have the oscope covered with cardboard to shield out excess light so I can take pictures of waveforms. I actually used the aluminum case for the DC-DC converter as a camera stand so that I could turn off the flash which causes too much glare on the oscope screen.
Here's a close-up view of the 156V power supply. In essence, I took five 31.2 volt power supplies from HP inkjet printers and hooked them up in series. I broke off the grounding pin of all the power cords except the bottom supply so that the output stage could float and allow the series connection. These supplies put out 2.5 amps, so this ought to provide 375 watts of power if I need it for testing.
Okay, here's the first scope trace. I removed the blown FETs and simply measured Vgs at the missing part location. Dimensions are 5us/div and 5V/div. It looks like we have a period of 30us and the power supply for the SG3525A is 12 volts. Without the FETs in place the controller drives both FETs in push-pull configuration at their full duty cycle. There's actually a dead time of about 0.6us between the high states on the gate-drive pulses.
I've just soldered in two IRFP460 FETs (still with no load on the output) and here's what the gate-drive looks like. The pulse from the SG3525A is on the bottom and the actual Vgs voltage at the FET is the top waveform. The IRFP460 part has a larger gate capacitance than the original IRFP350 parts, so the charge and discharge slope doesn't look so great. Perhaps I could reduce the resistance of the gate-drive resistors to help with this. The FETs are still cold with no load. With the FET in place, the drive pulse shortens to 0.9us. Dimensions are 0.5us/div and 5V/div.
Here's where things get interesting. I'm now measuring the drain-source voltage on one of the FETs (Vds) with no output load. Dimensions are 20us/div and 50V/div. Without any load, the voltage swings on the FETs are twice the input voltage (about 312 volts) plus any ringing from inductor kick-back! One of the disadvantages of the push-pull architecture is that the driving transistors need to handle twice the input voltage.
The far left of the screen shows one FET turning off and letting the voltage oscillate. The two high spikes near the right edge of the screen show the voltage across the first FET as the second FET turns on. There's even over-voltage from the inductive ringing. If the input voltage goes up to 170V with charging and regenerative braking, the FETs need to handle at least 340 volts plus the ringing voltage, which is typically even higher... (yikes!)
I've added the 12V accessory battery as an output load and let things settle. This picture shows the gate drive (Vgs) of one FET (bottom left) and the resulting source-drain voltage (Vds) on the opposite FET. Time dimension is 5us/div. Note that the pulses going to the FET gates are 15us apart, causing the snap to a low voltage three divisions into the display. The Vgs pulse is still about 1.2 usec wide.
Here's the same image as above, but with a 7 amp load. The SG3525A is now pulsing the FETs much more often to handle the load. The gate-drive pulses are now 8us wide and the drain-source voltages are clearly jumping from zero volts to 156 volts to 312 volts.
The circuit controlling this pulse width is the opto-coupler feedback going into the inverting input on the SG3525A. As the load increases, the main output voltage tends to drop, telling the 741 op-amp to turn off the 4N25 opto-coupler. With the opto-coupler off, the inverting input for the error amplifier in the SG3525A falls and increases the pulse width. (See schematic in previous blog posting)
What boggles me about this picture is that this DC-DC converter was supposed to put out 400 watts. That's about 28 amps. Just pulling 7 amps causes the gate drive pulse width to increase to 8us which is over half of the available 15us time that they can be on. If I add another 7 amp load, the gate pulse width extends out to its full width of 15us and then the waveforms go a bit nuts. It seems to me that if we run out of controllable pulse width at 14 amps, then the controller has no way of providing anywhere near 28 amps. Hmm....
Another circuit I analyzed was the amperage control circuit. This circuit captures current going through the isolation transformer and converts it to voltage pulses. If these pulses get too high then the SG3525A controller should turn off the FET gate drives to prevent them from overheating. The top waveform in the above picture shows the voltage across the "Amps Adjust" potentiometer with just the 12V accessory battery load. Note that the primary signal shows nice rolling pulses; however, there are sharp spikes at every gate drive transition. These rolling pulses are supposed to control the nShutdown pin on the SG3525A controller. The unfortunate thing is that the actual voltage triggering the nShutdown pin are the voltage spikes. I believe the dimensions are 0.5V/div for the top waveform and 5us/div timebase.
Here's that same picture with a 7 amp load. The bottom waveform shows the FET gate drive pulses widening out to 8us and the voltage on the "amps adjust" pot show a much higher voltage (with much higher spikes too). I really need to get rid of those spikes.
I'm unsure of where to go next. It's clear to me that the 312 volts across the FETs along with the inductive kick-back spikes are running very near to the operating point of the FETs. At high current pulls, the inductive spikes are only going to get worse and tend to blow the FETs. I'm also concerned that a 7 amp load consumes just over 50% of the available pulse width modulation range for the gate-drive pulses, so we just can't supply more than about 13 amps without maxing out.
My first step is to try and reduce the inductive spiking. The only circuit provided for that is the C7/R16 capacitor/resistor pair between the FET drain posts. I found a great article on how to pick these values on the Maxim website here:
http://www.maxim-ic.com/appnotes.cfm/an_pk/3835
I also might add an RC filter to the "amps adjust" circuit to filter out the high-voltage spikes so that the nShutdown input gets a more accurate voltage.
I still haven't heard back from CCpower about this, but I'll give them a few more days. As you might imagine, I'm rather frustrated that I have to debug someone else's design. I'm not sure this component was meant for this application.
Here's my full testbench setup. On the upper left, I have a 156V DC power supply. On the lower-left sits a 12V battery to act as an accessory battery. The 30Mhz $400 oscilloscope sits ready. The opened up DC-DC converter is front and center. I have the oscope covered with cardboard to shield out excess light so I can take pictures of waveforms. I actually used the aluminum case for the DC-DC converter as a camera stand so that I could turn off the flash which causes too much glare on the oscope screen.
Here's a close-up view of the 156V power supply. In essence, I took five 31.2 volt power supplies from HP inkjet printers and hooked them up in series. I broke off the grounding pin of all the power cords except the bottom supply so that the output stage could float and allow the series connection. These supplies put out 2.5 amps, so this ought to provide 375 watts of power if I need it for testing.
Okay, here's the first scope trace. I removed the blown FETs and simply measured Vgs at the missing part location. Dimensions are 5us/div and 5V/div. It looks like we have a period of 30us and the power supply for the SG3525A is 12 volts. Without the FETs in place the controller drives both FETs in push-pull configuration at their full duty cycle. There's actually a dead time of about 0.6us between the high states on the gate-drive pulses.
I've just soldered in two IRFP460 FETs (still with no load on the output) and here's what the gate-drive looks like. The pulse from the SG3525A is on the bottom and the actual Vgs voltage at the FET is the top waveform. The IRFP460 part has a larger gate capacitance than the original IRFP350 parts, so the charge and discharge slope doesn't look so great. Perhaps I could reduce the resistance of the gate-drive resistors to help with this. The FETs are still cold with no load. With the FET in place, the drive pulse shortens to 0.9us. Dimensions are 0.5us/div and 5V/div.
Here's where things get interesting. I'm now measuring the drain-source voltage on one of the FETs (Vds) with no output load. Dimensions are 20us/div and 50V/div. Without any load, the voltage swings on the FETs are twice the input voltage (about 312 volts) plus any ringing from inductor kick-back! One of the disadvantages of the push-pull architecture is that the driving transistors need to handle twice the input voltage.
The far left of the screen shows one FET turning off and letting the voltage oscillate. The two high spikes near the right edge of the screen show the voltage across the first FET as the second FET turns on. There's even over-voltage from the inductive ringing. If the input voltage goes up to 170V with charging and regenerative braking, the FETs need to handle at least 340 volts plus the ringing voltage, which is typically even higher... (yikes!)
I've added the 12V accessory battery as an output load and let things settle. This picture shows the gate drive (Vgs) of one FET (bottom left) and the resulting source-drain voltage (Vds) on the opposite FET. Time dimension is 5us/div. Note that the pulses going to the FET gates are 15us apart, causing the snap to a low voltage three divisions into the display. The Vgs pulse is still about 1.2 usec wide.
Here's the same image as above, but with a 7 amp load. The SG3525A is now pulsing the FETs much more often to handle the load. The gate-drive pulses are now 8us wide and the drain-source voltages are clearly jumping from zero volts to 156 volts to 312 volts.
The circuit controlling this pulse width is the opto-coupler feedback going into the inverting input on the SG3525A. As the load increases, the main output voltage tends to drop, telling the 741 op-amp to turn off the 4N25 opto-coupler. With the opto-coupler off, the inverting input for the error amplifier in the SG3525A falls and increases the pulse width. (See schematic in previous blog posting)
What boggles me about this picture is that this DC-DC converter was supposed to put out 400 watts. That's about 28 amps. Just pulling 7 amps causes the gate drive pulse width to increase to 8us which is over half of the available 15us time that they can be on. If I add another 7 amp load, the gate pulse width extends out to its full width of 15us and then the waveforms go a bit nuts. It seems to me that if we run out of controllable pulse width at 14 amps, then the controller has no way of providing anywhere near 28 amps. Hmm....
Another circuit I analyzed was the amperage control circuit. This circuit captures current going through the isolation transformer and converts it to voltage pulses. If these pulses get too high then the SG3525A controller should turn off the FET gate drives to prevent them from overheating. The top waveform in the above picture shows the voltage across the "Amps Adjust" potentiometer with just the 12V accessory battery load. Note that the primary signal shows nice rolling pulses; however, there are sharp spikes at every gate drive transition. These rolling pulses are supposed to control the nShutdown pin on the SG3525A controller. The unfortunate thing is that the actual voltage triggering the nShutdown pin are the voltage spikes. I believe the dimensions are 0.5V/div for the top waveform and 5us/div timebase.
Here's that same picture with a 7 amp load. The bottom waveform shows the FET gate drive pulses widening out to 8us and the voltage on the "amps adjust" pot show a much higher voltage (with much higher spikes too). I really need to get rid of those spikes.
I'm unsure of where to go next. It's clear to me that the 312 volts across the FETs along with the inductive kick-back spikes are running very near to the operating point of the FETs. At high current pulls, the inductive spikes are only going to get worse and tend to blow the FETs. I'm also concerned that a 7 amp load consumes just over 50% of the available pulse width modulation range for the gate-drive pulses, so we just can't supply more than about 13 amps without maxing out.
My first step is to try and reduce the inductive spiking. The only circuit provided for that is the C7/R16 capacitor/resistor pair between the FET drain posts. I found a great article on how to pick these values on the Maxim website here:
http://www.maxim-ic.com/appnotes.cfm/an_pk/3835
I also might add an RC filter to the "amps adjust" circuit to filter out the high-voltage spikes so that the nShutdown input gets a more accurate voltage.
I still haven't heard back from CCpower about this, but I'll give them a few more days. As you might imagine, I'm rather frustrated that I have to debug someone else's design. I'm not sure this component was meant for this application.
Wednesday, September 5, 2007
Initial CCPower Schematic
In my efforts to debug the failures of the DC-DC converter, I tried to capture a schematic of the board. I didn't have time to create a component for the SG3525A controller, but all the pin numbers are listed. I replaced the IRFP350 FETs with IRFP460 FETs which have a higher isolation voltage and larger drive current; however, they also have about twice the gate capacitance, which I didn't think of.
Any suggestions for what could blow the FETs up would be helpful (please leave in comments section).
You can get a larger image by clicking on the thumbnail above.
Links to the various parts are:
IRFP350
IRFP460
SG3525A
The failing conditions are when the 12V accessories are drawing a lot of current (25 amps) and the output voltage has sagged down to 12V (DC-DC tries to put out 13.9V).
I'm guessing that as the voltage sags, the output (pin 6) of the 741 op-amp goes low and turns off the LED in the opto-coupler. With the opto-coupler off, the voltage goes low on pin1 of the SG3525A (inverting input to error amp) and increases the pulse widths going to the drive FETs. If the pulse widths are too long, they cause the FETs to stay on too long and saturate the inductors, which causes a high-current spike of +144V that blows the FETs.
Supposedly, the current sense loop voltage that is adjusted by the R8 potentiometer should send a positive pulse into pin10 of the controller to shut down the FETs, but this may not be happening quickly enough.
Initially, I cringed because there were no kick-back diodes in the circuit, but I think that C7 and R16 (2 watt resistor) send any kick-back currents into the opposite inductor when the FETs let go.
Any ideas? Thanks for your input.
Cheers,
Tim
Any suggestions for what could blow the FETs up would be helpful (please leave in comments section).
You can get a larger image by clicking on the thumbnail above.
Links to the various parts are:
IRFP350
IRFP460
SG3525A
The failing conditions are when the 12V accessories are drawing a lot of current (25 amps) and the output voltage has sagged down to 12V (DC-DC tries to put out 13.9V).
I'm guessing that as the voltage sags, the output (pin 6) of the 741 op-amp goes low and turns off the LED in the opto-coupler. With the opto-coupler off, the voltage goes low on pin1 of the SG3525A (inverting input to error amp) and increases the pulse widths going to the drive FETs. If the pulse widths are too long, they cause the FETs to stay on too long and saturate the inductors, which causes a high-current spike of +144V that blows the FETs.
Supposedly, the current sense loop voltage that is adjusted by the R8 potentiometer should send a positive pulse into pin10 of the controller to shut down the FETs, but this may not be happening quickly enough.
Initially, I cringed because there were no kick-back diodes in the circuit, but I think that C7 and R16 (2 watt resistor) send any kick-back currents into the opposite inductor when the FETs let go.
Any ideas? Thanks for your input.
Cheers,
Tim
Subscribe to:
Posts (Atom)