Measuring Solenoid Stroke and Temperature with Technology
A new method predicts solenoid position and temperature using electrical changes.
― 7 min read
Table of Contents
- The Basics of Solenoid Function
- Using Technology to Measure Solenoid Stroke and Temperature
- The Big Idea Behind Our Research
- Why Use CNN?
- A Look at Related Works
- Electrical Characteristics of the Solenoid
- The Experimental Setup
- Training Our CNN
- Evaluating the Results
- Preliminary Control Experiments
- Challenges and Observations
- Conclusion and Looking Ahead
- Original Source
- Reference Links
Imagine a device that can push or pull objects just by using an electric coil. That’s a solenoid! It’s like magic, but with science. Solenoids are simple machines made of two main parts: a coil and a plunger. When you send electricity through the coil, it creates a magnetic field that moves the plunger. This is how solenoids are used in many devices, such as locks, valves, and even car engines.
The Basics of Solenoid Function
A solenoid usually has two main states: ON and OFF. When it’s ON, the coil is energized, and the plunger is pulled in. When it’s OFF, the plunger is released. You can control how far the plunger goes by adjusting how long the coil is powered. However, there’s more to it than just turning the power on and off.
As the plunger moves, its position affects the electrical properties of the solenoid. Specifically, the inductance changes with the plunger's position. Inductance is a property that tells us how well the solenoid can store energy. So, if we can measure these electrical changes, we can figure out how far the plunger has moved without using any mechanical parts or fancy gadgets.
Temperature
Using Technology to Measure Solenoid Stroke andNow, what if we could measure not just the position of the plunger but also its temperature? That’s where new technology comes into play, specifically a method that uses a Convolution Neural Network (CNN). Wait, don’t roll your eyes yet! It’s just a fancy way of saying we're using a smart computer program to help us understand the data we collect.
This smart program can take readings from the solenoid's driving current at two different points and predict both the stroke (the position of the plunger) and temperature. This means we can keep everything as simple as possible without attaching sensors directly to the solenoid.
The Big Idea Behind Our Research
We wanted to create a method that allows us to figure out what’s going on with the solenoid in a clever way. Instead of relying on clunky sensors with wires everywhere, we decided to use the electrical changes in the solenoid to predict the position and temperature.
We conducted experiments to see if our method worked well. We tested different PWM (Pulse Width Modulation) settings-this is just a way of controlling how much power goes to the solenoid. By changing how long we let the solenoid stay ON versus OFF, we could see how it affected the plunger's position and temperature.
Why Use CNN?
You might be wondering, why bother with CNN? Isn’t that something only tech geniuses use? Well, yes and no! CNNs are good at picking out patterns in data, much like a detective solving a mystery. They analyze the driving current data we collected and help us predict what’s happening without needing to keep everything under a microscope. Plus, they make us look super smart!
A Look at Related Works
Before we dive deeper into our findings, let’s take a quick look at what other people have done in this field.
Many researchers have tried to measure the position of the plunger in other ways. Some used complicated models, while others opted for sensors. But guess what? Many of these methods weren’t very practical for everyday use. Why? They required a lot of data and complex setups, which isn’t exactly user-friendly.
So, we wanted to become the heroes of simplicity. We aimed to create a method that anyone could use without needing to be a rocket scientist.
Electrical Characteristics of the Solenoid
To understand our approach better, let's think about the basics of how a solenoid operates. When electricity flows through the coil, it creates a magnetic field. The strength of this field changes based on the plunger's position, which, in turn, affects the inductance.
In easier terms, think of it like a seesaw. When the plunger moves, it's like shifting weight on the seesaw, changing how it balances. This balancing act can tell us valuable information about the plunger's position and temperature if we can measure the electrical signals correctly.
The Experimental Setup
So, how did we put our method to the test? We took three different solenoids and set up some experiments. We attached gadgets like a thermocouple to measure temperature and a Peltier unit to help control the heat. We also used the Arduino UNO, a handy little device that helps us generate the PWM signals needed to run our solenoids.
To get a good understanding, we varied the PWM duty cycle (that's the ON and OFF timing we mentioned earlier), and we changed the temperature settings to see how they would affect our predictions.
Training Our CNN
Once we gathered our data, we fed it to our CNN. Think of it like training a puppy. The CNN learned from the data (which were our “treats”) over many runs until it could accurately predict the stroke and temperature of the solenoid. After training, we were able to predict the plunger position with an error of about 0.3mm and the temperature with an error of about 0.5 degrees.
Evaluating the Results
Now for the fun part-seeing how well our method worked! We took the trained model to evaluate our predictions. We fixed the plunger in different positions and collected data to see how closely our CNN could predict where the plunger was and what temperature it reached.
Overall, our predictions turned out to be quite accurate. We calculated the average prediction error for the stroke position to be around 0.2mm, which is pretty darn good!
Preliminary Control Experiments
But wait, there's more! We didn’t stop at just measuring the position and temperature; we wanted to control the solenoid based on our predictions as well. We used a simple control method called PID (Proportional, Integral, Derivative) control.
In simple terms, PID control is like a GPS for our solenoid; it helps us reach our target position by adjusting how much power to send to the solenoid. We tested our control method and found that it tracked the target position with less than 0.2mm error, though we noticed some jumps or overshoots, especially when approaching the target.
Challenges and Observations
As we dug deeper, we realized that our solenoid has its quirks. The way the plunger pulls may sometimes cause it to overshoot the target, which can be a bit annoying. It's like trying to catch a ball; if you reach too soon, you miss it completely!
We noted that solenoids have mechanical characteristics that could affect our control system, making it responsive in ways we didn’t fully expect. That’s something we plan to look into further, along with refining our temperature predictions.
Conclusion and Looking Ahead
In summary, we came up with a clever way to measure both the stroke and temperature of a solenoid using a smart algorithm. By using electrical characteristics and a CNN, we simplified the process and achieved decent accuracy.
Still, the world of solenoids is full of surprises. Although we achieved good results, we saw that there’s room for improvement, especially regarding overshooting and temperature prediction.
In our future endeavors, we aim to develop a more robust control model that considers the solenoid’s mechanical properties. Plus, we want to dive deeper into why our temperature predictions may not match our expectations every time.
The road may be a bumpy one, but we are eager to keep going and make our solenoid control system better than ever. Who knows? Maybe we’ll unlock even more of its potential-without the need for any mystery gadgets!
Title: Sensorless Measurement of Solenoid Stroke and Temperature using Convolution Neural Network with Two Points of PWM Driving Current
Abstract: In this paper, we describe the algorithm to measure the stroke and the temperature of solenoid using PWM driving current at two points based on the electric characteristics of the solenoid with CNN, without mechanical attachments. We describe the evaluation experimental results of the stroke and the temperature prediction. We also describe the preliminary experimental results of controlling the solenoid stroke at intermediate position.
Authors: Junichi Akita
Last Update: 2024-11-09 00:00:00
Language: English
Source URL: https://arxiv.org/abs/2411.07270
Source PDF: https://arxiv.org/pdf/2411.07270
Licence: https://creativecommons.org/licenses/by-sa/4.0/
Changes: This summary was created with assistance from AI and may have inaccuracies. For accurate information, please refer to the original source documents linked here.
Thank you to arxiv for use of its open access interoperability.
Reference Links
- https://github.com/akita11/SolenoidStrokeMeasureControl/tree/main/Control_NN/src
- https://colab.research.google.com/drive/1OMEzLZdXMVaNEHrXTlGpAzq_ErBOUWMa
- https://arxiv.org/abs/2405.11721
- https://www.takaha-japan.com/product/cbs0730/
- https://www.takaha-japan.com/product/cb1037/
- https://www.takaha-japan.com/product/ssbh-0830/
- https://shop.m5stack.com/products/m5stack-core2-esp32-iot-development-kit-v1-1