levitation system - pid controller

Status
Not open for further replies.

ymmen

Member level 1
Joined
Nov 4, 2014
Messages
35
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Visit site
Activity points
244
Iam trying to design a magnetic Levitation System, with the help of solenoid, a magnet and PID controller. As iam using a hallsensor for sensing position of magnet and interfacing it with arduino, i dont get much range of voltage i.e. in arduino value varies from 350 to 500 with magnet and without magnet. how to increase the range?
 

which hall senser ic ,u used ??
vcc voltage ??

if u wana to use nly sense the position of magnet,

On (LOW) with magnetic South Pole and Off (HIGH) without magnetic field or
with magnetic North Pole, if you need inverted output, use a NPN Transistor like
BC547 or FET or inverter chip like CMOS CD40106 or TTL 74LS04

or use an opamp and get 2 level

then connect to the pin 2 of arduino
 

i gave 5V as VCC. As under no magnetic field the sensor gives 2.5 V, with a gain=2, it will give 5V which will be above the range of voltage that arduino can sense. what VCC should i provide then?
 

which hall sensor ic is used??

check datashet

one more question has arised i was experimenting, how does frequency of PWM generated for solenoid effectthe whole system, and how should i decide the optimum frequency to be used?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…