Hello partners
The design that you are going to see next belongs to a sensor that I am building, this sensor will be capable of measuring voltages between 25-40 volts through the ADC of a microcontroller and at the same time feeding on these voltages.
A fundamental part of every sensor is to have an overvoltage protection circuit, to take care of the microcontroller and any extra components from any overvoltage that happens in the future.
When I started looking for protection circuits I found the Crowbar circuit, I have looked everywhere, to know how and what component values to use so that this crowbar circuit protects my sensor from voltages above 40 volts.

Crowbar Circuit

I tried to do the simulation as you can see in the following image but something is wrong and it does not allow my circuit to work at 39 - 40 volts, it just burns.

I would be very grateful if you help me with this problem, it has really been a headache.
The design that you are going to see next belongs to a sensor that I am building, this sensor will be capable of measuring voltages between 25-40 volts through the ADC of a microcontroller and at the same time feeding on these voltages.
A fundamental part of every sensor is to have an overvoltage protection circuit, to take care of the microcontroller and any extra components from any overvoltage that happens in the future.
When I started looking for protection circuits I found the Crowbar circuit, I have looked everywhere, to know how and what component values to use so that this crowbar circuit protects my sensor from voltages above 40 volts.

Crowbar Circuit

I tried to do the simulation as you can see in the following image but something is wrong and it does not allow my circuit to work at 39 - 40 volts, it just burns.

I would be very grateful if you help me with this problem, it has really been a headache.