Dormitory bed
Technical field
The present invention relates to bed structure fields, more particularly to dormitory bed.
Background technique
Dormitory bed is just located in for the bed of people's rest in apartment, and the time that there is one third or more in all one's life of people is all
It is spent in sleep, sleep is one of biological phenomena necessary to maintaining human life activity, by sleep, can make human body
Energy and physical strength be restored.
Currently, the dormitory bed sold on the market be largely it is fixed, it is non-telescoping, cannot well adapt to people's
The height of figure often will appear the case where cannot lying down naturally due to height is too high or figure is too fat;In addition, if there is parent
Friend good friend visit is stayed, and bed can only be separately looked for, very inconvenient;For teenager, body is developed at a high speed, with the age
Growth, teen-age height and figure all changing, and a length and width fixed bed is not well positioned to meet teen-age need
It asks;Through scientific investigations showed that, sleep quality not only has a relationship with the length of sleeping time, also with 3 stages of sleep: shallow-layer is slept
Dormancy, deep sleep, the temperature of waking state each period have close relationship.
To sum up, existing dormitory bed haves the defects that length and width is unable to free extension, and sleep stage temperature cannot be adjusted
Section, not can guarantee the defect of sleep quality, so the present invention provides the new scheme of one kind to solve the problems, such as this.
Summary of the invention
For above situation, for the defect for overcoming the prior art, purpose of the present invention is to provide dormitory beds, are able to achieve public affairs
The length and width free extension of bed, the sleep stage temperature of residing are adjusted, and guarantee sleep quality.
Its technical solution solved is, including bed body, control circuit, and the bed body support frame is the cabinet that Open Side Down,
Support frame upper end is equipped with two connecting rods, and the center that axis is hinged on support frame upper surface in X shape is sold at position among two connecting rods
Position, the two sides of every connecting rod hinged place are evenly equipped with four pin shafts respectively, and two small ends are evenly equipped with five A plates, adjacent
It is equipped with the B plate that two bilateral symmetries are placed between A plate and A plate, is located at pin shaft position on A plate and B plate and offers sliding slot, it is right
The pin shaft of position is answered to be slidably connected with sliding slot, when A plate and B plate are in close contact, the one end of sliding slot far from bed board center connects with pin shaft
Touching, the bed board of more A plates and the horizontal positioned group rectangular in form of more B plates;B plate is connected with cunning far from the one end at support frame center
Rail, slidably connects sliding block in sliding rail, and the B plate of sliding block and corresponding position is fixed together;
A pipe corresponding with A plate and B plate length and B pipe, more A pipes and more B are respectively fixed on the A plate and B plate
Pipe head and the tail are successively by flexible water pipe connection;
There is the first gear being horizontally mounted in the support frame, first gear front and rear sides are engaged with one first respectively
Rack gear, the first rack gear level run through support frame side wall, and the first rack gear is fixed with the first vertical plate far from the one end at support frame center, the
One vertical plate upper end is fixed with sliding rail;There are two second rack gears placed along the longitudinal direction, each second rack gear above first rack gear
One end far from support frame is fixed with the second vertical plate, and the second vertical plate upper end is fixed together with corresponding A plate;
The control circuit is setting light sleep, deep sleep, clear according to the sleeping time of science and the curve graph of temperature
The state of waking up, stage of getting up corresponding preference temperature and lighting atmosphere, it is ensured that sleep quality reduces deep sleep and directly called out by alarm clock
Awake sense of discomfort, including MCU module and the temperature detecting module being connect with MCU module, water level detecting module, MCU module connection
Clock module, alarm clock calling module, lighting control module, heating control module, temperature detecting module, water level detecting module are set
Under A pipe (9) or B pipe (10), lighting control module, alarm clock calling module are set on bed board, and MCU module, adds clock module
Thermal control module is set to bed board side.
The invention has the advantages that: the length and widths of 1. effective solutions typical apartment bed to be unable to lacking for free extension
It falls into, the gap that the upper surface of dormitory bed keeps forming between the element of bed board in the same plane in telescopic process keeps one
It causes, bed board keeps the variation that length and width is realized in the case where rectangle;
2, water, heater are installed additional in A pipe and B pipe, and light sleep, deep sleep, awake shape are exported by clock chip
The bed tube temperature that state Interruption information is detected to single-chip microcontroller, single-chip microcontroller in conjunction with the temperature information and temperature sensor of internal preset
Information is spent, output PWM wave adjusts the power of heating device, realizes that the sleep temperature in corresponding stage is adjusted, makes the physiology machine of human body
It can adequately be repaired, ensure that sleep quality;
3, in waking state, single-chip microcontroller controls user by temperature and enters shallow sleep while amber light gradually from waking state
It is dimmed, sleep atmosphere is provided;Stage single-chip microcontroller of getting up controls user by temperature and slowly wakes up to shallow sleep from deep sleep, together
When amber light gradually brighten, after having arrived alarm time, voice prompting people gets up while white lamps are bright, atmosphere of getting up is provided, reduce
The sense of discomfort that deep sleep is directly waken up by alarm clock;It is additionally equipped with water in water level sensor detection bed pipe, less than setting threshold
When value, audio alert reminds user to add water, prevents dry combustion method, has great practical value and promotional value.
Detailed description of the invention
Fig. 1 is main view sectional view of the invention.
Fig. 2 is lateral sectional view of the invention.
Fig. 3 is top view of the invention.
Fig. 4 is top cross-sectional view of the invention.
Fig. 5 is connecting rod of the invention, A plate, pin shaft and sliding slot connection schematic diagram.
Fig. 6 is the circuit module figure of dormitory bed of the present invention.
Fig. 7 is the partial circuit schematic diagram of dormitory bed of the present invention.
Fig. 8 is the partial circuit schematic diagram of dormitory bed of the present invention.
Fig. 9 is the partial circuit schematic diagram of dormitory bed of the present invention.
Figure 10 is the sleep curve graph of dormitory bed of the present invention.
Specific embodiment
For the present invention aforementioned and other technology contents, feature and effect, in following cooperation with reference to figures 1 through attached drawing 10
To in the detailed description of embodiment, can clearly present.The structure content being previously mentioned in following embodiment is with specification
Attached drawing is reference.
Each exemplary embodiment of the invention is described below with reference to accompanying drawings.
Embodiment one, dormitory bed, including bed body, control circuit, support frame 1, support frame 1 are the cabinet that Open Side Down, branch
1 upper end of support is equipped with two connecting rods 2, and two intermediate positions of connecting rod 2 are sold axis 3 and are hinged in 1 upper surface of support frame in X shape
Heart position, the two sides of every 2 hinged place of connecting rod are evenly equipped with four pin shafts 3 respectively, and two 2 upper ends of connecting rod are evenly equipped with five A plates 4,
It is equipped with the B plate 5 that two bilateral symmetries are placed between adjacent A plate 4 and A plate 4, is located at 3 position of pin shaft on A plate 4 and B plate 5
Sliding slot 6 is offered, pin shaft 3 and the sliding slot 6 of corresponding position are slidably connected, and when A plate 4 and B plate 5 are in close contact, sliding slot 6 is far from bed board
The one end at center is contacted with pin shaft 3, the bed board of more A plates 4 and the horizontal positioned group rectangular in form of more B plates 5;B plate 5 is far from support
The one end at 1 center of frame is connected with sliding rail 7, and sliding block 8 is slidably connected in sliding rail 7, and sliding block 8 and the B plate 5 of corresponding position are fixed on
Together;A pipe 9 corresponding with A plate 4 and 5 length of B plate and B pipe 10, more 9 Hes of A pipe are respectively fixed on the A plate 4 and B plate 5
More 10 head and the tail of B pipe are successively connected to by flexible water pipe 11;There is the first gear 14 being horizontally mounted in the support frame 1, first
14 front and rear sides of gear are engaged with first rack gear 13 respectively, and the first rack gear 13 is horizontal to run through 1 side wall of support frame, the first rack gear
13 one end far from 1 center of support frame are fixed with the first vertical plate 12, and 12 upper end of the first vertical plate and sliding rail 7 are fixed;First rack gear 13
There are two second rack gears 16 placed along the longitudinal direction in top, and each second rack gear 16 is fixed with far from one end of support frame 1
Two vertical plates 15,15 upper end of the second vertical plate are fixed together with corresponding A plate 5;The control circuit is according to scientific sleeping time
With the curve graph of temperature, light sleep, deep sleep, waking state, stage of getting up corresponding preference temperature and light atmosphere are set
It encloses, it is ensured that sleep quality reduces the sense of discomfort that deep sleep is directly waken up by alarm clock, including MCU module and according to temperature detection
Module detects bed body temperature, clock module exports Interruption information, and output control information to alarm clock calling module issues " main
People please get up " prompt tone of getting up, issue " owner please add water " slave water inlet add water prompt tone, lighting control module to make
Before sleep or after awakening, lighting atmosphere is provided, heating control module provides light sleep, deep sleep, waking state, gets up
The preference temperature in stage, temperature detecting module, water level detecting module are set to middle under bed tube bottom, lighting control module, alarm clock
Reminding module is set on bed board, and MCU module, clock module, heating control module are set to bed board side.
Embodiment two, it is described on the basis of example 1 in order to more easily adjust the length and width of dormitory bed
It is connected with first motor 18 in first gear 14, the second motor 19, the 18, second electricity of first motor are connected in second gear 17
Machine 19 is controlled by MCU module, and the positive and negative rotation by controlling first motor 18 drives first gear 14 to realize apartment bed length certainly
By stretching, the positive and negative rotation by controlling the second motor 19 drives second gear 17, realizes dormitory bed width free extension.
Embodiment three, the water on the basis of example 1 in order to improve the sleep quality of user, in A pipe 9 and B pipe 10
Temperature is adjusted by control circuit.
Example IV, on the basis of example 1 in order to which user uses more comfortable, described A pipe 9 and B pipe 10
Cross section is identical and upper surface is plane.
Embodiment five, on the basis of example 1, the temperature detecting module real-time detection bed body temperature turns to number
Voltage signal is transmitted to MCU module, the temperature sensor J1 including model DS18B20, converts digital electricity for temperature signal
Press signal, high resolution, thermometric are accurate, strong antijamming capability, the pin 3 and pin 1 of temperature sensor J1 be power end and
Ground terminal accesses power supply+5V by capacitor C1, and the pin 2 of temperature sensor J1 exports digital voltage signal and passes through pull-up resistor R1
It is sent to the pin 1 of single-chip microcontroller U1;The heating control module is controlled by the PWM wave that single-chip microcontroller in MCU module exports, and provides shallow-layer
Sleep, deep sleep, waking state, the preference temperature in stage of getting up, when temperature needs to be turned up, the pin 13 of single-chip microcontroller is exported
High level PWM wave to photoelectrical coupler U4 pin 2, since the pin 1 of photoelectrical coupler U4 is electric by pull-up resistor R14 connection
Source+5V, at this time photoelectrical coupler U4 be connected, due to photoelectrical coupler U4 pin 3 by resistance R16 connection, photoelectric coupling
The pin 4 of device U4 is resistance R15, resistance R16 points by the pin 4 of pull-up resistor R15 connection power supply+12V, photoelectrical coupler U4
It is connected after pressure to the triggering end thyristor T1 of thyristor BCR1, the T1 main electrode of thyristor T1 and the T2 main electrode of thyristor T1 connect
It is logical, at this point, the pin 1 of the pin 2 of the pin 2 of power supply J5, thyristor T1, heating device J4, heating device J4, power supply J5's draws
Foot 1 constitutes the circuit of current flowing, is heated, and the road that resistance R17 connects with capacitor C8 is in parallel with thyristor T1, prevents instantaneous
High voltage pulse punctures thyristor BCR1, can also trigger turn on thyristors by key K4, be heated;The signal light control
Module is controlled by single-chip microcontroller output PWM wave in MCU module, before sleep or after awakening, provides lighting atmosphere, including yellow light
Control circuit and white light control circuit, yellow light control circuit be used for before sleep single-chip microcontroller control light by it is bright gradually
It is dimmed, sleep lighting atmosphere, including triode Q1, triode Q2 be provided, triode Q1 and triode Q2 be driving triode by
The pin 15 of single-chip microcontroller U1 exports PWM wave control, since the collector of triode Q1 connects power supply+5V, the current collection of triode Q2
Pole connection ground, when PWM wave is high level, triode Q1 conducting, CE knot connection inductance L1, electricity of the power supply+5V through triode Q1
The both ends of Y_LED yellow lamp group are added to after the filter circuit of solution capacitor E3 composition, when PWM wave is low level, triode Q2 is led
It is logical, Y_LED yellow lamp group (6 yellow LED lamps are added to after the CE knot of triode Q2, inductance L1, electrolytic capacitor E3, power supply+12V
Compose in parallel) both ends, yellow lamp group is bright, by adjusting the duty ratio of PWM wave, control Y_LED yellow lamp group by secretly to bright or
Variation from bright to dark;Similarly, white light control circuit principle is the same with yellow light control circuit, for when getting up,
White lamps are bright, provide atmosphere of getting up, and reduce the sense of discomfort that deep sleep is directly waken up by alarm clock.
Embodiment six, on the basis of example 1, including clock module, for exporting light sleep, deep sleep, clear
Awake state, the Interruption information in stage of getting up to single-chip microcontroller, single-chip microcontroller control issue temperature adjusting and alarm clock voice sound, daily
Single-chip microcontroller controls after getting up, and the time resets reclocking, including pin 1, the pin 2 of clock chip U2, clock chip U2 are outer
Portion shakes end and is used for high-precision timing, is made of crystal oscillator Y1, capacitor C5, capacitor C6, and the pin 4 of clock chip U2 connects ground, when
The pin 3 of clock chip U2 be interrupt output end, setting time then, to single-chip microcontroller export low level to single-chip microcontroller U1 pin
The pin 5 of 11, clock chip U2 are that data terminal is inputted for setting time, and drawing for single-chip microcontroller U1 is connected after pull-up resistor R12
Foot 7 allows data terminal setting time to input when the 6 clock end low level of pin of clock chip U2, connects after pull-up resistor R11
The pin 6 of single-chip microcontroller U1, the pin 7 of clock chip U2 are that output terminal of clock connects drawing for single-chip microcontroller U1 after pull-up resistor R10
Foot 20, the pin 8 of clock chip U2 are on the one hand power end meets power supply+5V and ground capacity C7, electrolytic capacitor by diode D2
E3 is provided, and is on the other hand provided by diode D3, battery BT1, is guaranteed when power-off, can be by battery to clock chip
Power supply, continues to walk about with the retention time;The alarm clock calling module, after reaching setting time, buzzer is rung, issue " owner,
Please get up " prompt tone of getting up, can with water in bed pipe be less than setting value when, buzzer ring, issue " owner please add water "
Slave water inlet add water prompt tone, including the pin 2 of model NVC080 speech chip U3, speech chip U3 are Clock control end
The pin 8 of single-chip microcontroller U1 is connected, the pin 3 of speech chip U3 is the pin 9 that data terminal connects single-chip microcontroller U1, and Clock control end is low
Allow single-chip microcontroller lteral data to be transferred to speech chip when level, speech chip by text conversion at sound, from PWM mouthfuls of pins 4
The cathode and anode of buzzer LS1, sounding after buzzer power amplification, the pin 6 and electricity of speech chip U3 are output to pin 5
Hold the one end C9 and connect power supply+5V, the pin 7 of speech chip U3 connects ground with the capacitor C9 other end, for filtering out interference.
Embodiment seven further includes on the basis of example 1 water level detecting module, and water in real-time detection bed pipe turns
It turns to electric signal and is transmitted to MCU module, the water level sensor J2 of model PY-201 exports 0-5V electric signal through two poles by pin 1
The non-inverting input terminal of operational amplifier AR1 is sent to after pipe D1, electrolytic capacitor E1, resistance R2 rectifying and wave-filtering, due to operational amplifier
The inverting input terminal of AR1 is separately connected the output end of operational amplifier AR1, and operational amplifier AR1 is voltage follower, then through electricity
Resistance R3, resistance R4 are converted into the operating voltage suitable for single-chip microcontroller, are sent to the pin 2 of single-chip microcontroller U2.
Embodiment eight, on the basis of embodiment 1,2,3,5,6,7, the MCU module includes model EM78P418
The pin 12 of single-chip microcontroller U1, electrolytic capacitor E1, resistance R9 composition reset circuit connection single-chip microcontroller U1, crystal oscillator X1, capacitor C3, capacitor
Pin 17, the pin 18 of the clock circuit connection single-chip microcontroller U1 of C4 composition, key K1 is " switch " key, due to the one end key K1
Connection ground, when key K1 is pressed, the lower end resistance R18 connects ground, termination power+5V on resistance R18, and low level interrupt signal is sent to
The pin 3 of single-chip microcontroller U1, key K2 are "+" key, since the one end key K2 connects ground, when key K2 is pressed, the lower end resistance R19
Connection, termination power+5V on resistance R19, low level interrupt signal is sent to the pin 10 of single-chip microcontroller U1, and key K3 presses for "-"
Key, since the one end key K3 connects ground, when key K3 is pressed, the lower end resistance R20 connection ground, termination power+5V on resistance R20,
Low level interrupt signal is sent to the pin 19 of single-chip microcontroller U1.
When the present invention is specifically used, first ensure that bed board surrounding does not have barrier, at this point, if needing adjustment length, single-chip microcontroller
It is the prior art that U1 output control pulse, which connects first motor 18(single-chip microcontroller control motor positive and inverse, and this will not be detailed here), the
The rotation of one motor 18 drives the counter motion of two the first rack gears 13 through first gear 14, and two first rack gears 13 drive respectively
Two piece of first 12 counter motion of vertical plate in left and right, the first vertical plate 12 drive sliding rail 7 mobile, final to realize that the sliding rail 7 of left and right two is distinguished
The counter motion of B plate 5 is driven through sliding block 8, the sliding opposite with the pin of relative position of the sliding slot 6 on B plate, until pin touches
One end of sliding slot 6 realizes length elongation or the contraction of bed board with this;If needing adjustment width, single-chip microcontroller U1 output control pulse
Connecting first motor 19(single-chip microcontroller control motor positive and inverse is the prior art, and this will not be detailed here), the second motor 19 is through second
Gear 17 drives the counter motion of two the second rack gears 16, and two the second rack gears 16 drive the second vertical plate of front and rear sides 14 anti-respectively
To movement, two piece of second vertical plate 14 drives outermost A plate counter motion respectively, at the same time, the pin shaft on two 2 ends of connecting rod
It is slided along corresponding sliding slot 6, realizes that the width of bed board is widened or narrows with this;Five pieces of 4 levels of A plate are evenly arranged on two companies
On bar 2, five blocks of A plates 4 are connect through sliding slot 6 with two connecting rods 2, ensure that the moment keeps phase to A plate at a distance from gap between A plate
Deng, A plate 4 and the distance between B plate 5 are also equal everywhere, be conducive to the forced area of bed board everywhere all, improve use the longevity
Life;In addition to being located in the middle on A plate 4 other than only one pin shaft, all there are two pin shafts on other four blocks of A plates 4, according to " two o'clock is fixed
The basic principle of one line ", four pieces of 4 moment of A plate keep being parallel to each other, and are conducive to the basic configuration that bed board keeps rectangle;Sliding rail 7 passes through
Sliding block 8 drives B plate to move horizontally, and as the distance between A plate 4 and A plate 4 change, the distance between former and later two B plates 5 also can
Variation, the present invention devise sliding rail 7, and sliding rail 7 is connect with B plate 5 through sliding block 8, and more B plates 5 connecting with same sliding rail 7 can be along cunning
Rail 7 slides, and realizes the adjustable purpose of the distance between former and later two B plates 5 with this;First motor 18 and the second motor 19 difference
It drives first gear 14 and second gear 17 to rotate, and then realizes the elongation or shortening of bed board length and width, with electric energy generation
For manual labor, manual labor's amount is reduced, operation is facilitated;There is the adjustable water flow of temperature in A pipe 9 and B pipe 10, preferably guarantees to make
The sleep quality of user;The outer shape size of A pipe 9 and B pipe 10 is identical as A plate 4 and B plate 5 respectively, so the movement rail of A pipe 9
Mark is identical as the motion profile of A plate 4, and the motion profile of B pipe 10 is identical as the motion profile of B plate, by the A pipe 9 for observing upper layer
Gap between B pipe 10 is easier to understand the gap size between A plate 4 and B plate 5;More A pipes 9 and 10 head and the tail of Duo Gen B pipe according to
Secondary to be connected to by flexible water pipe 11, the gap size that flexible water pipe 11 can be managed according to A between A pipe, A pipe and B pipe, B pipe and B pipe is determined
Fixed elongation or compression, ensure that water will not overflow, preferably ensure that the safety of user;Preset heating dress in bed pipe
It sets (being herein PTC heating tube), water is added from the water inlet of bed pipe, press the button K1, be switched on, press the button K1 after booting again
Shutdown, under open state, long-pressing key K1 enters model selection state, at this time individual palpation key K2 or K3, can be " shallow-layer is slept
Dormancy, waking state, is got up the stage at deep sleep " switch between object, the object that K1 selection needs to be arranged is pressed the button, is pressed
Preference temperature and the break period of selecting object is arranged in key K2 or K3, and now in conjunction with the sleep curve of attached drawing 5, detailed description was used
Journey, the temperature curve of different time intelligently adjust water temperature, when booting setting 0 after sleep, bed body shift to an earlier date 20 minutes and be rapidly heated to
26 DEG C or so, warm quilt, while W_LED white lamp group is gone out, Y_LED yellow lamp group provides sleep atmosphere by bright gradually dimmed,
Into light sleep, bed body temperature starts slowly to rise, and after the time for rising 2 hours or so always, bed body temperature rises to 28
DEG C, hereafter to 6 when, bed body temperature is maintained between 28 DEG C to 28.5 DEG C, helps user to enter deep sleep, in the time from rising
When bed 2 hours of time, bed body temperature is begun to decline to 27 DEG C or so, and user is allowed to enter light sleep state, Y_LED yellow
Lamp group, until W_LED white lamp group is bright, is provided atmosphere of getting up, is simultaneously emitted by getting up for " owner please getting up " by secretly gradually brightening
Prompt tone reduces the sense of discomfort directly waken up from deep sleep by alarm clock, is additionally provided with water in water level sensor detection bed pipe, is less than
When given threshold, the prompt tone of " owner please add water " is issued, user is reminded to add water, prevents dry combustion method from damaging heating tube.