but relays do not work here, because the valve will operate with pwm signal with source voltage 12 volt
The valve will be inductive so a free-wheel diode is needed across it - as in circuits for switching a relay using a mosfet.
As in a circuit for switching a relay. Read what was posted.You want a Logic Level MOSFET and you can PWM the low side of the valve. It's a common circuit, nothing unique or out of the ordinary. Ron
measured, the current is about 1.1A,while the sensor has two terminals positive and negative Thanks