C4 Tech/Performance L98 Corvette and LT1 Corvette Technical Info, Internal Engine, External Engine

Alternator mod for lithium battery

Thread Tools
 
Search this Thread
 
Old Oct 25, 2022 | 08:44 PM
  #21  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default first run

I completed a test run with the headlights on and it went on quite well.
I had fixed a problem that caused oscillations of the voltage by connecting a capacitor at the output to the sense voltage. the amplifier sends a 500hz triangle shape waveform, possibly because of the pwm signal from arduino. the capacitor smoothens the signal and now the output from the alternator looks steady. There are also large capacitors available that could help the car getting a very smooth supply of voltage.
I set it up to 12.5V in normal mode and it stood there until the alternator heated up to 62C ( the temp setpoint). There is a different pwm control for thermal throttling and when the set point is met it switches between them. I think I could try something different like lowering the setpoint based on temperature, but it worked well enough like that.
I’ll adjust the temperature and voltage set points higher under engine braking for regen.
Currently I have signal from the injectors but it doesn’t detect engine braking because it seems like the ecm still runs the injectors during engine braking which is confirmed by the onboard computer, fuel consumption doesn’t fall to zero. So I need to figure a way around that. Either counting the time for each injection pulse or to use a capacitor at the board terminal and average these pulses. It could set it just say 20% below idle pulse. Anyway I’ll measure with the oscilloscope. Last time it seemed it sends alternative current instead of pulses, maybe it’s a smoother way, so I probably need a diode as well.




And here is a picture of the solar eclipse through the telescope and projected on a piece of paper I took yesterday
Reply
Old Oct 29, 2022 | 07:44 PM
  #22  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

I’ve tried to add the code to read pulse widths at a digital pin but it takes too much resources of the microcontroller. I wasn’t able to find a solution that doesn’t keep the the μc busy. If I take readings at fixed intervals I miss the pulses. I wait for a pulse, read it then let the program run for a couple of seconds and repeat. Anyway, the ECM grounds one of the pins on the injectors while the other one is connected to positive all times, so the signal is inverted. I also think I need a zenner diode because of the injector coils and possibly RFI (cables not shielded yet). With the injector signal wire plugged in, the Arduino board is getting voltage reading fluctuations. The current setup is diode-voltage divider (30k/7k/GND)-board pin.
Alternatively I could use the map(or an extra sensor since measurement will disturb the system) sensor value which is lower than idle while engine braking, or a second option, an oxygen sensor that some say would read lean. I already have two sensors installed, I only need to see what kind of voltage it sends.
Reply
Old Oct 30, 2022 | 11:09 AM
  #23  
DblTrbl's Avatar
DblTrbl
Burning Brakes
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2013
Posts: 889
Likes: 472
From: Central NJ
Default

Originally Posted by Nilak
I’ve tried to add the code to read pulse widths at a digital pin but it takes too much resources of the microcontroller. I wasn’t able to find a solution that doesn’t keep the the μc busy. If I take readings at fixed intervals I miss the pulses. I wait for a pulse, read it then let the program run for a couple of seconds and repeat. .
No, your code is not written correctly. You need to use interrupts. It takes almost no resources whatsoever. If you can't figure out interrupt code, I can show you.
Reply
Old Oct 30, 2022 | 11:17 AM
  #24  
DblTrbl's Avatar
DblTrbl
Burning Brakes
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2013
Posts: 889
Likes: 472
From: Central NJ
Default

Originally Posted by NavAir
Nice engineering, but aren't you concerned about the possible fire hazard using a lithium battery? That thing sits right in front of your feet...
Lithium batteries are used in many 12v batteries that look just like standard lead acid. For example, late model BMW M3s use them.
Reply
Old Oct 30, 2022 | 04:23 PM
  #25  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

Originally Posted by DblTrbl
No, your code is not written correctly. You need to use interrupts. It takes almost no resources whatsoever. If you can't figure out interrupt code, I can show you.
Thank you,
Yes, I think it can be done. I wanted to use interrupts to trigger a function for rising signal then another function for falling on the same pin but only one function worked, maybe using state “change” would work. Anyway, I don’t like the signal I get from injectors. I have a wire that comes from the EV1 connector and it is connected to 12V as the injector have 12V at one terminal, then falls to 0 every time the injector is energised so it’s an inverted signal. The problem is for some reason I read voltages of up to 88V. It already fried a board which could only handle up to +/-25V. Also I’ll be installing a bluetooth AFR sensor that has an output 0-5V wire and I want to take that input, display it and determine engine braking as well, which should be while the AFR reads very low.
Reply
Old Nov 1, 2022 | 01:57 PM
  #26  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

