13.07.2015 Views

Motor Drive Module Design for Electric Care Bed - inass

Motor Drive Module Design for Electric Care Bed - inass

Motor Drive Module Design for Electric Care Bed - inass

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 10. the Interface of Position SelectionSIGNAL(SIG INPUT CAPTURE1){ICP time=ICR1; capture();}int capture(){static int oldFall=0x00;int temp,newFall;newFall=ICR1;temp=newFall-oldFall;oldFall=newFall;return temp;}4.2 Position control of motion control systemSome products using electric motors are not onlylimited in the effect of start and shut control and directioncontrol, but also in short of the location controlor speed control. The following mainly introduces theposition control principle of the linear actuator mechanismwith position sensor. The position memory functioncan be applied to many of the controlled objectswhich do not require high accuracy such as electriccurtain, electric doors, electric seats, etc.Position control design can simplify the user’s operation.Users can operate the bed to the most com<strong>for</strong>tableposition, and then click “Position Memory key”to store the position. If users want to achieve this positionagain, click “Location 1” key, the actuator willpush bed to the last set position. For users, the positionmemory function can remember two positionsby pressing the “position 1”, “Location 2” key. Ifusers want to adjust the set position, just press “locationmemory” button, the user interface will appear(as shown in Figure 10).4.2.1 The hardware design of position control1. Absolute position control hardware designAbsolute position control is the benchmark runningposition of electric care bed. Using theHall sensor as reference position detection feedbackdevice, the output of these devices (Pin3) switches low when the magnetic field at theHall sensor exceeds the operating point threshold.At this point, the output voltage is VOUT.When the magnetic field is reduced below thereleasing point threshold, the device output goeshigh. The difference between the magnetic operatingand releasing points is called the hysteresisof the device. This built-in hysteresis allowsclean switching of the output even in thepresence of external mechanical vibration andelectrical noise.Hall sensor works as follows: When current Ion the magnetic field goes through the Hall sensor,if the current direction is perpendicular tothe magnetic field, the horizontal side of thesemiconductor substrate, which is between verticalsub-current and magnetic flux, generatesa voltage. The voltage is called Hall voltageUH. Hall voltage is proportional to the current(I) and magnetic induction (B), as shown in Eq.(3.1):U H = R H IB/d (3.1)Where R H is the hall coefficiency, d is the thicknessof the substrate, I is the electric current, Bis the magnetic induction. The current is constantand the Hall voltage is proportional to themagnetic induction (B), sizing only to the sizeof the magnetic induction, and has nothing todo with flux change rate. In this system, thereare four Hall sensors to control the electric carebed’s four postures. The sensor’s hardware designis shown in Figure 11. Pin 1 is connectedto +5V, to supply the voltage. Pin 2 is connectedto GND. Pin 3 is connected to the external interruptpin of AT90CAN128(PD0,PD1,PD2,PD3).2. Relative position control hardware designThe linear actuator with the position sensor, puttingretractable rod a lead, while the linear actuatorgives six pulses, through the controllerunit to capture the pulse count, and then controlthe position of electric care bed. The fol-International Journal of Intelligent Engineering and Systems, Vol.3, No.3, 2010 31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!