# Mixed Signal Circuit Design and Simulation Marathon 2022.


# CMOS Image Sensor
CMOS Image Sensor Implementation in eSim.
(*** Note: This Project Output was not as expected, uploaded to complete the competition process to show the work I did during the competition duration).

# CMOS Image Sensor (I to F Converter)
* Abstract
* Reference Circuit Diagram
* Reference Waveform
* Circuit Details
* Software Used
* eSim
* Circuit Diagram in eSim
* Verilog Code
* Netlists
* GAW Plots
* Acknowlegdements
* References

# Abstract
An CMOS Sensor is electronic chip that converts photons to electrons for digital processing. An Image Sensing Optical Receiver such as a CMOS Image Sensors (CIS) is made of Photodiode, Analog Circuits, Mixed Signal Circuits to amplify small photocurrents into digital signals. CMOS Sensors are used to create images in digital cameras, digital videos cameras and CCTV. 

# Reference Circuit Diagram
![image](https://user-images.githubusercontent.com/15033272/194718144-367ca04b-1c94-42f5-b232-79402b1ce1c3.png)

# Reference Waveform
![image](https://user-images.githubusercontent.com/15033272/194718155-f33f9152-4d76-437c-bc18-45efb32f35db.png)

# Circuit Details
Several digital color sensors employ light to frequency technique and photodiodes, which is similar to other studies. These frequency – based digital sensors require an advanced processor, such as digital signal processor or personal computer to measure or calculate the frequency. Figure 1 shows an sensor. The time or duration of the ramp signal is: 
▲t = Cint * ▲V / Iphoto.

# Software Used
# eSim Software
It is an Open Source EDA developed by FOSSEE, IIT Bombay. It is used for electronic circuit simulation. It is made by the combination of two software namely NgSpice and KiCAD. For more details refer:  https://esim.fossee.in/home

# Circuit Diagram in eSim
The following is the schematic in eSim:
![image](https://user-images.githubusercontent.com/15033272/194718316-b77c11c2-f957-4dea-8299-763f28323cd8.png)

# Verilog Code
![image](https://user-images.githubusercontent.com/15033272/194718524-4fc6ed44-1c72-49c7-97b5-9491c1cd6e47.png)

# Netlists
![image](https://user-images.githubusercontent.com/15033272/194718510-2ffa917c-e605-498e-89c8-1ff8a9f4aa4e.png)

# GAW Plots
![CmosSensorSanketKulkarniOpWf](https://user-images.githubusercontent.com/15033272/194718564-750fb9d0-0569-49a2-a336-63e8abea3c78.jpeg)

# Acknowledgements
1. http://iitb.ac.in/
2. https://www.google.co.in/
3. https://fossee.in/
4. https://spoken-tutorial.org/
5. https://www.vlsisystemdesign.com/
6. https://www.c2s.gov.in/

# References
1.	CMOS Analog and Mixed Signal Circuit Design, Practices and Innovations by Arjuna Marzuki, Pg. 212.
            