Regen works now. It’s triggered by an old lambda sensor on the passenger side where I’m going to install the wideband sensor, which will do the same thing (the module has a 0-5V outlet proportional to AFR). You can notice about 2x the slowdown rate of the car, once no combustion is determined.
One issue I had was the temperature set point of the alternator that was 90C and with the radiator fans on, it would discharge the battery. I need to set it higher where it would stabilise while the battery is fully charged. I’m also searching for better design alternator. A 2006+ should have higher efficiency and run cooler.
Reply
Old Nov 1, 2022 | 02:09 PM
  #27  
DblTrbl's Avatar
DblTrbl
Burning Brakes
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2013
Posts: 889
Likes: 472
From: Central NJ
Default

Originally Posted by Nilak
I’m also searching for better design alternator. A 2006+ should have higher efficiency and run cooler.
2006 + alternators are nice because they are programmable. More efficient alternators are much later and have the "hairpin" coil design. Those are 6 phase instead of 3 phase.
Reply
Old Nov 1, 2022 | 02:56 PM
  #28  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

Originally Posted by DblTrbl
2006 + alternators are nice because they are programmable. More efficient alternators are much later and have the "hairpin" coil design. Those are 6 phase instead of 3 phase.
I think I could try adapting a c7 alternator. The lower mount should fit, and for the top I will design a new bracket. The problem is I need a solution for increasing rigidity like on the stock alternator that has a side mounting brace.
Reply
Corvette Stories

The Best of Corvette for Corvette Enthusiasts

story-0

10 Ugly Corvettes That We Still Kinda Love

 Joe Kucinski
story-1

Top 10 Most Expensive Corvettes Ever Sold on Bring A Trailer

 Brett Foote
story-2

10 Things Every Corvette Owner Needs (2026 Edition)

 Michael S. Palmer
story-3

8 Most "Only Corvette Owners Understand" Quirks and Problems

 Pouria Savadkouei
story-4

10 Reasons the C6 Z06 is Still A Performance Benchmark After 20 Years

 Joe Kucinski
story-5

How Much Horsepower Every Corvette Engine "LOST" in 1972

 Joe Kucinski
story-6

Top 10 DOs and DON'Ts for Protecting Your Convertible Top!

 Michael S. Palmer
story-7

Top 10 Most Explosive Corvettes Ever Made: Power-to-Weight Ratio Ranked!

 Joe Kucinski
story-8

150 hp to 1,250 hp: Every Corvette Generation Compared by the Specs That Matter

 Joe Kucinski
story-9

8 Coolest Corvette Pace Cars (and Replicas) of All Time

 Verdad Gallardo
Old Nov 1, 2022 | 05:38 PM
  #29  
DblTrbl's Avatar
DblTrbl
Burning Brakes
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2013
Posts: 889
Likes: 472
From: Central NJ
Default

Originally Posted by Nilak
I think I could try adapting a c7 alternator. The lower mount should fit, and for the top I will design a new bracket. The problem is I need a solution for increasing rigidity like on the stock alternator that has a side mounting brace.
If you want to go all out with your regen, then consider the oversized alternator from a Hyundai hybrid car. The alternator, because it's oversized, in addition to charging the batteries in the hybrid, is also used to start the engine and drive the car to some extent. Never seen one, just heard about it.
Reply
Old Nov 4, 2022 | 11:46 AM
  #30  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

Originally Posted by DblTrbl
If you want to go all out with your regen, then consider the oversized alternator from a Hyundai hybrid car. The alternator, because it's oversized, in addition to charging the batteries in the hybrid, is also used to start the engine and drive the car to some extent. Never seen one, just heard about it.
well, that would be a lot of work and research. The problem is that would need a larger battery energy capacity (I suppose 48V) to have all benefits plus coolant lines and an ESC plus throttle position input. But I don’t want to add weight to the car. The car is also historical and I want to be able to switch to stock quickly when I go for inspection.
I’m now searching for a LIN port alternator. I think it’s worth learning how to work with a binary communication protocol. Those alternators can send several parameters and work with several parameters for a much better control.
Reply
Old Nov 4, 2022 | 02:26 PM
  #31  
DblTrbl's Avatar
DblTrbl
Burning Brakes
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2013
Posts: 889
Likes: 472
From: Central NJ
Default

Didn't think you were going to use that, just threw it out there for general knowledge.
Reply
Old Nov 4, 2022 | 05:39 PM
  #32  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

