Solenoid valves are one of the most common actuators in many automated process systems. There are many different types of solenoid valves, such as those used for water supply switches or gas pipes, and some solenoid valve pistons are used for simple linear piston movement. One of the most common applications we see is the doorbell. The doorbell has a piston-type solenoid valve coil that moves a small rod inside it when it is energized by an AC power source. The rod hits the metal plates at both ends of the solenoid valve to produce the "ding dong" sound.
Although there are many different mechanisms for solenoid valves, the basic principle remains the same. It consists of a coil of wire wrapped around a metal (conductive) material. When the coil is energized, the conductive material undergoes some kind of mechanical movement, and when it is de-energized, a spring or other mechanism reverses the movement. Because solenoid valves contain coils, they consume a lot of current, so they must be operated through some kind of drive circuit. Here we will describe how to build a drive circuit for a solenoid valve.
Required components
Solenoid valve
12V power adapter
7805 regulator
IRF540N mos
IN4007 diode
0.1uF capacitor
1kΩ and 10kΩ resistor
Working principle of solenoid valve
A solenoid valve is a device that converts electrical energy into mechanical energy. It consists of a coil wrapped around a conductive material, which makes it an electromagnet. The advantage of an electromagnet over a natural magnet is that it can control its activation by energizing the coil as needed. According to Faraday's law, a magnetic field surrounds the conductor through which current flows, and the magnetic field between the coils can be large enough to magnetize the material and produce mechanical movement.
In this process, the coil will absorb a lot of current and cause hysteresis, so it is not feasible to drive the solenoid valve directly through the logic circuit. Here we use a 12V solenoid valve that is commonly used to control the flow of liquids. After charging, the solenoid valve will absorb 700mA of continuous current and the peak value is close to 1.2A. So we must take these values into account when designing the circuit.
Circuit diagram
As you can see, the drive circuit is not complicated. We can complete the above connections with a simple breadboard. The solenoid valve can be opened by passing 12V voltage through both ends and closed after removing the power supply. In order to control this switching process, we need to design a switching circuit, so the MOS tube is also an important part of the circuit. The following are the parameters that need to be paid attention to when selecting the MOS tube.
Turn-on voltage Vgs(th): This is the turn-on voltage of the MOS tube. The turn-on voltage of the IRF540 we selected is 4V, and our power supply is 5V, so it can ensure that the MOS tube is fully turned on.
On-resistance: When the MOS tube is fully turned on, there is an impedance between the drain and the source, which is called the on-resistance. This value should be as low as possible, otherwise there will be a large voltage drop, so that there will not be enough voltage to turn on the solenoid valve. The on-resistance of the MOS tube here is only 0.077Ω.
If you want to build other solenoid valve applications, you must read the specification of the MOS tube you selected carefully. The 7805 linear regulator is used to convert the 12V input to 5V. After the switch is pressed, the voltage is transmitted to the gate of the MOS tube through the 1kΩ current limiting resistor. When the switch is not pressed, the gate is pulled down by a 10kΩ resistor. This allows the MOS tube to be turned off when the switch is not pressed. Finally, a diode is connected in reverse parallel to prevent the solenoid valve from discharging to the power supply circuit.
How the solenoid valve drive circuit works
Now that we understand the principle of the drive circuit, let's test the circuit built on the breadboard. I used a 12V adapter as the power supply, and the following is a physical picture.
When the middle button switch is pressed, the +5V voltage supplies the MOS tube to turn it on, thereby opening the solenoid valve. Pressing the switch again will disconnect the +5V power supply, so that the solenoid valve returns to the off state. The switch of the solenoid valve can be judged by the sound it makes. To make it more obvious, we can connect the top of the solenoid valve to a water pipe. In the default state, the solenoid valve is in the off state, so no water flows out. Once the solenoid valve is opened, water will flow into the cup from the bottom.
Previous article:There are many applications for machine vision, which one is the real shortcut?
Next article:What is the difference between a stepper motor and a servo motor?
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Problems that should be paid attention to in the development and design of TMS320C2XX
- Goodbye 2018, hello 2019
- STM32 related altium library files (F0, F1, F2, F3, F4, etc.)
- "Me and Intel SoC FPGA" + ARM hardcore development that is difficult to understand
- STM32L151C8T6 wake-up problem from standby mode
- A brief discussion on the causes of blistering on the copper electroplating board surface of the circuit board
- Friends who don't know how to start power supply design, please take a look at the good things shared by TI designers
- How to accurately measure switching losses?
- MCU application architecture arrangement
- Inexpensive fiber optic transceiver