Skip to content

A (not-so-efficient) tool for designing cascaded BJT amplifiers with a genetic algorithm.

License

Notifications You must be signed in to change notification settings

busyboredom/AmplifierOptimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmplifierOptimizer generates simple cascaded amplifiers according to a user-defined loss function using a genetic algorithm.

The amplifier consistes of two BJT amplifiers, cascaded. The first is a common emitter BJT amplifier with voltage divider biasing and an emitter resistor with bipass capacitor.

The second amplifier, isolated from the first by a coupling capacitor, is identical to the first but with a common collector, no collector resistor, and no bipass capacitor on the emitter resistor.

Your loss function and some hardware parameters, as well as some algorithm parameters (population, generations, etc.) can be set in config.hpp.

Build with Cmake and run with ./src/AmplifierOptimizer.

Heads up -- this thing is NOT efficient. If you need to make a cascaded amplifier, this works. If you need to make 1,000 of them, you might want to look elsewhere.

About

A (not-so-efficient) tool for designing cascaded BJT amplifiers with a genetic algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published