COM connection alternators need decoding and it seems like it’s hard to find the necessary information, at most the protocol type can be found.
I thought of buying the regulator an play with it or maybe I can cut it open to see the chip producer. The alternator that I’ve found and I think would be suitable is from a Bmw g01,g30 180A.

Last edited by Nilak; Nov 5, 2022 at 02:20 AM.
Reply
Old Nov 6, 2022 | 06:59 PM
  #33  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

the module seems to work fine. In the default/(safe mode) it charges the battery to normal operating voltage (14V) then it disconnects and leaves the regulator work normally, as the alternator can handle a charged battery with no problems and it will do it better than the module.

So the conclusion is using the sense wire is fine for limiting the current until the battery is charged in case it was previously in a low SOC.
One aspect is charging rate is better to be setup lower initially if the thermistor is placed on the iron core because the coil pack can overheat before the temperature reaches the iron. You can do this by reading the initial then gradually go up to the voltage setpoint. However, the PID function already has the differential coefficient that basically doesn’t allow quick changes in temperature.
Reply
Old Jan 16, 2023 | 07:07 PM
  #34  
Nilak's Avatar
Nilak
Thread Starter
Racer
Photogenic
Liked
Loved
Community Favorite
 
Joined: Sep 2021
Posts: 360
Likes: 59
Default

I’m at the version 5.1 now and the last chance was more useful basically it should eliminate the need for a temperature sensor on the alternator, and it did well on testing. Basically what I did was introducing a set point limit to maximum a few millivolts (adjustable) above the actual voltage read at 30s intervals. Now it gradually brings the voltage up while charging the battery at 15-20A, It will only charge at full power while DFCO is active. Before,
it would charge at full power if the battery SOC was low until the temperature had risen to maximum allowed where it would start to reduce the duty cycle.
Reply
Old Jan 16, 2023 | 11:04 PM
  #35  
DblTrbl's Avatar
DblTrbl
Burning Brakes
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2013
Posts: 889
Likes: 472
From: Central NJ
Default

FYI, not sure you can use this, but I swap regulators on my alternators on a regular basis. I convert the dumb regulators to PWM controlled ones with this regulator module. 2 pin PWM regulator
Reply




All times are GMT -4. The time now is 06:57 AM.

story-0
10 Ugly Corvettes That We Still Kinda Love

Slideshow: 10 ugly Corvettes that we still kinda love.

By Joe Kucinski | 2026-06-03 10:34:17


VIEW MORE
story-1
Top 10 Most Expensive Corvettes Ever Sold on Bring A Trailer

A lot of money has changed hands at the online auction house over the years.

By Brett Foote | 2026-06-03 10:21:50


VIEW MORE
story-2
10 Things Every Corvette Owner Needs (2026 Edition)

Slideshow: 10 great gifts Corvette enthusiasts actually want for Father's Day!

By Michael S. Palmer | 2026-06-03 15:43:40


VIEW MORE
story-3
8 Most "Only Corvette Owners Understand" Quirks and Problems

Slideshow: These are the quirks, annoyances, and oddly lovable problems that every Corvette owner eventually learns to live with.

By Pouria Savadkouei | 2026-05-28 09:31:39


VIEW MORE
story-4
10 Reasons the C6 Z06 is Still A Performance Benchmark After 20 Years

Slideshow: 10 reasons why the C6 Z06 is still a performance benchmark after 20 years.

By Joe Kucinski | 2026-05-27 17:20:09


VIEW MORE
story-5
How Much Horsepower Every Corvette Engine "LOST" in 1972

Slideshow: How much horsepower every Corvette engine lost in 1972.

By Joe Kucinski | 2026-05-27 16:54:53


VIEW MORE
story-6
Top 10 DOs and DON'Ts for Protecting Your Convertible Top!

Slideshow: How to Protect A Convertible Top: 10 DOs & DON'Ts

By Michael S. Palmer | 2026-04-03 00:00:00


VIEW MORE
story-7
Top 10 Most Explosive Corvettes Ever Made: Power-to-Weight Ratio Ranked!

Slideshow: The 10 most explosive Corvettes ever built based on power-to-weight ratio.

By Joe Kucinski | 2026-05-20 07:23:03


VIEW MORE
story-8
150 hp to 1,250 hp: Every Corvette Generation Compared by the Specs That Matter

Slideshow: From C1 to C8 we compare every Corvette generation by the numbers.

By Joe Kucinski | 2026-05-12 16:54:12


VIEW MORE
story-9
8 Coolest Corvette Pace Cars (and Replicas) of All Time

Slideshow: Some Corvette pace cars became collectible legends, while others perfectly captured the look and attitude of their era.

By Verdad Gallardo | 2026-05-11 09:50:51


VIEW MORE