Skip to content

Solenoid stroke measure using current sense and position control

License

Notifications You must be signed in to change notification settings

akita11/SolenoidStrokeMeasureControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solenoid Stroke Measure & Control

Measuring Solenoid Stroke, which corresponds to the inductance, by sensing current waveform at OFF->ON state,calculated from resistance's voltage at source of nMOSFET, amplified by non-inverting amplifier.

How to Operate

  • connect this board to M5Stck Core2's PortA.
  • connect the solenoid and the power for it to this board
  • generate PWM at PortA's pin3 (GPIO32). PWM frequency can be set for the solenoid used, such as 100Hz.
  • waveform on PortA's pin4 (GPIO33) gives current
  • sample programs (for Arduino or ESP32/M5Stack Core2)
    • Measure_... for parameter measurement
    • Control... for position control

Measurement&Control Unit Board

available at here or purchase here.

Experimental Results

Test results are in 'test240424' folder. Takaha's CBS07300580 with power suppply of 12V. R5=100k&R6=10k for x101 amplification, with R4, R7, R8, R9 unused.

Author

Junichi Akita (akita@ifdl, @akita11)

About

Solenoid stroke measure using current sense and position control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages