CN104835293B - Bad learning posture detects and statistics display device and method - Google Patents

Bad learning posture detects and statistics display device and method Download PDF

Info

Publication number
CN104835293B
CN104835293B CN201510175866.0A CN201510175866A CN104835293B CN 104835293 B CN104835293 B CN 104835293B CN 201510175866 A CN201510175866 A CN 201510175866A CN 104835293 B CN104835293 B CN 104835293B
Authority
CN
China
Prior art keywords
output voltage
learning
pressure transducer
infrared distance
posture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510175866.0A
Other languages
Chinese (zh)
Other versions
CN104835293A (en
Inventor
许德球
罗武胜
杜列波
鲁琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HUNAN JUHUI TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
HUNAN JUHUI TECHNOLOGY DEVELOPMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HUNAN JUHUI TECHNOLOGY DEVELOPMENT Co Ltd filed Critical HUNAN JUHUI TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201510175866.0A priority Critical patent/CN104835293B/en
Publication of CN104835293A publication Critical patent/CN104835293A/en
Application granted granted Critical
Publication of CN104835293B publication Critical patent/CN104835293B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

Bad learning posture detects and statistics display device and method, this device comprises processor, also comprise calibration knob, ferroelectric memory, display screen, motor, head-tracking probe unit, the first light sensor, the second light sensor, the first pressure transducer and the second pressure transducer, calibration knob, ferroelectric memory, display screen, head-tracking probe unit, the first light sensor, the second light sensor, the first pressure transducer, the second pressure transducer are connected with processor respectively, and motor is connected with head-tracking probe unit; Head-tracking probe unit is for following the trail of detecting user head; Whether the first photoresistance and the second photoresistance are used for detecting has books to put on the table; Whether the first pressure transducer and the second pressure transducer are put both hands on the table for detecting user, and when both hands are put on desktop by user, desktop pressure situation.Detection accuracy of the present invention is high, and cost is low, can carry out statistics display to bad learning posture.

Description

Bad learning posture detects and statistics display device and method
Technical field
The present invention relates to a kind of bad learning posture to detect and statistics display device and method.
Background technology
Current, China pupil and junior school student's rate of myopia reach 34.6%, and high school student's rate of myopia reaches 70%, and China teenager has reached 300,000 people because of the number of near-sighted blinding, how to prevent adolescent myopia very urgent.Myopia is caused by many factors, and when wherein topmost factor is adolescents with learning, abnormal sitting posture is true, eyes from homework book distance too close to.For this reason, be necessary to detect adolescents with learning sitting posture, and reminded by appropriate format.
Existing much for the apparatus and method that sitting posture detects at present, mainly contain following several:
Infrared distance measurement or ultrasonic sensor is relied on to carry out detecting (see CN201320751761, CN201320398679), bad learning posture is just thought when distance value exceeds threshold range, do not consider that user now may not learn, and therefore can often report by mistake.
Moreover, detect based on infrared distance sensor, this type of detection mode does not consider human body sitting height, therefore be difficult to guarantee sensor just to human body forehead position, and then its distance value recorded cannot reflect that major part is bowed or left and right torticollis incorrect sitting-pose, there will be and fail to report phenomenon (fail to report i.e. bad learning posture not detect, do not occur voice message during bad learning posture).
Cmos image sensor is adopted to detect (see CN201320006497), its Detection results depends on image processing algorithm, under complex background, easily cause wrong report to be failed to report (wrong report and bad learning posture detect inaccurate, occur incorrect voice message), and cost is higher.
Adopt pressure transducer to realize learning state and judge (see CN201120084030), but determination methods equally only adopts infrared sensor to judge sitting posture, also there is wrong report and fail to report problem.
In addition, existing sitting posture detecting method is with regard to sound and light alarm after bad learning posture being detected, but in learning process, user has and drinks water, by rubber, turns over these a series of of short duration actions such as school bag, thinking, all can trigger alarm.Frequent warning can greatly affect user learning notice and results of learning, easily makes it this be produced to converse mood simultaneously.
Summary of the invention
Technical matters to be solved by this invention is, overcomes the deficiency of above-mentioned background technology, provides high, the lower-cost bad learning posture of a kind of Detection accuracy to detect and statistics display device and method.
The technical scheme that the present invention solves the employing of its technical matters is, a kind of bad learning posture detects and statistics display device, comprise processor, also comprise calibration knob, ferroelectric memory, display screen, motor, head-tracking probe unit, first light sensor, second light sensor, first pressure transducer and the second pressure transducer, described calibration knob, ferroelectric memory, display screen, head-tracking probe unit, first light sensor, second light sensor, first pressure transducer, second pressure transducer is connected with processor respectively, described motor is connected with head-tracking probe unit,
Described calibration knob is for starting head-tracking probe unit; Described ferroelectric memory is for storing learning posture data; Described display screen is for showing bad learning posture statistics; Described head-tracking probe unit is for following the trail of detecting user head; Whether described first photoresistance and the second photoresistance are used for detecting has books to put on the table; Whether described first pressure transducer and the second pressure transducer are put both hands on the table for detecting user, and when both hands are put on desktop by user, desktop pressure situation.
Further, described head-tracking probe unit comprises and turns to transmission gear box, driving belt and positioning transmission gear case; One end of described driving belt is connected with transmission gear box, the other end is connected with positioning transmission gear case, described turning to bottom transmission gear box is provided with upper limit position switch switch, and described positioning transmission gear case top is provided with lower position switch, and described driving belt is provided with infrared distance sensor; The output shaft of described motor is connected with driving belt by turning to transmission gear box.
Further, described driving belt is provided with driving belt card, and described infrared distance sensor is fastened on driving belt by driving belt.
Utilize described bad learning posture to detect and add up display device carry out detecting to bad learning posture and add up the method shown, comprise the following steps:
(1) calibrate the position of infrared distance sensor, make infrared distance sensor aim at user's forehead position;
(2) judge whether to enter learning state;
(3) monitor learning posture and remind;
(4) judge whether to exit learning state;
(5) the bad learning posture data of statistics display.
Further, the detailed process of described step (1) is as follows:
(1-1) click calibration knob, Electric Machine Control infrared distance sensor is descending, stops after triggering lower position switch;
(1-2) reading infrared distance sensor output voltage, judge whether infrared distance measurement sensing output voltage is high level, if so, by controlling motor, making infrared distance sensor increase; If not, step (1-2) is repeated;
(1-3) reading infrared distance sensor output voltage, judge whether infrared distance sensor output voltage is high level, if so, by controlling motor, making infrared distance sensor increase; If not, by controlling motor, infrared distance sensor is made to move down 2cm.
Further, the detailed process of described step (2) is as follows:
(2-1) infrared distance sensor output voltage is read; Judge whether infrared distance sensor output voltage is high level, if so, read the first pressure transducer, the second pressure transducer output voltage; If not, step (2-1) is repeated;
(2-2) judge the first pressure transducer, whether the second pressure transducer output voltage be high level, if so, read the first light sensor, the second light sensor output voltage; If not, step (2-1), (2-2) is repeated successively;
(2-3) judge the first light sensor, whether the second light sensor output voltage be high level, if so, then user is in learning state, and if not, then user is in non-learning state.
Further, the detailed process of described step (3) is as follows:
(3-1) initialization processor intrinsic parameter t1=0, t2=0, t3=0;
(3-2) infrared distance sensor output voltage is read; Judge whether infrared distance sensor output voltage is high level, if so, then learning posture is correct, if not, then and learning posture mistake, further wrongheaded learning posture type;
(3-3) read the first pressure transducer output voltage V1, the second pressure transducer output voltage V2, calculate Δ V1=V1-V10; Δ V2=V2-V20; If Δ V1 > 0 and Δ V2 > 0, make processor intrinsic parameter t1=t1+1, t2=0, t3=0, time delay 3 seconds; If Δ V1 > 0 and Δ V2 < 0, make processor intrinsic parameter t2=t2+1, t1=0, t3=0, time delay 3 seconds; If Δ V1 < 0 and Δ V2 > 0, make processor intrinsic parameter t3=t3+1, t1=0, t2=0, time delay 3 seconds;
(3-4) judge the numerical values recited of t1+t2+t3, if t1+t2+t3 ≠ 5, repeat step (3-2), (3-3), (3-4) successively; If t1+t2+t3=5, judge the numerical values recited of t1, t2, t3 further, if t1=5, then exist the back of a bow or before to lie prone phenomenon; If t2=5, then there is left torticollis phenomenon; If t3=5, then there is right torticollis phenomenon;
Further, the detailed process of described step (4) is as follows:
Read infrared distance sensor output voltage; If infrared distance sensor output voltage is high level, read the first light sensor, the second light sensor output voltage; Judge the first light sensor, whether the second light sensor output voltage be high level, if so, be then in learning state, if not, be then in and exit learning state; If infrared distance sensor output voltage is low level, read the first pressure transducer, the second pressure transducer output voltage; Judge the first pressure transducer, whether the second pressure transducer output voltage have one at least for high level, if not, be then in and exit learning state; If so, the first light sensor, the second light sensor output voltage is read; Judge the first light sensor, whether the second light sensor output voltage be high level, if so, be then in learning state, if not, be then in and exit learning state.
Further, the detailed process of described step (5) is as follows:
(5-1) preserve learning posture data: in ferroelectric memory, open up 28 byte spaces, store history 7 day data, every day 4 bytes, wherein 2 bytes store always learnt duration A the same day, 2 bytes store incorrect posture on same day study duration B; Open up 3 byte spaces in addition and preserve the last date of ferroelectric memory being carried out to write operation;
(5-2) learning posture data are read, and statistics display: 28 byte datas read from ferroelectric memory, draw histogram, the incorrect posture study duration B simultaneously calculating the same day accounts for the number percent that total same day learns duration A, draws trend map.
Further, the detailed process of described step (5-1) is as follows:
(5-1-1) the date Y that preserves in reading displayed screen date and time information X on the same day and ferroelectric memory;
(5-1-2) compare the size of X and Y, if X=Y, read and always learnt duration A and incorrect posture study on the same day duration B same day of preserving in ferroelectric memory; If 0 < X-Y < 7, the four lines data recorded in ferroelectric memory are moved to left X-Y byte, and to upgrade the date of preserving in ferroelectric memory be date and time information X on the same day; Initialization A=0, B=0; If 7≤X-Y, clear operation is carried out to 28 byte spaces in ferroelectric memory 3, and the date upgrading preservation in ferroelectric memory 3 is date and time information X on the same day; Initialization A=0, B=0;
(5-1-3), when entering learning state, present system time M1 is read;
(5-1-4), under entering learning state, when judging that learning posture is incorrect, present system time N1 is read; Learning posture recovers correct or when exiting learning state, reads present system time N2, and upgrades incorrect posture study on same day duration B=B+(N2-N1);
(5-1-5), when exiting learning state, present system time M2 is read; Upgrade and always learnt duration A=A+(M2-M1 the same day), incorrect posture on the same day is learnt duration B and always learnt duration A the same day stored in ferroelectric memory
Compared with prior art, advantage of the present invention is as follows:
(1) be provided with head-tracking probe unit, when detecting bad learning posture, ensure that sensor is just to human body forehead position, bad learning posture detects accurately, avoids occurring failing to report phenomenon.
(2) be provided with the first light sensor, the second light sensor, the first pressure transducer and the second pressure transducer, accurately can detect the back of a bow or lie prone forward, learning posture that left torticollis, right torticollis are bad, Detection accuracy is high.
(3) implementation method of the present invention is without the need to relying on image processing algorithm, and algorithm is simple, and cost is lower.
(4) when learning posture detects, can time delay 15s, avoid user to be less than in the time of 15s in action (as: drink water, by rubber, turn over school bag, thinking etc.) to occur reporting to the police, avoid occurring wrong report phenomenon, Detection accuracy is high, avoids the study notice and the results of learning that affect user when reporting by mistake.
(5) the present invention can carry out statistics display to bad learning posture, and user can see the bad learning posture statistics in a period of time intuitively.
Accompanying drawing explanation
Fig. 1 is that the bad learning posture of the present invention detects the structured flowchart with statistics display device embodiment.
Fig. 2 is the structural representation of head-tracking probe unit embodiment illustrated in fig. 1.
Fig. 3 is that the bad learning posture of the present invention detects the overview flow chart with counting and displaying method embodiment.
Fig. 4 is the particular flow sheet of the position of calibration infrared distance sensor embodiment illustrated in fig. 3.
Fig. 5 is the embodiment illustrated in fig. 3 particular flow sheet judging whether to enter learning state.
Fig. 6 is monitoring learning posture embodiment illustrated in fig. 3 and the particular flow sheet reminded.
Fig. 7 is the embodiment illustrated in fig. 3 particular flow sheet judging whether to exit learning state.
Fig. 8 is the schematic diagram of ferroelectric memory store data inside embodiment illustrated in fig. 3.
Fig. 9 is that in ferroelectric memory embodiment illustrated in fig. 3, data move to left the schematic diagram of X-Y byte.
In figure: 1-calibration knob, 2-processor, 3-ferroelectric memory, 4-display screen, 5-motor, 6-head-tracking probe unit, 601-turn to transmission gear box, 602-upper limit position switch, 603-driving belt card, 604-infrared distance sensor, 605-driving belt, 606-lower position switch, 607-positioning transmission gear case, the 7-the first light sensor, the 8-the second light sensor, 9-the first pressure transducer, the 10-the second pressure transducer.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
With reference to Fig. 1, the bad learning posture of the present invention detects and comprises calibration knob 1 with statistics display device embodiment, processor 2, ferroelectric memory 3, display screen 4, motor 5, head-tracking probe unit 6, first light sensor 7, second light sensor 8, first pressure transducer 9 and the second pressure transducer 10, calibration knob 1, ferroelectric memory 3, display screen 4, head-tracking probe unit 6, first light sensor 7, second light sensor 8, first pressure transducer 9, second pressure transducer 10 is connected with processor 2 respectively, motor 5 is connected with head-tracking probe unit 6.
Calibration knob 1 is for starting head-tracking probe unit 6.
Ferroelectric memory 3 is for storing learning posture data.
Display screen 4 is for showing bad learning posture statistics.
Head-tracking probe unit 6 is for following the trail of detecting user head.
Whether the first photoresistance 7 and the second photoresistance 8 have books to put on the table for detecting; When desktop does not have books, the first photoresistance 7 and the second photoresistance 8 are in sense state, its output low level; When desktop has books, the first photoresistance 7 and the second photoresistance 8 are all in shading status, and it exports high level.
Whether the first pressure transducer 9 and the second pressure transducer 10 are put in desktop by both hands for detecting user, state of writing before namely whether detection user is in table; And user is when being put in both hands on desktop, desktop pressure situation.When hand not being placed on desktop, desktop does not have pressure, its output low level; When having hand to put on the table, desktop has pressure, and it exports high level.
Ferroelectric memory 3 power down of the present embodiment can not obliterated data; Can byte and multibyte read-write, speed is fast; There is the unlimited write life-span, be not easy to write bad.EEPROM(is with EEPROM (Electrically Erasable Programmable Read Only Memo)) and Flash(flash memory) although power down not obliterated data, read or write speed is slow, and can only limited number of time erasable, during write, power consumption is large.
Head-tracking probe unit 6 comprises and turns to transmission gear box 601, driving belt 605 and positioning transmission gear case 607; One end of driving belt 605 is connected with transmission gear box 601, the other end is connected with positioning transmission gear case 607, turn to bottom transmission gear box 601 and be provided with upper limit position switch 602 switch, positioning transmission gear case 607 top is provided with lower position switch 606, driving belt 605 is provided with driving belt card 603, driving belt card 603 is equipped with infrared distance sensor 604, driving belt card 603 is mainly used in infrared distance sensor 604 to be fixed on driving belt 605; The output shaft of motor 5 is connected with driving belt 605 by turning to transmission gear box 601.
Head-tracking probe unit 6 aims at user's forehead position for realizing infrared distance sensor 604, before whether infrared distance sensor 604 has user to sit on table for detection; Table before nobody time, its output low level; When having people before table, it exports high level.
Bad learning posture of the present invention comprise the back of a bow or lie prone forward, left torticollis, right torticollis.
The course of work of head-tracking probe unit 6 is as follows:
Click calibration knob 1, processor 2 control inputs inverting power supplies is to motor 5, and motor 5 is running counterclockwise, and now infrared distance sensor 604 moves to extreme lower position downwards.Before user adopts correct sitting posture to be seated at table.Processor 2 detects infrared distance sensor 604 output voltage, before showing during high level that user is seated at table, processor 2 inputs positive supply to motor 5, motor 5 clockwise direction operates, the transmission shaft of motor 5 to link the running of driving belt 605 clockwise direction through turning to transmission gear box 601, now infrared distance sensor 604 upwards runs, (represent that infrared distance sensor 604 highly rises when infrared distance sensor 604 output voltage becomes low from height and cross human body crown portion), processor 2 control inputs inverting power supplies is to motor 5, motor 5 is running counterclockwise, infrared distance sensor 604 moves down 2 centimetres of (known motor speed, realize moving down 2 centimetres working time by controlling motor 5), infrared distance sensor 604 is made to aim at user's forehead position.
If when processor 2 program malfunctions, motor 5 is always in running order, upper limit position switch 602 can be triggered when infrared distance sensor 604 moves to topmost, lower position switch 606 can be triggered when infrared distance sensor 604 moves to bottommost, cut off motor 5 power supply by force, guarantee safety.
The bad learning posture of the present invention detects and comprises the following steps with counting and displaying method embodiment:
With reference to Fig. 3, step 1: the position of calibration infrared distance sensor 604; Step 1 specifically comprises the following steps:
With reference to Fig. 4, step 101: click calibration knob 1;
Step 102: it is descending that motor 5 controls infrared distance sensor 604, stops after triggering lower position switch;
Step 103: read infrared distance sensor 604 output voltage;
Step 104: judge whether infrared distance sensor 604 output voltage is high level, if so, proceeds to step 105, if not, proceeds to step 103;
Step 105: by controlling motor 5, make infrared distance sensor 604 increase;
Step 106: read infrared distance sensor 604 output voltage;
Step 107: judge whether infrared distance sensor 604 output voltage is high level, if so, proceeds to step 105, if not, proceeds to step 108;
Step 108: by controlling motor 5, make infrared distance sensor 604 move down 2cm;
Step 109: proceed to step 201;
Head-tracking probe unit 6 is when adjusting infrared distance sensor 604 and aiming at human body forehead position, be not restricted to infrared distance sensor 604 in step 108 and move down 2cm, 2cm is only general height (100cm ~ 190cm) adjust size of human body, for the people of other heights, reconfigurable infrared distance sensor 604 moves down height.
Step 2: judge whether to enter learning state; Step 2 specifically comprises the following steps:
With reference to Fig. 5, step 201: read infrared distance sensor 604 output voltage;
Step 202: judge whether infrared distance sensor 604 output voltage is high level, if so, proceeds to step 203, if not, proceeds to step 201;
Step 203: read the first pressure transducer 9, second pressure transducer 10 output voltage;
Step 204: judge whether the first pressure transducer 9, second pressure transducer 10 output voltage is high level, if so, proceeds to step 205, if not, proceeds to step 201;
Step 205: read the first light sensor 7, second light sensor 8 output voltage;
Step 206: judge whether the first light sensor 7, second light sensor 8 output voltage is high level, if so, proceeds to step 207, if not, proceeds to step 201;
Step 207: the output voltage V10 recording the first pressure transducer 9, the output voltage V20 of the second pressure transducer 10;
Step 208: proceed to step 301;
Step 3: monitoring learning posture is also reminded; Step 3 specifically comprises the following steps:
With reference to Fig. 6, step 301: initialization processor 2 intrinsic parameter t1=0, t2=0, t3=0;
Step 302: read infrared distance sensor 604 output voltage;
Step 303: judge whether infrared distance sensor 604 output voltage is high level, if so, proceeds to step 304, if not, proceeds to step 305;
Step 304: proceed to step 401;
Step 305: read the first pressure transducer 9 output voltage V1, the second pressure transducer 10 output voltage V2, calculates Δ V1=V1-V10; Δ V2=V2-V20;
With reference to table one, step 306: judge Δ V1, whether Δ V2 be all greater than 0, if so, proceed to step 307, if not, proceed to step 308;
Step 307: make processor 2 intrinsic parameter t1=t1+1, t2=0, t3=0, proceed to step 312;
Step 308: judge whether Δ V1 is greater than 0 and whether Δ V2 is less than 0, if so, proceeds to step 309, if not, proceeds to step 310;
Step 309: make processor 2 intrinsic parameter t2=t2+1, t1=0, t3=0, proceed to step 312;
Step 310: judge whether Δ V1 is less than 0 and whether Δ V2 is greater than 0, if so, proceeds to step 311, if not, proceeds to step 401;
Step 311: make processor 2 intrinsic parameter t3=t3+1, t1=0, t2=0, proceed to step 312;
Step 312: time delay 3 seconds;
Step 313: judge whether t1+t2+t3 equals 5; If so, proceed to step 314, if not, proceed to step 302;
Step 314: judge whether t1 equals 5; If so, proceed to step 315, if not, proceed to step 316;
, there is the back of a bow or phenomenon of lying prone forward, please correct in step 315: voice message: learning posture is incorrect;
Step 316: judge whether t2 equals 5; If so, proceed to step 317, if not, proceed to step 318;
, there is left torticollis phenomenon, please correct in step 317: voice message: learning posture is incorrect;
, there is right torticollis phenomenon, please correct in step 318: voice message: learning posture is incorrect;
Table one is in step 3, the output of corresponding infrared distance sensor output voltage and Δ V1, Δ V2 when judging learning posture.
In step 3, when detecting learning posture, for the judgement of a learning posture, 5 times are repeatedly judged by recursion instruction, each time delay 3s, namely to the judgement of a learning posture, time delay 15s altogether, avoids user to be less than in the time of 15s in action (as: drink water, by rubber, turn over school bag, thinking etc.) and occurs reporting to the police, avoid occurring wrong report phenomenon, Detection accuracy is high, avoids the study notice and the results of learning that affect user when reporting by mistake.Meanwhile, delay time of the present invention also can set according to actual conditions, is not limited to 15s.
Step 4: judge whether to exit learning state; Step 4 specifically comprises the following steps:
With reference to Fig. 7, step 401: read infrared distance sensor 604 output voltage;
Step 402: judge whether infrared distance sensor 604 output voltage is high level, if so, proceeds to step 405, if not, proceeds to step 403;
Step 403: read the first pressure transducer 9, second pressure transducer 10 output voltage;
Step 404: judge whether the first pressure transducer 9, second pressure transducer 10 output voltage has one at least for high level, if so, proceeds to step 405, if not, proceeds to step 407;
Step 405: read the first light sensor 7, second light sensor 8 output voltage;
Step 406: judge whether the first light sensor 7, second light sensor 8 output voltage is high level, if so, proceeds to step 301, if not, proceeds to step 407;
Step 407: exit learning state.
Step 5: the bad learning posture data of statistics display; Step 5 specifically comprises the following steps:
Step 501: preserve learning posture data.With reference to Fig. 8, in ferroelectric memory 3, open up 28 byte spaces, store history 7 day data, every day 4 bytes, wherein 2 bytes store always learnt duration A the same day, 2 bytes store incorrect posture on same day study duration B.Open up 3 byte spaces in addition and preserve the last date of ferroelectric memory 3 being carried out to write operation; Step 501 specifically comprises the following steps:
Step S1: reading displayed shield 4 the same day date and time information X and ferroelectric memory 3 in preserve date Y;
Step S2: the size comparing X and Y, if X=Y, reads and always learnt duration A and incorrect posture study on the same day duration B same day of preserving in ferroelectric memory 3; With reference to Fig. 9, if 0 < X-Y < 7, the four lines data of record in ferroelectric memory 3 are moved to left X-Y byte, and the date upgrading preservation in ferroelectric memory 3 is date and time information X on the same day; Initialization A=0, B=0; If 7≤X-Y, clear operation is carried out to 28 byte spaces in ferroelectric memory 3, and the date upgrading preservation in ferroelectric memory 3 is date and time information X on the same day; Initialization A=0, B=0;
Step S3: when entering learning state, reads present system time M1;
Step S4: under entering learning state, reads present system time N1 when judging that learning posture is incorrect; Learning posture recovers correct or when exiting learning state, reads present system time N2, and upgrades incorrect posture study on same day duration B=B+(N2-N1);
Step S5: when exiting learning state, reads present system time M2; Upgrade and always learnt duration A=A+(M2-M1 the same day), incorrect posture on the same day is learnt duration B and always learnt duration A the same day stored in ferroelectric memory 3.
Step 502: statistics display history learning gesture data.28 byte datas read from ferroelectric memory 3, draw histogram, the incorrect posture study duration B simultaneously calculating the same day accounts for the number percent (B ÷ A × 100%) learning duration A total same day, draws trend map.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, as: the present invention, also fixes by other modes with in the connected mode of driving belt 605 at infrared distance sensor 604 except fixing by driving belt card 603.When detecting learning posture, for the judgement of a learning posture, can time delay 10s, 20s, 30s or other times, be not restricted to 15s.If these amendments and modification are within the scope of the claims in the present invention and equivalent technologies thereof, then these revise and modification also within protection scope of the present invention.
The prior art that the content do not described in detail in instructions is known to the skilled person.

Claims (10)

1. a bad learning posture detects and statistics display device, comprise processor (2), it is characterized in that: also comprise calibration knob (1), ferroelectric memory (3), display screen (4), motor (5), head-tracking probe unit (6), first light sensor (7), second light sensor (8), first pressure transducer (9) and the second pressure transducer (10), described calibration knob (1), ferroelectric memory (3), display screen (4), head-tracking probe unit (6), first light sensor (7), second light sensor (8), first pressure transducer (9), second pressure transducer (10) is connected with processor (2) respectively, described motor (5) is connected with head-tracking probe unit (6),
Described calibration knob (1) is for starting head-tracking probe unit (6); Described ferroelectric memory (3) is for storing learning posture data; Described display screen (4) is for showing bad learning posture statistics; Described head-tracking probe unit (6) is for following the trail of detecting user head; Whether described first light sensor (7) and the second light sensor (8) have books to put on the table for detecting; Whether described first pressure transducer (9) and the second pressure transducer (10) are put both hands on the table for detecting user, and when both hands are put on desktop by user, desktop pressure situation.
2. bad learning posture as claimed in claim 1 detects and statistics display device, it is characterized in that: described head-tracking probe unit (6) comprises and turns to transmission gear box (601), driving belt (605) and positioning transmission gear case (607); One end of described driving belt (605) is connected with transmission gear box (601), the other end is connected with positioning transmission gear case (607), described transmission gear box (601) bottom that turns to is provided with upper limit position switch (602), described positioning transmission gear case (607) top is provided with lower position switch (606), and described driving belt (605) is provided with infrared distance sensor (604); The output shaft of described motor (5) is connected with driving belt (605) by turning to transmission gear box (601).
3. bad learning posture as claimed in claim 2 detects and statistics display device, it is characterized in that: described driving belt (605) is provided with driving belt card (603), described infrared distance sensor (604) is fixed on driving belt (605) by driving belt card (603).
4. utilize the bad learning posture described in claim 3 to detect and carry out with statistics display device the method that bad learning posture detects and statistics shows, it is characterized in that, comprise the following steps:
(1) calibrate the position of infrared distance sensor, make infrared distance sensor aim at user's forehead position;
(2) judge whether to enter learning state;
(3) monitor learning posture and remind;
(4) judge whether to exit learning state;
(5) the bad learning posture data of statistics display.
5. bad learning posture as claimed in claim 4 detects and adds up the method shown, and it is characterized in that, the detailed process of described step (1) is as follows:
(1-1) click calibration knob, Electric Machine Control infrared distance sensor is descending, stops after triggering lower position switch;
(1-2) reading infrared distance sensor output voltage, judge whether infrared distance measurement sensing output voltage is high level, if so, by controlling motor, making infrared distance sensor increase; If not, step (1-2) is repeated;
(1-3) reading infrared distance sensor output voltage, judge whether infrared distance sensor output voltage is high level, if so, by controlling motor, making infrared distance sensor increase; If not, by controlling motor, infrared distance sensor is made to move down 2cm.
6. the bad learning posture as described in claim 4 or 5 detects and adds up the method shown, and it is characterized in that, the detailed process of described step (2) is as follows:
(2-1) infrared distance sensor output voltage is read; Judge whether infrared distance sensor output voltage is high level, if so, read the first pressure transducer, the second pressure transducer output voltage; If not, step (2-1) is repeated;
(2-2) judge the first pressure transducer, whether the second pressure transducer output voltage be high level, if so, read the first light sensor, the second light sensor output voltage; If not, step (2-1), (2-2) is repeated successively;
(2-3) judge the first light sensor, whether the second light sensor output voltage be high level, if so, then user is in learning state, and if not, then user is in non-learning state.
7. bad learning posture as claimed in claim 6 detects and adds up the method shown, and it is characterized in that, the detailed process of described step (3) is as follows:
(3-1) initialization processor intrinsic parameter t1=0, t2=0, t3=0;
(3-2) infrared distance sensor output voltage is read; Judge whether infrared distance sensor output voltage is high level, if so, then learning posture is correct, if not, then and learning posture mistake, further wrongheaded learning posture type;
(3-3) read the first pressure transducer output voltage V1, the second pressure transducer output voltage V2, calculate Δ V1=V1-V10; Δ V2=V2-V20; If Δ V1 > 0 and Δ V2 > 0, make processor intrinsic parameter t1=t1+1, t2=0, t3=0, time delay 3 seconds; If Δ V1 > 0 and Δ V2 < 0, make processor intrinsic parameter t2=t2+1, t1=0, t3=0, time delay 3 seconds; If Δ V1 < 0 and Δ V2 > 0, make processor intrinsic parameter t3=t3+1, t1=0, t2=0, time delay 3 seconds;
(3-4) judge the numerical values recited of t1+t2+t3, if t1+t2+t3 ≠ 5, repeat step (3-2), (3-3), (3-4) successively; If t1+t2+t3=5, judge the numerical values recited of t1, t2, t3 further, if t1=5, then exist the back of a bow or before to lie prone phenomenon; If t2=5, then there is left torticollis phenomenon; If t3=5, then there is right torticollis phenomenon.
8. bad learning posture as claimed in claim 7 detects and adds up the method shown, and it is characterized in that, the detailed process of described step (4) is as follows:
Read infrared distance sensor output voltage; If infrared distance sensor output voltage is high level, read the first light sensor, the second light sensor output voltage; Judge the first light sensor, whether the second light sensor output voltage be high level, if so, be then in learning state, if not, be then in and exit learning state; If infrared distance sensor output voltage is low level, read the first pressure transducer, the second pressure transducer output voltage; Judge the first pressure transducer, whether the second pressure transducer output voltage have one at least for high level, if not, be then in and exit learning state; If so, the first light sensor, the second light sensor output voltage is read; Judge the first light sensor, whether the second light sensor output voltage be high level, if so, be then in learning state, if not, be then in and exit learning state.
9. bad learning posture as claimed in claim 8 detects and adds up the method shown, and it is characterized in that, the detailed process of described step (5) is as follows:
(5-1) preserve learning posture data: in ferroelectric memory, open up 28 byte spaces, store history 7 day data, every day 4 bytes, wherein 2 bytes store always learnt duration A the same day, 2 bytes store incorrect posture on same day study duration B; Open up 3 byte spaces in addition and preserve the last date of ferroelectric memory being carried out to write operation;
(5-2) learning posture data are read, and statistics display: 28 byte datas read from ferroelectric memory, draw histogram, the incorrect posture study duration B simultaneously calculating the same day accounts for the number percent that total same day learns duration A, draws trend map.
10. bad learning posture as claimed in claim 9 detects and adds up the method shown, and it is characterized in that, the detailed process of described step (5-1) is as follows:
(5-1-1) the date Y that preserves in reading displayed screen date and time information X on the same day and ferroelectric memory;
(5-1-2) compare the size of X and Y, if X=Y, read and always learnt duration A and incorrect posture study on the same day duration B same day of preserving in ferroelectric memory; If 0 < X-Y < 7, the four lines data recorded in ferroelectric memory are moved to left X-Y byte, and to upgrade the date of preserving in ferroelectric memory be date and time information X on the same day; Initialization A=0, B=0; If 7≤X-Y, clear operation is carried out to 28 byte spaces in ferroelectric memory, and to upgrade the date of preserving in ferroelectric memory be date and time information X on the same day; Initialization A=0, B=0;
(5-1-3), when entering learning state, present system time M1 is read;
(5-1-4), under entering learning state, when judging that learning posture is incorrect, present system time N1 is read; Learning posture recovers correct or when exiting learning state, reads present system time N2, and upgrades incorrect posture study on same day duration B=B+(N2-N1);
(5-1-5), when exiting learning state, present system time M2 is read; Upgrade and always learnt duration A=A+(M2-M1 the same day), incorrect posture on the same day is learnt duration B and always learnt duration A the same day stored in ferroelectric memory.
CN201510175866.0A 2015-04-15 2015-04-15 Bad learning posture detects and statistics display device and method Expired - Fee Related CN104835293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510175866.0A CN104835293B (en) 2015-04-15 2015-04-15 Bad learning posture detects and statistics display device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510175866.0A CN104835293B (en) 2015-04-15 2015-04-15 Bad learning posture detects and statistics display device and method

Publications (2)

Publication Number Publication Date
CN104835293A CN104835293A (en) 2015-08-12
CN104835293B true CN104835293B (en) 2016-01-06

Family

ID=53813154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510175866.0A Expired - Fee Related CN104835293B (en) 2015-04-15 2015-04-15 Bad learning posture detects and statistics display device and method

Country Status (1)

Country Link
CN (1) CN104835293B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107367997A (en) * 2017-08-23 2017-11-21 西安科技大学 A kind of intelligent flipbook device
CN108095333A (en) * 2017-12-18 2018-06-01 珠海瞳印科技有限公司 Sitting posture correcting device and its bearing calibration
CN111047832A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Mobile equipment with sitting posture adjusting function and using method thereof
CN113511020A (en) * 2021-05-29 2021-10-19 深圳华一精品科技有限公司 Posture correcting pen for correcting pen holding mode and sitting posture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003203282A (en) * 2001-10-23 2003-07-18 Akie Yamada Warning device and warning system
CN202038049U (en) * 2011-03-25 2011-11-16 大连职业技术学院 Writing board with sitting posture correction function
CN102973276A (en) * 2012-12-20 2013-03-20 毛毅翔 Device for preventing myopia and cervical spondylosis
CN103400476A (en) * 2013-07-30 2013-11-20 步步高教育电子有限公司 Sitting posture reminding method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003203282A (en) * 2001-10-23 2003-07-18 Akie Yamada Warning device and warning system
CN202038049U (en) * 2011-03-25 2011-11-16 大连职业技术学院 Writing board with sitting posture correction function
CN102973276A (en) * 2012-12-20 2013-03-20 毛毅翔 Device for preventing myopia and cervical spondylosis
CN103400476A (en) * 2013-07-30 2013-11-20 步步高教育电子有限公司 Sitting posture reminding method and device

Also Published As

Publication number Publication date
CN104835293A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN104835293B (en) Bad learning posture detects and statistics display device and method
CN203472343U (en) Pen having function of reminding users in case of pen holding gesture errors
CN105224425B (en) The data protection circuit and its method of a kind of storage chip
US9703360B2 (en) Electronic device and method for changing a working state of the electronic device
US20140047301A1 (en) Semiconductor memory device and a method therein
EP3736675A1 (en) Method for performing operation on touchscreen and terminal
US20140372737A1 (en) Electronic device and method for automatically waking up operating system of electronic device
ATE557399T1 (en) READ AND ERASE VERIFICATION METHODS AND CIRCUITS SUITABLE FOR NON-VOLATILE LOW VOLTAGE MEMORY
EP2595062A3 (en) Storage device, storage control device, data transfer integrated circuit, and storage control method
CN205044358U (en) Intelligent myopia prevention pen
EP1806276A3 (en) Diving information processing device, and related control method, control program and program storage device
US8803799B2 (en) Screen protection system and method of an electronic device
US20210103345A1 (en) Double-tap event detection device, system and method
CN106773626A (en) A kind of watch and sitting-posture correction device and method
US8847885B2 (en) Electronic device and method for relieving visual fatigue using the electronic device
US10276126B2 (en) Information processing method and electronic device
JP2007072086A (en) Writing practice system, writing practice program, and letter sample data structure
TWI601031B (en) Method for reminding reading fatigue and system thereof for electronic devices
CN202171700U (en) Spectacle capable of correcting sitting posture
CN204048209U (en) Myopia prevention radar cap
CN104837240B (en) Desktop illuminance intelligent regulating device and method
US20130266920A1 (en) Storage medium storing information processing program, information processing device, information processing method, and information processing system
CN203706383U (en) Intelligent eyesight spine protection instrument
EP3605518A1 (en) Method and apparatus for controlling display screen
CN202067376U (en) Dual-functional nearsightedness preventing instrument

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160106