the present inventors recognized that available accelerometer based posture monitors could not distinguish between lying down and each upright position of sitting and standing . the &# 39 ; 431 patent , for example , distinguishes among several lying down positions but has no mechanism to distinguish sitting from standing . in addition , the present inventors recognized that physical discomfort and medical problems arising from posture and repetitive movements can be prevented with appropriate characterization and feedback .. they recognized a common solution for a variety of problems , such as ( a ) extended time in a single position ; ( b ) extended time sitting in a slouching posture ( kyphosis ) as opposed to sitting in an erect posture ( lordosis ); and ( c ) repetitive stressful movements , such as may be found on some manufacturing lines , while typing for an extended period of time without proper wrist support , or while working all day at a job lifting boxes . the present inventors designed a miniature electronic device that records position and posture within that position data over time , senses the circumstances that could lead to physical problems by analysing position and posture data over time , and signals the user to take action to avoid injury . the same equipment can also be used during physical therapy to monitor movements and exercises to ensure that a prescribed range of motion is not exceeded and to encourage proper performance of prescribed exercises . it can also be used to analyse movement during participation in physical activity , such as a sport involving a swing , to improve performance . in one embodiment , the present invention networks a pair of angular position sensors , one on each side of the hip joint , to distinguish lying down , sitting , and standing positions . in another embodiment , the present invention repeatedly records position and / or posture data over time . feedback is provided when a condition is met , such as position remains constant for too long a period of time or posture is kyphotic for too long a period of time . feedback can also be provided if a repetitive stressful movement is repeated too many times or if a desired range of motion limit is exceeded too many times . feedback can take the form of a vibration or an audible signal . the present inventors recognized that there are three components to human energy expenditure in non - exercising subjects ; basal metabolic rate ( bmr ), thermic effect of food ( tef ) and non - exercise activity thermogenesis ( neat ). bmr is the rate at which energy is expended when an individual is laying down at rest in the postabsorptive state . in sedentary individuals it accounts for approximately 60 % of total daily energy expenditure ( tdee ) and is highly predicted by lean body mass within and across species , as described in a paper “ avian basal metabolic rates : their association with body composition and energy expenditure in nature ,” by s . daan , d . masman , and a . groenewold , am j physiol , 1990 ; 259 ( 2 pt 2 ): r333 - 40 , and in a paper “ some consequences of body size ,” by l . e . ford , am j physiol , 1984 ; 247 ( 4 pt 2 ): h495 - 507 . tef is the increase in energy expenditure associated with the digestion , absorption , and storage of food and accounts for approximately 10 % of tdee . several investigators believe tef to represent a fixed proportion of tdee , as described in a paper , “ human energy expenditure in affluent societies : an analysis of 574 doubly - labeled water measurements .” by a . e . black , w . a . coward , a . m . prentice , and t . j . cole , eur j clin nutr , 1996 ; 50 ( 2 ): 72 - 92 and to be the invariant energy cost of converting food to metabolic fuels , as described in a paper , “ meal size and thermic response to food in male subjects as a function of maximum aerobic capacity ,” by j . o hill , s . b . heymsfield , c . d . mcmannus , and m . digirolamo , metabolism , 1984 ; 33 ( 8 ): 743 - 9 , and in a paper , “ thermic effect of food in lean and obese men ,” by d . a . alessio , e c kavle , m a mozzoli , et al ., j clin invest , 1988 ; 81 ( 6 ): 1781 - 9 whereas others propose that tef is actively regulated in response to changing food intake , as described in a paper , “ independent effects of obesity and insulin resistance on postprandial thermogenesis in men ,” by k r segal j albu , a chun , a edano , b legaspi , and f x pi - sunyer , j clin invest . 1992 ; 89 ( 3 ): 824 - 33 . neat is the thermogenesis that accompanies physical activities other than volitional exercise , such as the activities of daily living , such as sitting , standing and walking , body movement plus fidgeting , spontaneous muscle contraction , and maintaining posture when not recumbent . it accounts for approximately 30 % of tdee . in one study published in a paper , “ assessment of the heart - rate method for determining energy expenditure in man , using a whole - body calorimeter ,” by m . j . dauncey and w . p . james , published in br j nutr , 1979 ; 42 ( 1 ): 1 - 13 , the energy expenditure associated with lying , sitting and standing was measured in eight men confined to a room calorimeter . total energy expenditure increased by 10 % when seated compared to lying and by 36 % when standing compared to lying . furthermore , when these subjects were allowed to make voluntary movements to resemble fidgeting , energy expenditure increased further by 26 ±( sd ) 1 % in the lying position , 17 ± 16 % in the sitting position , and by 27 ± 14 % in the standing position . this experiment and others consistently demonstrate that low grade activities such as walking at ≈ 2 mph or cycling at 50w is associated with 2 - 3 fold increases in energy expenditure ( 7 , 9 , 10 ). furthermore , the number of hours spent per day performing these activities can be added up so that the contribution of neat activities to total daily energy expenditure in free living , sedentary subjects can be clarified ( fig1 ). thus , neat not only accounts for many hours in each day ( in fact , in sedentary individuals , all hours spent awake , not resting and not eating ) but the thermogenesis associated with each of these components is sufficiently great that neat has the potential to contribute significantly to total energy expenditure . the substantial majority of neat is accounted for by identifiable components such as body movement , sitting , standing and walking ; fidgeting ( small , non - purposeful distal limb movements ) also contribute to neat . a paper , “ role of nonexercise activity thermogenesis in resistance to fat gain in humans ,” by j . a . levine , n . l . eberhardt , and m . d . jensen , published in science , 1999 ; 283 ( 5399 ): 212 - 4 , concludes that increases in neat predict resistance to fat gain with over - feeding . however , investigations into the mechanism of this effect are hampered by the limited information regarding the components of neat in free - living subjects . the present inventors recognized that there is a large potential market for “ smart ” wearable instruments capable of comprehensive recording of human activity , body position , and energy expenditure is available . for example , approximately 800 obese patients are treated each year by the nutrition clinic of the mayo clinic . in the present invention , such patients would be allowed to keep their monitors of the present invention , and an infrastructure for remote data access over the internet over a secure server would allow clinicians , therapists , and personal trainers to improve their knowledge of each patient &# 39 ; s activity level and compliance with treatment regimen . previously existing wearable monitors based on dynamic acceleration have not been able measure neat , since their outputs drop to zero when the subject stops moving . heart rate monitors cannot measure neat reliably , since they also do not reflect the body &# 39 ; s position or posture . however , the present inventors have provided instrumentation to overcome this difficulty . the instrument developed by the present inventors provides body position and posture , and provides information regarding slow movements of the body that can be correlated with neat . the present inventors designed a comprehensive instrument to measure human activity and body position and to detect the contributions of sitting , standing , walking and fidgeting thermogenesis to neat . the instrument distinguishes and measures bouts of exercise as well as contributions from normal sedentary life . the instrument provides feedback to the wearer . this device can thus be used to modify human activities , and therefore has the potential to affect an individual &# 39 ; s weight and posture . a preliminary version of the device with a single sensor unit for placement on one body segment was evaluated in a paper , “ evaluation of biofeedback device in reducing pain and improving function of individuals with low back pain ,” by krag , m . h ., fox , j . r ., and mcdonald , l . p . : published in rehabilitation society of n . america , pittsburgh , pa ., 1997 . the authors showed that wearing this device can result in more erect trunk postures which may result in reduced loads on the supporting muscles of the spine . results of tests with the device were described in a paper , “ oh , my aching back ”, by wolkomir , r ., published in smithsonian magazine , pages 38 - 48 , august , 1998 . the measurement of spinal curvature may prove useful , especially in applications where prolonged static standing and / or sitting may be encountered . various scientific studies have documented that a prolonged seated posture , especially without proper lower back support , is detrimental to those who suffer from low back pain . devices to monitor curvature of the spine during prolonged sitting have been developed . such a “ lordosimeter ” typically includes a thin , flexible , polymeric or metallic strip or strips embedded within or covered by compliant materials . it may be placed comfortably along the spine using elastic straps . the thin , flexible strip typically includes one or more strain gauges such as bonded foil types , piezo - resistive , inductive , capacitive , or fiber optic . the strain gauge converts the bending of the strip as posture changes into an electrical signal indicative of spinal curvature . an example of these fiber optic curvature sensing devices is described in u . s . pat . no . 5 , 321 , 257 , incorporated herein by reference , and the devices are available from measurand , inc ., fredericton , nb , canada . in the present invention , output data of the lordosimeter providing spinal curvature is logged continually . the unit is programmed to provide feedback to the user if the user remains in a poor posture for too long a time . the unit is also programmed to warn the user if he or she remains in any static position for too long a time . thus , the unit encourages the user to move around frequently and to avoid poor posture . the feedback can enhance the user &# 39 ; s awareness of his or her posture . in addition , information about trunk inclination and orientation from measurements taken over a period of time can help determine what posture or movements are related to back pain . in addition to monitoring position and posture , with biofeedback , wearable instruments could also enhance patient compliance with prescribed rehabilitation / exercise programs after a back injury or a spine surgery or during rehabilitation of injuries to other parts of the body . a paper , “ the biomechanics of low back injury : implications on current practice in industry and the clinic ,” by s . m . mcgill , published in j . biomechanics , vol . 30 , no . 5 , pp . 465 - 475 , 1997 , suggests that changing the body &# 39 ; s position can alleviate joint pain and joint problems associated with overuse . overuse injuries have risen in recent years , partly due to the increased time spent using computers , where the operator may infrequently change position and posture at the keyboard , as described in “ osha — its role in the american workplace ” by r . ferrante , executive producer , reported on national public radio by robert edwards , npr &# 39 ; s morning edition , apr . 4 , 1996 . the instrument developed by the present inventors is a wearable trainer or coach or personal tamaguchi device that reminds its owner to change position , get up , walk , stretch , or vary activities that overuse a joint . the instrument logs data concerning the user &# 39 ; s time history of activity , position , posture , movements , and the device can test for compliance with programmed goals . a built - in display may provide cues and / or a composite health score based on the recorded data . these capabilities could not only benefit those persons who are recovering from an injury , they could also prevent overuse related injuries . in addition , the data gathered from the device of the present invention would be valuable to researchers and to companies who employ individuals who may be at risk for overuse injuries , including package handlers , meat packers , movers , athletes , computer users , elderly persons , etc . wearable activity , position , and posture instruments could be also be used to record patient compliance with prescribed exercise and could proactively prompt the patient to perform prescribed activities to result in improved outcomes . microstrain , inc . designed and has long been marketing wearable dataloggers for tracking trunk inclination with biofeedback through a vibrating pager enclosure , termed the virtual corset ( photo 1 ). these devices run for approximately six weeks using a single aa size battery . data are recorded in an on - board non - volatile memory and can be downloaded via a connection to the serial port of a personal computer . inclination is measured using a triaxial array of orthogonal static & amp ; dynamic response accelerometers . preferably the inclinometer has capability to measure 360 degrees about at least one axis , as provided in a sensor available from microstrain , inc . called fas - a . even more preferably the inclinometer has capability to measure 360 degrees about two axes , which can be accomplished by providing three orthogonal accelerometers for each device attached to a body segment . for example , for measurement &# 39 ; s of a person &# 39 ; s torso , such a device provides measurement of flexion / extension ( forward and backward bending ) and lateral bending ( sideways bending ). to also measure rotation of the body about an axis along the gravity vector one can also include three orthogonal magnetometers along with the three orthogonal accelerometers , as described in a paper , “ a miniature , sourceless , networked , solid state orientation module ”, by townsend , c . p ., guzik , d . c ., arms , s . w ., published in the 9 th international conference on adaptive structures & amp ; tech . ( icast ), cambridge , mass ., october 1998 , (“ the icast paper ”), and in a patent application 1024 - 045 . this device is is available from microstrain , inc . and is called 3dm . in order to detect and distinguish body position , such as standing , sitting , and lying down , the present inventors found that a second sensor unit was needed . the present invention networks a pair of angular position sensors , one on each side of the hip joint , to distinguish the three positions . it uses a networked array of angular position sensors termed 3dm &# 39 ; s , as described in commonly assigned u . s . patent application ser . no . 09 / 457 , 493 , incorporated herein by reference . the idea of networking sensors is also mentioned in the above mentioned icast paper by towsend . to also measure angular rotation about an axis , including angular rotation of a body and twist of a joint about the axis , the present inventors found that a second sensor unit was needed , one on each side of the joint . the sensor unit preferably provides 3 accelerometers and three magnetometers , such as the 3dm device of microstrain , inc ., as described in the icast paper by townsend . the joint can be the ankle , the knee , the hip , spine , neck , shoulder , elbow , or wrist . for example , for measuring axial rotation or twisting of the spine in a standing posture , one 3dm is mounted to the lower spine around the pelvis and the other is mounted to the upper body around the chest . it is worth noting that for a subject in a lying down posture axial rotation of the spine can be measured with gravity referenced devices alone , without magnetometers , but gravity referenced devices cannot be used for such measurements when in a standing posture . the present invention links a triad of dynamic and static response accelerometers and a triad of magnetometers attached to a thigh and similar triads attached to torso . the magnetometers provide absolute rotational position about an axis coincident with earth &# 39 ; s gravity vector ( compass heading , or yaw ). network capability is provided by an rs - 485 connection between the sensors . the apparatus of the invention was tested on subjects who were standing , sitting , and lying , and the results show that accelerometer outputs from sensors on thigh and torso were easily able to distinguish the three positions , as shown in table 1 . the data shows a large difference in the output on thigh and torso for a sitting subject and no significant difference between thigh and torso sensors for both standing and lying subjects . however , standing and lying are distinguished by the large difference in magnitude of the output for these positions . thus , all three positions are distinguished by providing linked sensors , one on the torso and a second on the thigh . the data shows that body position can be measured reliably using only accelerometers to perform the sagittal plane body position measurement ; no magnetometers were needed to distinguish standing , sitting , and lying . this simplification allows elimination of orthogonal magnetometers , reducing system complexity , power demands , and potential errors associated associated with local variations in earth &# 39 ; s geomagnetic field . the magnetometers are only needed for measuring rotation or twist about an axis coincident with the gravity vector . they can be omitted to reduce cost complexity and power when measurement along such axis is not needed , as for the device to merely distinguish standing , sitting , and lying . preferably the accelerometers have a dc response , enabling measurement of steady state accelerations such as the gravity vector and inclination respect to the gravity vector . the same accelerometers can also be used to determine linear velocity by integrating measured acceleration over time . a block diagram of sensor system unit 20 a , shown in fig1 includes inclinometer 22 . two or three orthogonal dc response accelerometers can be used to form the sensing portion of inclinometer 22 . accelerometers 23 a , 23 b , and 23 c , shown in fig2 a , such as the adxl202 ( analog devices , norwood , mass .) have a dc response , offer very small package size and use extremely low power . the output of each accelerometer 23 a , 23 b , 23 c is fed separately to low pass filter 24 . the cutoff frequency of low pass filter 24 is typically set to ½ the sampling frequency for antialiasing . the output of low pass filter 24 is sent to the analog input of flash based microprocessor 26 ( 16f877 or 16c877 from microchip technology , chandler , ariz .) which includes analog to digital ( a / d ) converter 28 . a flash based microprocessor has on board flash memory for storing a program that will be run on the microprocessor . this on board flash memory plus additional non - volatile flash memory chip 30 are advantageous in that they allow for field reprogramming of the firmware without requiring replacement of the microprocessor chip . a crystal oscillator ( not shown ) is included with microprocessor 26 to control the timing of the microprocessor . time is then determined in microprocessor 26 . in the embodiment of fig1 all the requisite electronics , power , and packaging are contained in one sensor system 20 a . sensor system 20 a also includes signal conditioning electronics 32 , biofeedback mechanism 33 for providing feedback to the user , communications circuit 34 a , internet interface 34 b , power supply 35 , and input button 36 . sensor system 20 a can also include magnetometers or other sensors 38 . microprocessor 26 samples the three accelerometers 23 a , 23 b , 23 c ( fig2 a ) within inclinometer 22 at a sampling rate , such as 100 hz . the data that was low pass filtered in hardware filter 24 will also be filtered in software run on microprocessor 26 using an infinite impulse response ( iir ) low pass digital filter that is formed in software to run on microprocessor 26 . the iir software filter allows very low cutoff frequencies to be achieved without using large components that would be required in hardware filters ; and the filter can be made programmable by the user . using both hardware and software filters provides additional noise reduction . hardware low pass filter 24 also serves as an antialiasing filter , which is a filter that limits the frequency content of the sensor signal to a maximum frequency that is half the sample rate ( 100 hz ). the device of the present invention employs at least one accelerometer based inclinometer 22 to measure the orientation of the wearer &# 39 ; s body segments relative to earth &# 39 ; s gravitational vector . in the preferred embodiment , accelerometers with a dc response are used to calculate angle so that information about the user in a quiescent state can be obtained and stored . if a triad of accelerometers 23 a , 23 b , 23 c are used than an angle from +/− 180 degrees can be measured on one axis relative to the gravity vector , and an angle range of +/− 70 degrees can be measured on the other axis orthogonal to the first axis relative to the gravity vector , as shown in fig3 . the device uses microprocessor 26 that samples data from accelerometers 23 a , 23 b , 23 c and calculates the angles θ x and θ y from equations 41 - 45 in fig4 a . offset and gain calibration coefficients a xgain , a ygain , a zgain used in equations 41 - 43 are stored in nonvolatile memory chip 30 on system 20 a . angles θ x and θ y so calculated are also stored in nonvolatile memory 30 . sampling is typically done at a frequency of 100 hz but other sample frequencies can be programmed . the advantage of higher sampling frequency is that information about faster motions can be captured . the advantage of lower sampling frequency is that less data storage is needed . a x , a y and a z are calculated from the measured accelerometer sensor values along each axis , x , y , z , using equations 41 , 42 , 43 , as shown in fig4 b . in the equation to calculate the acceleration along the x axis , ax , a xraw is the raw voltage reading from the x axis accelerometer . a xoffset is the offset coeficient to adjust the accelerometer for initial offset errors . a xgain is a coefficient to convert a xraw to a true acceleration reading . a xgain has units of g &# 39 ; s per volt . similar equations provide the y axis acceleration , a y , and the z axis acceleration , a z . rotations about the x and y axes are calculated in equations 44 and 45 by combining the accelerations calculated in equations 41 , 42 , and 43 . solid state accelerometers are well known in the art . to measure rotations about the z axis , magnetometers are required . the three orthogonal components of earth &# 39 ; s magnetic field m x , m y and m z are calculated from the measured values from magnetometers 38 a , 38 b , and 38 c using using equations 71 , 72 , 73 , as shown in fig4 b ′. in the equation to calculate the magnetic field along the x axis , mx , m xraw is the raw voltage reading from the x axis magnetometer . m xoffset is the offset coeficient to adjust the magnetometer for initial offset errors . m xgain has units of gauss per volt . similar equations provide the my and mz values . from m x , m y , and m z , θ z can be calculated from equations 74 , 75 , 76 , and 77 shown in fig4 c . accelerometers 23 a , 23 b , 23 c are also used to calculate linear velocity . to determine the linear velocity the output of the hardware low pass filter is sampled at a rate of 100 hz . to measure linear velocity , the portion of acceleration due to the gravity vector is eliminated using a high pass digital filter , which eliminates accelerations that remain constant . the high pass digital filtering is performed by microprocessor 26 using software stored on nonvolatile memory 30 . the gravity vector is fixed at g , and therefore has a frequency of zero , so a high pass filter eliminates the gravity portion of the acceleration signal . as described herein above , the accelerometer data is scaled for offsets and gains and the magnitude of the resultant acceleration vector components a x , a y and a z are computed , as described in equations 41 , 42 , and 43 . while a uniform velocity cannot be measured with accelerometers , the time integral of the acceleration is computed using a digital numerical integration step to obtain the change in linear velocity vector resulting from acceleration . the results of the inclination and velocity calculations are stored in non - volatile flash memory 30 for each point in time as shown in the flow chart of fig5 at box 110 . this non - volatile memory chip 30 has the capability to store up to 4 megabytes of data on a single integrated circuit . the format of data storage in non - volatile flash memory 30 is programmable . as an alternative to storing inclination and velocity at each point in time , the format of data storage can be programmed so the average of the inclination and velocity data over a programmable time period is stored at each interval of time , as shown in the flow chart of fig5 a at box 111 . as another alternative , inclination angles and velocities can be segmented into bins and data accumulated in each bin as data is obtained at each point in time , as also shown at box 111 . this provides histograms of the frequency of velocity and inclination angles over each time period . in this case , however , the sequential aspect of the information is removed . sensor system 20 a can be located on one body segment , such as the lower trunk or the upper trunk , as shown in fig6 . a pair of sensor module units 20 a , 20 b can also be provided , one on each side of a joint , such as the hip joint . the difference between measurements of pair of sensor systems , 20 a , 20 b can be provided to detect angular position of the hip joint . pairs of sensor systems 20 a , 20 b may be connected by wired 46 and connectors 48 a , 48 b or may use wireless communications , such as rf link 34 a and antenna 49 . the difference between the measurements of sensor systems 20 a and 20 b can be used to distinguish standing from sitting positions . pair of sensor systems , 20 a , 20 b ′ can be provided to detect angular position of other joints in addition to or instead of the hip joint or to measure how that joint angle varies with time by taking the difference in the outputs of two sensor systems 20 a , 20 b ′ one on each side of the joint , as shown in fig6 for a knee joint . where two or more sensor systems 20 a , 20 b or 20 b ′ are provided , sensor systems 20 b , 20 b ′ need not have all the components of sensor system 20 a , as shown in fig1 . input button 36 to biofeedback mechanism 33 and internet interace 34 b can be eliminated from slave sensor systems 20 b , 20 b ′ since those functions can be provided by components in master sensor system 20 a . inclinometers based on dc response accelerometers such as the adxl202 ( analog devices , norwood mass .) have been described in commonly assigned u . s . patent application ser . no . 08 / 990 , 912 , docket number 1024 - 040 , herein by reference , and may be purchased commercially as fas - a from microstrain , inc ., burlington , vt . sensors 20 a preferably include accelerometer based inclinometers 22 . they can also include magnetometers 38 to provide orientation around the gravity vector and to provide a complete orientation sensor . orientation measurement devices that include magnetometers , such as the 3dm device of microstrain inc ., typically use both magnetometers and inclinometers to compute rotations coincident with the gravity vector . such devices have been described in commonly assigned copending patent application ser . no . 09 / 457 , 493 , docket number 1024 - 045 . power may be supplied with battery power supply 35 that can be a battery , such as a miniature camera battery , and this battery can be rechargeable . biofeedback mechanism 33 can include a visual display capable of providing text or images or it can include a device that provides an audible signal , such as a piezoelectric buzzer , visual display , or a vibrator such as an electromagnetic shaker . while biofeedback mechanism 33 can be included within sensor system 20 a , as shown in fig1 biofeedback mechanism 33 can also be provided on a separate remote processing unit 39 that is used along with sensor systems 20 a , 20 b , as shown in fig6 . this separate remote processing unit 39 may be strapped to the user &# 39 ; s waist , as shown in fig6 and 7 , or it can mounted to another part of the user &# 39 ; s body , such as the user &# 39 ; s wrist , similar to a wristwatch , as shown in fig9 . feedback mechanism 33 and remote processing unit 39 can also provide for communication from a clinician treating patient as well as feedback based on the data collected by sensor system 20 a as determined by the software program stored on nonvolatile memory 30 and run on microprocessor 26 . feedback mechanism 33 may also be combined with input unit 36 , such as a single button or a keyboard , for the user to provide additional communication back to the clinician , as shown in fig1 and in fig2 b . thus , in addition to collecting data about the user &# 39 ; s movement and posture for use by the internal program and for transmitting to the clinician , and for providing feedback , instructions , encouragement , or other display to the user , feedback mechanism 33 and remote processing unit 39 can also allow the user to let the clinician know when the user experiences pain or to communicate other information . data transmission between simplified sensor system 20 b and remote processing unit can be accomplished by hard wiring the two , as shown in fig6 . preferably communication between simplified sensor system 20 b ′ and remote processing unit 39 ′ would be wireless , as shown in fig7 and 8 a - 8 c . in either the wired or wireless embodiments , each sensor system 20 b ′ can be simplified somewhat to eliminate biofeedback mechanism 33 , nonvolatile memory 30 , input unit 36 , and internet interface 34 b since these can be provided in remote processing unit 39 ′. simplified sensor system 20 b ′ would now include measurement sensors , such as inclinometer 22 , signal conditioners 32 , filters 24 , a / d converter 28 , microprocessor 26 , power supply 35 and communication mechanism 34 a . microprocessor 26 is provided with each sensor system 20 a ′ so data is reduced to inclination or joint angle as a function of time and so the time dependent inclination or angle data is transmitted in digital form . the wireless version of communication mechanism 34 a of fig1 that is shown in fig8 a includes rf transmitter 50 ( available from microstrain , inc . burlington , vt .) for transmitting data from sensor system 20 b ′ to remote processing unit 39 shown in fig8 b through rf transceiver 52 for remote data processing there in microprocessor 54 . remote processing unit 39 also includes data logging in non - volatile memory 56 , biofeedback through biofeedback mechanism 58 , and display 60 , enabling the user to receive information , while power is provided to each of these components by power supply 62 . power supply 62 can be a small watch battery . further transmission from remote processing unit 39 ′ to host pc 64 is provided through rf transceiver 66 , as shown in fig8 c . alternatively , rf transmitter 50 and transceivers 52 and 66 can be an infrared digital access ( irda ) link . in cases where line of sight is not practical then rf links would be employed . while wrist borne is convenient , remote processing unit 39 ′ need not be wrist - borne ; it can also be attached to the waist or to another convenient part of the body . it can also be held in a pocket , or strapped to another body part or it can also be hand held . wireless communication facilitates free range of motion , permits greater ease of use , enhances patient acceptance , has less potential for breakage due to lead wire fatigue , and is easier to integrate into garments such as bras or other unobtrusive strap - like apparel . miniature wireless devices are available which contain the requisite electronics for digital transmission of data using narrow band surface acoustic wave ( saw ) or crystal oscillators , such as strainlink ™ modules available from microstrain , inc . inclination data can be transmitted along with error checking from two separate sensors without rf collisions by using correctly configured strainlink ™ modules operating at different frequency transmission bands ( such as 916 mhz and 303 . 825 mhz ). thus , data from a single pair of sensor systems 20 a ′, 20 b ′, formed of dual or triaxial accelerometers and mounted on adjacent limb segments can be used as shown in fig1 and 7 . alternatively , a plurality of sensor systems 20 b ′ can be simultaneously transmitted to remote processing unit 39 , remotely processed there , and further transmitted to provide range of motion data to the clinician , as shown in fig9 . software capable of allowing remote re - programming of pre - set parameters is provided in non - volatile memory 56 of remote processing unit 39 for processing in microprocessor 54 in this unit . this is the same software described herein above that would otherwise be provided for each individual sensor system 20 a , or 20 a ′ for each pair of sensor systems , 20 a , 20 b or 20 a ′, 20 b ′ provided across a joint . sensor module system 20 a , or 20 a ′ or host system 64 could also incorporate a wired or wireless transmission system to allow for data transmission back to the clinicians ′ office without requiring the wearer to return to the office . in one embodiment the data is transmitted to receiver 66 and associated pc host 64 that is located in the patients ′ house . when all the data for the day has been acquired , host 64 would dial into the clinician &# 39 ; s office and send the information over a modem or internet connection , as shown in fig8 c . this would all be transparent to the user . this would reduce the costs of administering the service significantly , by reducing the amount of time the clinician would have to see the patient . this would also allow for the clinician to view more data than would be possible if requiring the patient to come to the office could only retrieve data . it is advantageous to implement the capability for the device to transfer data over the internet . with this capability it is possible for the patient to transfer data to the clinician &# 39 ; s office without requiring the physical presence of the patient . it also would allow for the device to be updated and change parameter &# 39 ; s , such as allowable range of motion before a warning is triggered . remote processing unit 39 ′ includes display 56 that may provide simple text commands . display 56 could also provide graphical representations of people doing various movements to communicate the desired information or instruction to the user . the graphical display allows for the display of a score , helps teach good posture , and helps the user through exercises . remote processing unit 39 ′ can also be used to perform mathematical computation of joint angles . it can be the unit that uses the data to conclude that a preset limit to range of motion had been exceeded too many times , that the subject has been too sedentary . once the data from sensor system 20 a , 20 a ′, 20 b , 20 b ′ has been received and interpreted by wrist - borne remote processing unit 39 this unit could also provide feedback to the user using a vibrational , audible , or visual signal . when preset or remotely programmed conditions are detected , such as movement extending beyond a preset range of motion , the user is provided feedback as shown in box 113 of the flow chart in fig5 a . feedback can be negative feedback seeking to halt or reverse that motion . when the user performs a requested task well or indicates improvement in compliance with program requests , the user may be provided positive feedback , such as a higher “ health ” score . these conditions , programs , displays , and interactions can all be programmed by the clinician ( at the office or remotely ) depending on the user &# 39 ; s behavior or the clinician &# 39 ; s expert assessment of the user &# 39 ; s progress . in addition to providing a biofeedback signal , it is advantageous to continually save information about the user &# 39 ; s range of motion , which may be changing with time . this allows the clinician to evaluate rehabilitation progress . in addition , stored information provides a valuable research tool to study how movement or lack of movement may correlate with low back pain , cardiac ailments , dietary modifications , pharmacological treatments , and postural control . data can be saved as inclination angle at each time . it can be saved more compactly in histograms ; each histogram &# 39 ; s sum represents the total count of trunk inclination angles measured at the programmed sample rate ( binning frequency ). while more data can be stored in histogram format , the association with time of each individual data point and the time sequence is lost . binned data are very useful in reducing the datalogger &# 39 ; s requisite memory ; once collected , these histogram data are easily downloaded over the serial port of microprocessor 26 on sensor system 20 a or microprocessor 54 within remote processing unit 39 ′ for analysis . the device logs inclination in 1 degree increments ( factory set , but may be programmed ) over ± 180 in the flexion extension axis and ± 70 degrees on the lateral bending axis . the sample rate for data collection is termed the binning frequency ; as data is collected , the unit builds a histogram of inclination over specified time intervals ( bin save interval ) and then saves this histogram to memory . the process is repeated until the device is turned off or the memory capacity is reached . the data and programming parameters are saved in non - volatile memory , and will not be lost in the event of power down or low battery capacity . the bin save interval can be programmed for any amount of time , but longer intervals provide lower resolution of the wearer &# 39 ; s activity . for example , if the bin save interval were set at one hour , at the end of the day there would be 24 histograms showing the wearer &# 39 ; s trunk inclination angle at the period of the binning frequency . this would show a histogram of inclination for each hour over the course of a day . if the bin save interval were set at 12 hours , at the end of a day there would be only 2 histograms of inclination . longer bin save intervals use less memory than shorter bin save intervals , but longer bin save intervals provide less information about daily activities . the advantage of binning over saving data sequentially over time is that binning uses less memory . binned data has been collected and presented in a paper , “ evaluation of biofeedback device in reducing pain and improving function of individuals with low back pain ,” by m . h . krag , j . r . fox , and l . p . mcdonald , rehabilitation society of n . america , pittsburgh , pa ., 1997 . binning of data saves memory but the sequential recording of events is lost with binning . this is a limitatioon when repetitive motions of activities need to be recorded or when continuous exposure to a single posture or position or vibration occurs . in these cases the product of position and time is a measure of a person &# 39 ; s exposure to that position . the repeated pattern of movement may also be important to asess exposure in a workplace environment . this analysis requires that postural and motion measurements be recorded sequentially and along with the time of the measurement . fig5 a provides a flow chart detailing this sequential recording of data . the user can record events ( such as the presence of pain ) with input button 36 which can be included either in sensor system 20 a or on remote processing unit 39 . button 36 can also be on wrist - borne remote processing unit 39 ′ to conveniently allow the wearer to provide this input when experiencing pain . when button 36 is pressed , the time may be logged and stored in the system , along with other data , such as time of day , inclination , orientation , heart rate , blood pressure , etc . this system of measurements and data communications will allow the clinician to gain insight into the pain the user has experienced along with a chronological history of the ranges of motion and activities the patient experiences leading up to the onset of pain . if a correlation can be determined , the clinician can program the biofeedback to try to discourage the wearer from performing events that led to pain . this feature may be especially important for back pain sufferers , since they often experience pain well after the physical activities that may have caused the pain . accelerometers 23 a , 23 b , 23 c used to sense inclination angle can also be used to sense the vibration that the user is experiencing . for example , for a worker using a jack hammer or a chain saw , the device of the present invention will measure the vibration , log the vibration exposure dose received by the worker over time , and then give feedback if this worker receives more vibration dose than a preset vibration exposure dose . the frequency and magnitude of the vibrations is determined by calculating fast fourier transforms ( fft ) of the acceleration data coming from the accelerometers or logged in memory . this fft data is logged , and feedback can be provided based on the magnitude , frequency , and time history of the calculated vibrations . it is well known how to do a fft , and the algorithm to transform a time domain signal to a frequency domain signal is also well known . variables can be initialized and initial readings can also be tared out as shown in box 102 of fig5 a . the sensor is initialized to a known angle , such as zero , before the first measurement is taken . this is especially useful for postural control applications , since the user may tare the device at a desired position , regardless of slight variations that may result from various mountings to the wearers ′ body . the wearer places a miniature sensor module package 20 a , 20 a ′ in a small pouch located in their bra , or bra - like device on the chest or on the wrist . this miniature sensor module package 20 a , 20 a ′ contains inclinometer 22 with vibratory biofeedback capability . the user then stands in front of a mirror to better view his or her own posture . once a desirable physical appearance or a comfortable posture , or both , is achieved , the user initializes or “ tares ” the unit . when the user exceeds a pre - programmed inclination angle ( in this case , say 2 degrees ), the user experiences vibratory or other feedback from the feedback mechanism 33 as shown in the flow chart in box 113 of fig5 a . if the subject is undergoing vigorous physical range of motions ( such as sit - ups or other flexion type exercise ), the unit interprets these patterns and does not provide feedback so as not to annoy the wearer during exercise . in addition to magnetometers , the present invention also provides for data to be collected and monitored from other sensors 38 such as force measurement sensors , temperature , electrocardiogram ( ecg / ekg ), electromyograph ( emg ), and lumbar curvature , as shown in fig1 . while several embodiments of the invention , together with modifications thereof , have been described in detail herein and illustrated in the accompanying drawings , it will be evident that various further modifications are possible without departing from the scope of the invention . nothing in the above specification is intended to limit the invention more narrowly than the appended claims . the examples given are intended only to be illustrative rather than exclusive .
a sensing device is attached to a living subject that includes a first sensors for distinguishing lying , sitting , and standing positions . in another embodiment , sensor data is stored in a storage device as a function of time . multiple points or multiple intervals of the time dependent data are used to direct a feedback mechanism to provide information or instruction in response to the time dependent output indicating too little activity , too much time with a joint not being moved beyond a specified range of motion , too many motions beyond a specified range of motion , or repetitive activity that can cause repetitive stress injury .