CN110320936A - Double dimension solar tracking control circuits - Google Patents

Double dimension solar tracking control circuits Download PDF

Info

Publication number
CN110320936A
CN110320936A CN201910720308.6A CN201910720308A CN110320936A CN 110320936 A CN110320936 A CN 110320936A CN 201910720308 A CN201910720308 A CN 201910720308A CN 110320936 A CN110320936 A CN 110320936A
Authority
CN
China
Prior art keywords
capacitor
resistance
feet
gnd
connect
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.)
Pending
Application number
CN201910720308.6A
Other languages
Chinese (zh)
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.)
Shenyang Xinyuanrui Technology Co Ltd
Original Assignee
Shenyang Xinyuanrui Technology 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 Shenyang Xinyuanrui Technology Co Ltd filed Critical Shenyang Xinyuanrui Technology Co Ltd
Priority to CN201910720308.6A priority Critical patent/CN110320936A/en
Publication of CN110320936A publication Critical patent/CN110320936A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback
    • G05D3/20Control of position or direction using feedback using a digital comparing device

Abstract

Double dimension solar tracking control circuits belong to solar energy equipment technical field, more particularly to a kind of double dimension solar tracking control circuits.The present invention provides a kind of double dimension solar tracking control circuits.The present invention includes power unit, the part MCU, RS485 communication part, motor control part, light sensor portion and pulse capture part, the signal transmission port of the part its structural feature MCU is connected with the signal transmission port of RS485 communication part, the control signal output mouth of the part MCU is connected with the control signal input mouth of motor control part, and the detection signal input port of the part MCU is connected with the survey signal output port of the detection signal output port of light sensor portion, pulse capture part respectively.

Description

Double dimension solar tracking control circuits
Technical field
The invention belongs to solar energy equipment technical fields, more particularly to a kind of double dimension solar tracking control circuits.
Background technique
Solar energy has been widely used as a kind of clean energy resource, but the utilization rate of solar energy need to be improved.
Summary of the invention
The present invention addresses the above problem, provides a kind of double dimension solar tracking control circuits.
To achieve the above object, the present invention adopts the following technical scheme that, the present invention include power unit, MCU part, RS485 communication part, motor control part, light sensor portion and pulse capture part, the signal of the part structural feature MCU Transmission port is connected with the signal transmission port of RS485 communication part, the control signal output mouth and motor control of the part MCU Partial control signal input mouth is connected, the detection signal input port of the part MCU respectively with the detection of light sensor portion Signal output port, pulse capture part survey signal output port be connected, the power output port of power unit respectively with MCU Partial power input, the power input of RS485 communication part, the power input of motor control part, light The power input of Sensor section is connected with the power input of pulse capture part;
The pulse capture part includes P521 chip U9, U11, and 4 feet of U9 connect the end+5V, 3 feet of U9 by resistance R25 It is connected respectively with the one end resistance R28, the end PB0, another end termination GND resistance R28;1 foot of U9 meets Pulse_HX by resistance R26 End, 2 feet of U9 connect the end GND by resistance R27;
4 feet of U11 connect the end+5V by resistance R29, and 3 feet of U11 are connected with the one end resistance R32, the end PB8 respectively, resistance Another end termination GND R32;1 foot of U11 connects the end Pulse_YF by resistance R30, and 2 feet of U11 connect the end GND by resistance R31;
1,2 feet of connector P13 are connected with the end Pulse_HX, the end GND respectively, 1~4 foot of connector P12 respectively with+ The end 12V, the end Pulse_YF, the end Pulse_HX, the end GND be connected, 1,2 feet of connector P15 respectively with the end Pulse_YF, the end GND It is connected;
The RS485 communication part connects the end PA3 using 1 foot of SP3485 chip U8, U8,2 feet of U8 respectively with the end PA4, 3 feet of U8 are connected, and 4 feet of U8 connect the end PA2, and 5 feet of U8 connect the end GND, 6 feet of U8 respectively with the one end resistance R73, resistance R72 mono- End, zener diode D1 anode be connected, another end termination+3.3V resistance R73, zener diode D1 cathode respectively with resistance R72 The other end, the one end resistance R71,7 feet of U8 are connected, and another end termination GND resistance R71,8 feet of U8 connect the end+3.3V;
The light sensor portion uses MAX44009 chip, and 1 foot of MAX44009 chip connects the end 3.3V, MAX44009 core 2,3 feet of piece are grounded, and 4 feet of MAX44009 chip are connected with the end INT, the first 4.7K resistance one end respectively, the first 4.7K resistance Another end termination 3.3V;5 feet of MAX44009 chip are connected with the end SCL, the 2nd 4.7K resistance one end respectively, the 2nd 4.7K resistance The other end is connected with the end 3.3V, the 3rd 4.7K resistance one end respectively, the 3rd 4.7K resistance other end respectively with the end SDA, 6 feet of MAX44009 chip are connected.
As a preferred embodiment, the invention also includes Internet of Things communication part, the signal of Internet of Things communication part is transmitted Port is connected with the signal transmission port of the part MCU.
As another preferred embodiment, power unit of the present invention includes IRM-15-12 chip U12 and LM2576-5.0 1 foot of chip U2, U2 are connected with the end+12V, capacitor C1 anode respectively, capacitor C1 cathode respectively with the end GND, 3 feet of U2, U2 5 Foot, the anode of diode D2, the cathode of capacitor C2, capacitor C3 cathode be connected, the cathode of diode D2 respectively with 2 feet of U2, The one end inductance L3 is connected, and the inductance L3 other end is connected with the anode of the anode of capacitor C2,4 feet of U2, the end+5V, capacitor C3 respectively;
The end+12V is connected with the end DC_IN1;The end+12V passes through the anode of resistance R62 sending and receiving optical diode E7, light emitting diode The cathode of E7 connects the end GND;
+ 24V terminates the end P18, and GND2 terminates the end P19;
The 1 foot fuse F1 of U12 connects the end P20, and 2 feet of U12 connect the end P21,3 feet of U12 respectively with the cathode of capacitor C29, The one end capacitor C31, the end GND are connected, and the anode of capacitor C29 is connected with 4 feet of U12, the capacitor C31 other end, the end+12V respectively.
As another preferred embodiment, capacitor C1 of the present invention uses 470uF16V capacitor, and diode D2 uses SS34 Diode, capacitor C2 use 470uF6.3V capacitor, and capacitor C3 uses 0.1uF capacitor;
Resistance R62 uses 4.7K resistance, and fuse F1 uses 5A16V fuse, and capacitor C29 uses 470uF16V capacitor, Capacitor C31 uses 0.1uF capacitor.
As another preferred embodiment, the part MCU of the present invention use STM32F103ZET6 chip U1, U1 34~ 43 feet are correspondingly connected with the end PA0~PA7 respectively, 100~110 feet of U1 respectively with the end PA8~PA12, the end TMS, the end TCK, PA15 End is correspondingly connected with, and 46~48 feet of U1 are correspondingly connected with the end PB0, the end PB1, the end BOOT1 respectively, 133~140 feet of U1 respectively with The end PB3~PB9 is correspondingly connected with, and 69,70 feet of U1 are correspondingly connected with the end PB10, PB11 respectively, 73~76 feet of U1 respectively with The end PB12~PB15 is correspondingly connected with, and 26~29 feet of U1 are correspondingly connected with the end PC0~PC3 respectively, 44,45 feet of U1 respectively with The end PC4, PC5 is correspondingly connected with, and 96~99 feet of U1 are correspondingly connected with the end PC6~PC9 respectively, 111~113 feet of U1 respectively with The end PC10~PC12 is correspondingly connected with, and 7 feet of U1 connect the end PC13;
8 feet of U1 are connected with the end OSC32_IN, the one end crystal oscillator Y1, the one end capacitor C9 respectively, the capacitor C9 other end respectively with The end GND, the one end capacitor C10 are connected, and the capacitor C10 other end is connected with 9 feet of the crystal oscillator Y1 other end, U1 respectively;
114~119 ends of U1 are correspondingly connected with the end PD0~PD5 respectively, 122,123 feet of U1 respectively with the end pair PD6, PD7 It should connect, 77~86 feet of U1 are correspondingly connected with the end PD8~PD15 respectively, and 138 feet of U1 connect the end BOOT0;
16,38,51,61,71,83,94,107,120,130,143 feet of U1 connect the end GND, U1 17,52,39,62,72, 84,95,108,121,131,144 feet connect the end+3.3V;
30 feet of U1 are connected with the end GND, the one end capacitor C14 respectively, the capacitor C14 other end respectively with the end+3.3V, U1 33 Foot, 32 feet of U1 are connected, and 31 feet of U1 connect the end GND;
25 feet of U1 connect the end RESET;
24 feet of U1 are connected with the one end capacitor C45, the one end crystal oscillator Y2 respectively, the capacitor C45 other end respectively with the end GND, electricity Hold the one end C12 to be connected, the capacitor C12 other end is connected with 23 feet of the crystal oscillator Y2 other end, U1 respectively;
6 feet of U1 are connected with the one end capacitor C11, diode D4 cathode, diode D3 cathode respectively, the capacitor C11 other end The end GND is connect, diode D4 anode connects the end P3, and diode D3 anode connects the end+3.3V;
132 feet of U1 connect the end PG15, and 124~129 feet of U1 are correspondingly connected with the end PG9~PG14 respectively, and the 87~93 of U1 Foot is correspondingly connected with the end PG2~PG8 respectively, and 56,57 feet of U1 are correspondingly connected with the end PG0, PG1 respectively;
53~55 feet of U1 are correspondingly connected with the end PF13~PF15 respectively, 49,50 feet of U1 respectively with the end pair PF11, PF12 It should connect, 18~22 feet of U1 are correspondingly connected with the end PF6~PF10 respectively, and 10~15 feet of U1 are corresponding with the end PF0~PF5 respectively Connection;
63~68 feet of U1 are correspondingly connected with the end PF10~PF15 respectively, 58~60 feet of U1 respectively with the end pair PF7~PF9 It should connect, 1~5 foot of U1 is corresponding with the end PE2~PE6 respectively to be connected, and 141,142 feet of U1 are corresponding with the end PE0, PE1 respectively to be connected It connects.
As another preferred embodiment, crystal oscillator Y1 of the present invention uses 32.768KHz crystal oscillator, and capacitor C9 and C10 are used 10pF capacitor, capacitor C14 use 1uF capacitor, and crystal oscillator Y2 uses 8MHz crystal oscillator, and capacitor C45 and C12 use 20pF capacitor, capacitor C11 uses 0.1uF capacitor, and diode D3, D4 use 1N4148 diode.
As another preferred embodiment, the end+3.3V of the present invention by inductance L2 respectively with the one end capacitor C27, capacitor The one end C26,4 feet of crystal oscillator Y3 are connected, and the capacitor C27 other end is connected with the capacitor C26 other end, the end GND respectively;The 2 of crystal oscillator Y3 Foot is connected with the one end capacitor C28, the end GND respectively, and the capacitor C28 other end is connected with the one end resistance R33, the end OSC32_IN respectively, 3 feet of another termination crystal oscillator Y3 of resistance R33.
As another preferred embodiment, capacitor C27 of the present invention uses 10uF capacitor, and capacitor C26 uses 10pF capacitor, Resistance R33 uses 10R resistance.
As another preferred embodiment, the end BOOT0 of the present invention is connected with the one end resistance R7, the one end resistance R10 respectively, The resistance R7 other end is connected with 1 foot of connector P1, and 2 feet of connector P1 are connected with 1 foot of the end+3.3V, connector P2 respectively, 2 feet of connector P2 are connected respectively by resistance R8 with the end BOOT1, the one end resistance R11, the resistance R11 other end respectively with GND End, the resistance R10 other end are connected;
1,2,3,4 feet of connector P4 are correspondingly connected with the end+3.3V, the end TMS, the end TCK, the end GND respectively, connector P4's Capacitor C43 is connected between 1 foot and 4 feet;
The end+3.3V is connected with the end RESET, the one end capacitor C4, the one end switch SW10 respectively by resistance R14, and capacitor C4 is another One end is connected with the end GND, the switch SW10 other end respectively.
As another preferred embodiment, the Starting mode of P1 of the present invention and P2 setting single-chip microcontroller, if by the both ends P1 Short circuit is second following of Starting mode, if it is the third following Starting mode that P1 and P2, which are shorted, P1 and P2 are It is not shorted as the first following Starting mode;
1) BOOT1=x BOOT0=0 starts from user's flash memory, is normal operating mode;
2) BOOT1=0 BOOT0=1 starts from system storage, and the program function of this mode starting is set by producer It sets;
3) BOOT1=1 BOOT0=1 starts from built-in SRAM, and this mode is for debugging.
As another preferred embodiment, resistance R7, R8, R10, R11, R14 of the present invention use 10K resistance, capacitor C43, C4 use 0.1uF capacitor.
As another preferred embodiment, 3 feet of REG1117-3.3 chip U5 of the present invention respectively with the end+5V, the one end capacitor C8 It is connected, the capacitor C8 other end is connected with 1 foot of U5, the one end capacitor C6, capacitor C41 cathode, the end GND respectively, the capacitor C6 other end It is connected respectively with the end+3.3V, 2 feet of U5, capacitor C41 anode;
1,2,3 feet of connector P6 are correspondingly connected with the end PC11, PC10, GND respectively;
1,2,3,4,5 feet of connector P8 are correspondingly connected with the end GND, the end PA2, the end PA4, the end PA3, the end+3.3V respectively;
1,2,3,4 feet of connector P10 are correspondingly connected with the end+5V, the end PA10, the end PA9, the end GND respectively;
1,2,3 feet of connector P14 are correspondingly connected with the end PD2, the end PC12, the end GND respectively;
The end+3.3V respectively with the anode of capacitor C7, the one end capacitor C46, the one end capacitor C47, the one end capacitor C17, capacitor C18 One end, the one end capacitor C48, the one end capacitor C20, the one end capacitor C21, the one end capacitor C22, the one end capacitor C23, the one end capacitor C24, The one end capacitor C25 is connected, cathode, the capacitor C46 other end, the capacitor C47 other end, the capacitor C17 other end, capacitor of capacitor C7 The C18 other end, the capacitor C48 other end, the capacitor C20 other end, the capacitor C21 other end, the capacitor C22 other end, capacitor C23 are another End, the capacitor C24 other end, another end termination GND capacitor C25.
As another preferred embodiment, capacitor C8 of the present invention uses 470uF6.3V capacitor, and capacitor C6 uses 0.1uF Capacitor, capacitor C41 use 10V100uF capacitor;
Capacitor C7 uses 470uF6.3V capacitor, capacitor C46, capacitor C47, capacitor C17, capacitor C18, capacitor C48, capacitor C20, capacitor C21, capacitor C22, capacitor C23, capacitor C24, capacitor C25 use 0.1uF capacitor.
As another preferred embodiment, resistance R71, R73 of the present invention use 390R resistance, and resistance R72 uses 120R Resistance.
As another preferred embodiment, Internet of Things communication part of the present invention includes 1 foot of SIM800C chip U6, U6 The end SIM800_TXD is connect, 2 feet of U6 connect the end SIM800_RXD, and 6 feet of U6 connect the end PD0 by resistance R70, and 8 feet of U6 meet GND End, 13 feet of U6 connect the end GND, 15~18 feet of U6 respectively with the end SIM_DATA, the end SIM_CLK, the end SIM_RST, the end SIM_VDD It is correspondingly connected with;19,21 feet of U6 connect the end GND;24~27 feet of U6 respectively with the end USB_BUS, the end USB_DP, the end USB_DN, GND End is correspondingly connected with;28 feet of U6 connect the end GND by capacitor C19;30,31,33 feet of U6 connect the end GND, and 32 feet of U6 connect connector 2 feet of 1 foot of J3, connector J3 connect the end GND;
34 feet of U6 respectively with 35 feet of U6, the one end capacitor C16, the one end capacitor C15, the one end capacitor C13, capacitor C44 mono- End, the cathode of zener diode ZD1, the one end inductance L1 are connected, another end termination+4.2V inductance L1;37 feet of U6 respectively with U6 36 feet, the capacitor C16 other end, the capacitor C15 other end, the capacitor C13 other end, the capacitor C44 other end, zener diode ZD1 Anode, the end GND be connected;
39 feet of U6 are connected with the collector of the end KEY, NPN triode Q1 respectively, the base stage of Q1 respectively with resistance R22 mono- End, the one end resistance R17 are connected, another end termination PD3 resistance R17, the resistance R22 other end emitter phase with the end GND, Q1 respectively Even;
41 feet of U6 are connected by resistance R68 with the anode of light emitting diode E9, and the cathode of light emitting diode E9 meets GND End;42 feet of U6 are connected by resistance R69 with the end PD1.
As another preferred embodiment, resistance R70 of the present invention uses 1K resistance, and capacitor C19 uses 0.1uF capacitor, Capacitor C16, capacitor C15, capacitor C13, capacitor C44 be respectively adopted 0.01uF capacitor, 0.1uF capacitor, 400uF16V capacitor, 1000uF6V capacitor, zener diode ZD1 use 4.3V zener diode, and inductance L1 uses 100uH inductance, and Q1 uses S8050 Triode, resistance R17 use 470R resistance, and resistance R22 uses 47K resistance, and resistance R68 uses 1K resistance, and resistance R69 is used 10K resistance.
As another preferred embodiment, Internet of Things communication part of the present invention includes U7, SMF05C chip U16, patches 1,2,3, the 4 of part P24 and connector P9, connector P24 are corresponding with the end GND, the end USB_DN, the end USB_DP, the end USB_BUS respectively Connection;
1 foot of connector P9 is connected with the one end resistance R21, the end PC11 respectively, another termination SIM800_TXD of resistance R21 End, 2 feet of connector P9 are connected with the one end resistance R23, the end PC10 respectively, the resistance R23 other end respectively with the end SIM800_RXD, The one end resistance R24 is connected, and the resistance R24 other end is connected with 3 feet of the end GND, connector P9 respectively;
1 foot of U7 connects the end GND, and 2 feet of U7 are connected with 1 foot of the end SIM_VDD, the one end capacitor C55, U16 respectively, capacitor 2 feet with the end GND, U16,4 feet of U7 are connected with 4 feet of U16, the one end resistance R20 the C55 other end respectively respectively;
5 feet of U7 are connected with 5 feet of U16, the one end resistance R19 respectively;
6 feet of U7 are connected with 6 feet of U16, the one end resistance R18 respectively;
The resistance R20 other end is connected with the one end capacitor C49, the end SIM_RST respectively, another end termination GND capacitor C49;
The resistance R19 other end is connected with the one end capacitor C53, another end termination GND capacitor C53;
The resistance R18 other end is connected with the one end capacitor C54, the end SIM_CLK respectively, another end termination GND capacitor C54.
As another preferred embodiment, resistance R21, R23 of the present invention use 1K resistance, and resistance R24 is using 5.6K electricity Resistance, capacitor C55 use 0.1uF capacitor, and resistance R18, R19, R20 use 51R resistance, and capacitor C49, C53, C54 are using 22pF electricity Hold.
As another preferred embodiment, motor control part of the present invention includes relay part and photoelectric coupling portion Point, the control signal input mouth of relay part is connected with the control signal output mouth of photoelectric coupling part, photoelectric coupling Partial control signal input mouth is connected with the control signal output mouth of the part MCU, and the control signal of relay part is defeated Exit port is connected with the control signal input mouth of motor.
As another preferred embodiment, relay portion of the present invention point including relay K1 and relay K2, K1 by The control end input end A is connected with the normally closed end B of the controlled end of the one end capacitor C36, K2 respectively, and the capacitor C36 other end passes through resistance R35 points Be not connected with the one end horizontal direction first stroke switch WL, the WL other end respectively with the normally opened end the A phase of the controlled end at the end HX_M-, K2 Even;
The controlled end input end B of K1 is connected with the normally closed end A of the controlled end of the one end capacitor C30, K2, the one end resistance R43 respectively, The capacitor C30 other end is switched with the normally opened end B of the controlled end of K1, the end HX_M+, horizontal direction second stroke respectively by resistance R36 The one end EL is connected, and the EL other end is connected with the normally opened end B of the controlled end of K2, the one end resistance R55 respectively, and the resistance R55 other end passes through Capacitor C37 is connected with the controlled end of the end+24V, K2 the input end B respectively, the controlled end of K2 input the end A respectively with the end GND2, capacitor The one end C32 is connected, and the capacitor C32 other end is connected with the resistance R43 other end.
As another preferred embodiment, the position of a horizontal direction travel switch of the present invention is arranged in solar-electricity Pond plate 135 degree of position by east when against due south direction, the position of another horizontal direction travel switch are arranged in solar energy Solar panel 135 degree of position to the west when against due south.
As another preferred embodiment, capacitor C36, C30, C32, C37 of the present invention use 275V0.1uF capacitor.
As another preferred embodiment, relay portion of the present invention point including relay K3 and relay K4, K3 by The control end input end A is connected with the normally closed end B of the controlled end of the one end capacitor C38, K4, the one end resistance R60 respectively, the capacitor C38 other end Be connected respectively with the one end vertical direction first stroke switch SL by resistance R56, the SL other end respectively with the end YF_M+, K4 it is normal The end A is opened to be connected;
The controlled end input end B of K3 is connected with the normally closed end A of the controlled end of the one end capacitor C39, K4, the one end resistance R58 respectively, The capacitor C39 other end is switched with the normally opened end B of the controlled end of K3, the end YF_M-, vertical direction second stroke respectively by resistance R57 The one end JL be connected, the JL other end is connected with the normally opened end B of the controlled end of K4, the resistance R60 other end pass through capacitor C42 respectively with+24V End, the controlled end input end B of K4 are connected, and the controlled end input end A of K4 is connected with the end GND2, the one end capacitor C40 respectively, capacitor The C40 other end is connected with the resistance R58 other end.
As another preferred embodiment, two vertical direction travel switches detection solar panel of the present invention is faced upward Angle of depression degree extreme position, the travel switch of vertical direction are arranged in column in 5 degree of positions with 80 degree of angles, solar panel When reaching the upright limit with 5 degree of column angle, a vertical direction travel switch can be touched, is laid flat in solar panel arrival When the limit and column angle are 80 degree, another vertical direction travel switch can be touched, motor stops working at this time.
As another preferred embodiment, capacitor C38, C39, C40, C42 of the present invention use 275V0.1uF capacitor.
As another preferred embodiment, photoelectric coupling part of the present invention includes P521 chip U10 and U13, and the 1 of U10 Foot connects the end PA5 by resistance R37, and 2 feet of U10 connect the end GND, 4 feet of U10 respectively with diode D8 cathode, the end+24V, relay K1 control terminal one end is connected, and the K1 control terminal other end is connected with diode D8 anode, NPN triode Q7 collector respectively, Q7's Base stage is connected with the one end resistance R38, the one end resistance R39 respectively, 3 feet of another termination U10 of resistance R38, the resistance R39 other end point It is not connected with the emitter of the end GND2, Q7;
1 foot of U13 connects the end PA6 by resistance R40, and 2 feet of U13 connect the end GND, and 4 feet of U13 are negative with diode D5 respectively Pole, the end+24V, relay K2 control terminal one end be connected, the K2 control terminal other end respectively with diode D5 anode, NPN triode Q2 Collector is connected, and the base stage of Q2 is connected with the one end resistance R41, the one end resistance R42 respectively, 3 feet of another termination U13 of resistance R41, The resistance R42 other end is connected with the emitter of the end GND2, Q2 respectively.
As another preferred embodiment, R37, R40 of the present invention use 470R resistance, and D8, D5 use M7 diode, R38, R41 use 4.7K resistance, and Q7, Q2 use S8050 triode, and R39, R42 use 10K resistance.
As another preferred embodiment, photoelectric coupling part of the present invention includes P521 chip U14 and U15, and the 1 of U14 Foot connects the end PA7 by resistance R45, and 2 feet of U14 connect the end GND, 4 feet of U14 respectively with diode D6 cathode, the end+24V, relay K3 control terminal one end is connected, and the K3 control terminal other end is connected with diode D6 anode, NPN triode Q3 collector respectively, Q3's Base stage is connected with the one end resistance R46, the one end resistance R47 respectively, 3 feet of another termination U14 of resistance R46, the resistance R47 other end point It is not connected with the emitter of the end GND2, Q3;
1 foot of U15 connects the end PC4 by resistance R48, and 2 feet of U15 connect the end GND, and 4 feet of U15 are negative with diode D7 respectively Pole, the end+24V, relay K4 control terminal one end be connected, the K4 control terminal other end respectively with diode D7 anode, NPN triode Q4 Collector is connected, and the base stage of Q4 is connected with the one end resistance R49, the one end resistance R50 respectively, 3 feet of another termination U15 of resistance R49, The resistance R50 other end is connected with the emitter of the end GND2, Q4 respectively.
As another preferred embodiment, R45, R48 of the present invention use 470R resistance, and D6, D7 use M7 diode, R46, R49 use 4.7K resistance, and Q3, Q4 use S8050 triode, and R47, R50 use 10K resistance.
As another preferred embodiment, 1~6 foot of connector P16 of the present invention respectively with the end WL, the end HX_M+, the end HX_M+, The end HX_M-, the end HX_M-, the end EL are corresponding connected;1,2 feet of connector P17 are corresponding connected with the end YF_M+, the end YF_M- respectively, connect Plug-in unit P11, P23 are corresponding connected with the end SL, the end JL respectively.
As another preferred embodiment, the end the present invention+24V is connected with the one end capacitor C50, the one end C51, the one end C52 respectively, The capacitor C50 other end is connected with the end GND2, the C51 other end, the C52 other end respectively;
The end GND2 passes through the cathode of resistance R65 sending and receiving optical diode E8, and the anode of E8 connects the end+24V.
As another preferred embodiment, capacitor C50, C51 of the present invention use 470uF6.3V capacitor, and C52 is used 0.1uF capacitor, resistance R65 use 4.7K resistance.
As another preferred embodiment, MAX44009 chip of the present invention is arranged on optical sensor circuit plate, and light passes STM32F103RBT6 single-chip microcontroller U20 is provided on sensor circuit board, the MAX44009 chip U3's on optical sensor circuit plate SCL pin connects 25 feet of U20, and SDA foot connects 26 feet of U20, the SCL of the MAX44009 chip U4 on optical sensor circuit plate Pin connects 15 feet of U20, and SDA foot connects 14 feet of U20, and the SCL of the MAX44009 chip U1 on optical sensor circuit plate draws Foot connects 52 feet of U20, and SDA foot connects 51 feet of U20,37 feet of the SCL pin connection U20 of MAX44009 chip U2, SDA foot Connect 38 feet of U20.
As another preferred embodiment, the master of single-chip microcontroller U20 and master control borad above sensor circuit board of the present invention Single-chip microcontroller U1 passes through 485 module communications.
As another preferred embodiment, the present invention, which is arranged on the optical sensor circuit plate of four MAX44009 chips, to be provided with Four vertical risers, four vertical riser head and the tail connections form a square frames, outside in the middle part of each vertical riser lower end One MAX44009 chip is set.
As another preferred embodiment, cloche is set on the outside of optical sensor circuit plate of the present invention and vertical riser.
As another preferred embodiment, the invention also includes wireless module, the signal transmission port of wireless module and the portion MCU The signal transmission port divided is connected.
As another preferred embodiment, wireless module of the present invention is distinguished using 1~7 foot of LC1278 chip U3, U3 With the end PE13, the end PE14, the end PB11, the end PB10, the end PE15, the end+5V, the end GND are corresponding is connected, the end PB11, the end PB10 respectively with 2,1 foot of connector P5 is connected, and 3 feet of P5 connect the end GND;The end+5V is connected with capacitor C34 anode, the one end C35 respectively, capacitor C34 Cathode is connected with the C35 other end, the end GND respectively.
As another preferred embodiment, capacitor C34 of the present invention uses 470uF6.3V capacitor, and C35 is using 0.1uF electricity Hold.
As another preferred embodiment, the invention also includes memory portion, the signal transmission ports and MCU of reservoir portion Partial signal transmission port is connected.
As another preferred embodiment, memory portion of the present invention is connect using 1~4 foot of 24C02 chip U4, U4 The end GND, 5 feet of U4 are connected with the end PA0, the one end resistance R16 respectively, the resistance R16 other end respectively with the one end resistance R15 ,+3.3V End, the one end capacitor C5, U4 8 feet be connected, the capacitor C5 other end is connected with 7 feet of U4, the end GND respectively, 6 feet of U4 respectively with The end PA1, the resistance R15 other end are connected.
As another preferred embodiment, resistance R15, R16 of the present invention use 4.7K resistance, and capacitor C5 uses 0.1uF Capacitor.
As another preferred embodiment, the invention also includes indicating section, the control signal input mouth of indicating section with The control signal output mouth of the part MCU is connected.
As another preferred embodiment, indicating section of the present invention includes resistance R1, and resistance R1 mono- terminates the end PB15, electricity R1 other end sending and receiving optical diode E1 anode is hindered, E1 cathode connects the end GND;Resistance R3 mono- terminates the end PB14, another termination of resistance R3 Light emitting diode E2 anode, E2 cathode connect the end GND;Resistance R4 mono- terminates the end PB13, resistance R4 other end sending and receiving optical diode E3 Anode, E3 cathode connect the end GND;Resistance R6 mono- terminates the end PB12, resistance R6 other end sending and receiving optical diode E4 anode, and E4 cathode connects The end GND;Resistance R9 mono- terminates the end PE12, resistance R8 other end sending and receiving optical diode E5 anode, and E5 cathode connects the end GND;Resistance R12 The one termination end PE11, resistance R12 other end sending and receiving optical diode E6 anode, E6 cathode connect the end GND.
As another preferred embodiment, E1 of the present invention when the software program of single-chip microcontroller walks a circulation it is bright once; E2 is bright when rotating electric machine adjusts eastwards;E3 is bright when rotating electric machine westwards adjusts;E4 is bright when pitching motor and working downwards;E5 It can be bright when pitching motor and working up;E6 can be bright when Open Timer device feeds dog.
As another preferred embodiment, when MCU of the present invention is worked normally, a letter is exported at regular intervals Number to feed dog end, give WDT reset;If it exceeds the defined time does not feed dog, WDT timing is more than to provide a reset signal to arrive MCU allows MCU to reset, and prevents MCU from crashing.
As another preferred embodiment, resistance R1, R3, R4, R6, R9, R12 of the present invention use 1K resistance.
As another preferred embodiment, the invention also includes keyboard matrix part, the control signal of keyboard matrix part is defeated Exit port is connected with the control signal input mouth of the part MCU.
As another preferred embodiment, keyboard matrix part of the present invention includes resistance R2, mono- termination+3.3V of resistance R2 End, the resistance R2 other end connect the end PG12 by key switch SW1;
Mono- end termination+3.3V resistance R5, the resistance R5 other end connect the end PG9 by key switch SW2;
Mono- end termination+3.3V resistance R13, the resistance R13 other end connect the end PG11 by key switch SW11;
Mono- end termination+3.3V resistance R44, the resistance R44 other end connect the end PG13 by key switch SW4;
Mono- end termination+3.3V resistance R54, the resistance R54 other end connect the end PG15 by key switch SW5;
Mono- end termination+3.3V resistance R59, the resistance R59 other end connect the end PB9 by key switch SW12;
Mono- end termination+3.3V resistance R61, the resistance R61 other end connect the end PG14 by key switch SW7;
Mono- end termination+3.3V resistance R66, the resistance R66 other end connect the end PG10 by key switch SW8;
Mono- end termination+3.3V resistance R67, the resistance R67 other end connect the end PB4 by key switch SW13.
As another preferred embodiment, resistance R2, R5, R13, R44, R54, R59, R61, R66, R67 of the present invention are adopted With 1K resistance.
As another preferred embodiment, resistance R25, R29 of the present invention use 1K resistance, and resistance R28, R32 use 2K Resistance.
As another preferred embodiment, the invention also includes buzzer warning part, the control of buzzer warning part is believed Number input port is connected with the control signal output mouth of the part MCU.
As another preferred embodiment, buzzer warning part of the present invention includes triode Q6, and the collector of Q6 connects The cathode of buzzer B1, the anode of B1 connect the end+5V, and the emitter of Q6 is connected with the end GND, the one end resistance R64 respectively, resistance R64 The other end is connected with the base stage of Q6, the one end resistance R63 respectively, another end termination PE6 resistance R63.
As another preferred embodiment, Q6 of the present invention uses S8050 triode, and R64 uses 47K resistance, and R63 is used 470R resistance.
As another preferred embodiment, the invention also includes display portion, the display signal input port of display portion with The display signal output port of the part MCU is connected.
As another preferred embodiment, display portion of the present invention is divided using 1,2 feet of FY1602A chip DP1, DP1 Corresponding not connected with the end GND, the end+3.3V, 3 feet of DP1 are connected with the one end resistance R51, resistance R34 one end respectively, and resistance R51 is another One end termination+3.3V, another end termination GND of resistance R34;
4~15 feet of DP1 respectively with the end PC9, the end PC8, the end PC7, the end PD8, the end PD9, the end PD10, the end PD11, the end PD12, The end PD13, the end PD14, the end PD15, the end+3.3V are corresponding connected;
16 feet of DP1 connect NPN triode Q5 collector, and Q5 base stage is connected with the one end resistance R52, the one end resistance R53 respectively, Another end termination PC6 resistance R52, the resistance R53 other end are connected with the emitter of the end GND, Q5 respectively;
The end+3.3V connects the end GND by capacitor C33.
As another preferred embodiment, resistance R51 of the present invention uses 10K resistance, and resistance R34 uses 1.5K resistance, Resistance R52 uses 470R resistance, and resistance R53 uses 47K resistance, and capacitor C33 uses 0.1uF capacitor.
As another preferred embodiment, the present invention includes solar panel, and middle part is provided on rear side of solar panel Rack beam, rack beam lower end middle part are connected with the upper end of the column, the output shaft phase of column lower end and vertical rotating electric machine upper end Even, there is the after-poppet extended to rear side in the middle part of rack beam, after-poppet rear end is provided with electric pushrod inclined forward and upward and faces upward It bows motor, telescopic upper end bar connects with upper axis behind solar panel before electric pushrod pitches motor.
As another preferred embodiment, rotating electric machine of the present invention is using revolution decelerating motor.
As another preferred embodiment, column lower end of the present invention is provided with plectrum 9, and plectrum 9 and setting are in electric rotating Horizontal direction travel switch on machine body outer wall matches, and limits the rotational angle of solar panel.
As another preferred embodiment, between column lower end and rack beam of the present invention both ends, column lower end with after Reinforcing rib is provided between back-end support, between after-poppet rear end and rack beam both ends.
As another preferred embodiment, rack beam of the present invention passes through otic placode and solar battery plate face support frame phase Even.
As another preferred embodiment, motor of the present invention setting in triangular prism upper end, the adjoining leg of triangular prism it Between be provided with the reinforcing rib of inclined zigzag arrangement.
As another preferred embodiment, key switch SW4 long-pressing of the present invention changes jobs mode, and key SW1 long-pressing is cut Reset mode is changed, key SW2 cooperates key SW1, SW4 that the time is arranged, and key SW12 control rotating electric machine rotates clockwise, key SW13 control rotating electric machine rotates counterclockwise, and key SW5 controls rotating electric machine stalling, and key SW11 control pitches motor flexible bar It retracts, key SW13 control pitches telescopic rod and stretches out, and key SW7 control pitches motor and stops, and key SW10 control system is restarted.
As another preferred embodiment, key of the present invention uses four foot touch keys.
As another preferred embodiment, single-chip microcontroller of the present invention obtains the value of illuminance, monolithic by light light sensor portion Machine reads out east limit angle from FLASH, and degree default value is 360, if the collected value of optical sensor is not 360, into Row solar tracking program;
If collected value is 360, the sun is directed at according to 485 received optical sensor datas;
If the collected data of optical sensor located above are higher than the optical sensor being located below, single-chip microcontroller control is faced upward Motor of bowing is shunk, and is laid flat solar panel;If optical sensor located above collected data are than being located below Optical sensor is low, and single-chip microcontroller control pitches motor flexible, erects solar panel;
If the collected data of optical sensor by east side are higher than the optical sensor by west side, single-chip microcontroller controls electric rotating Machine rotates solar panel eastwards.
As another preferred embodiment, after the present invention is aligned the sun 20 times, MCU driving rotating electric machine turns eastwards, turns Course Timer records Hall pulse, touches limit switch, and rotating electric machine stops rotating, at this time the Hall pulsimeter by obtaining Current angular is calculated, the data solar tracking acquired later according to optical sensor;
As another preferred embodiment, MCU driving rotating electric machine of the present invention westwards turns, if what optical sensor was replied Data show that the angle of pitch angle is different, and single-chip microcontroller control pitches motor extension bar and stretches out or retract.
As another preferred embodiment, daily 3 points of morning of solar panel of the present invention return to eastern limit.
Secondly, rotating electric machine of the present invention uses 81 pulse corresponding angles for once.
Want to stop pitching motor work, after pressing SW7 key, PG14 in the way for pitching motor in addition, the present invention adjusts Pin input signal is to single-chip microcontroller, and K3, K4 relay disconnect entirely at this time, and motor stops working;After SW12 is pressed, PB9 pin Input signal is to single-chip microcontroller, and single-chip microcontroller PA5 pin will export order, and rotating electric machine westwards turns at this time;After SW13 is pressed, PB4 pin input signal is to single-chip microcontroller, and single-chip microcontroller PA6 pin will export order, and rotating electric machine turns eastwards at this time;If adjustment Motor work of wanting to stop rotating in the way of motor is pitched, after pressing SW5 key, PG15 pin input signal to single-chip microcontroller, this When K1, K2 relay disconnect entirely, motor stops working.
Beneficial effect of the present invention.
The present invention can be such that solar panel follows and shine upon direction, make solar energy by the mutual cooperation of each section It is fully utilized.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawings and detailed description.The scope of the present invention not only limits to In the statement of the following contents.
Fig. 1,2,3 are MCU partial circuit schematic diagrams of the present invention.
Fig. 4 is wireless module of the present invention and memory portion circuit diagram.
Fig. 5 is keyboard matrix partial circuit schematic diagram of the present invention.
Fig. 6 is pulse capture partial circuit schematic diagram of the present invention.
Fig. 7 is Internet of Things communication part circuit diagram of the present invention.
Fig. 8 is that the invention shows partial circuit schematic diagrams.
Fig. 9 is power unit circuit diagram of the present invention.
Figure 10 is buzzer warning partial circuit schematic diagram of the present invention.
Figure 11 is RS485 communication part circuit diagram of the present invention.
Figure 12,13,14 are motor control part circuit diagrams of the present invention.
Figure 15 is schematic structural view of the invention.
Figure 16 is rearview of the present invention.
Figure 17 is rack beam of the present invention, column relevant portion structural schematic diagram.
Figure 18 is triangular prism top view of the present invention.
Figure 19 is optical sensor setting structure figure of the present invention.
Figure 20 is light sensor portion circuit diagram of the present invention.
Figure 21 is 485 module circuit schematics on optical sensor circuit plate of the present invention.
In figure, 1 be triangular prism, 2 be reinforcing rib, 3 be rotating electric machine, 4 be reinforcing rib, 5 be pitch motor, 6 be after-poppet, 7 be rack beam, 8 be solar panel, 9 be plectrum, 10 be column, 11 be otic placode, 12 be MAX44009 chip, 13 be electricity Road plate, 14 are vertical riser.
Specific embodiment
As shown, the present invention includes power unit, the part MCU, RS485 communication part, motor control part, light sensing The signal transmission port of device part and pulse capture part, the part MCU is connected with the signal transmission port of RS485 communication part, The control signal output mouth of the part MCU is connected with the control signal input mouth of motor control part, the detection letter of the part MCU Number input port survey signal output port phase with the detection signal output port of light sensor portion, pulse capture part respectively Even, the power output port of power unit is inputted with the electric energy of the power input of the part MCU, RS485 communication part respectively Port, the power input of motor control part, the power input of light sensor portion and pulse capture part electricity Energy input port is connected.
It further include Internet of Things communication part, the signal transmission port of Internet of Things communication part and the signal of the part MCU transmit Port is connected.
The power unit include IRM-15-12 chip U12 and LM2576-5.0 chip U2, U2 1 foot respectively with+12V End, capacitor C1 anode be connected, capacitor C1 cathode respectively with the end GND, 3 feet of U2,5 feet of U2, the anode of diode D2, capacitor C2 Cathode, capacitor C3 cathode be connected, the cathode of diode D2 is connected with 2 feet of U2, the one end inductance L3 respectively, and inductance L3 is another End is connected with the anode of the anode of capacitor C2,4 feet of U2, the end+5V, capacitor C3 respectively;
The end+12V is connected with the end DC_IN1;The end+12V passes through the anode of resistance R62 sending and receiving optical diode E7, light emitting diode The cathode of E7 connects the end GND;
(bright latitude Switching Power Supply 220V input 24V output can be used, 24V voltage is supplied to flexion-extension motor and rotating electric machine in+24V Electricity) the termination end P18, the GND2 termination end P19;
The 1 foot fuse F1 of U12 connects the end P20, and 2 feet of U12 connect the end P21,3 feet of U12 respectively with the cathode of capacitor C29, The one end capacitor C31, the end GND are connected, and the anode of capacitor C29 is connected with 4 feet of U12, the capacitor C31 other end, the end+12V respectively.
P20 and P21 is pad, is used to 220V and inputs, and is converted to 12V output by bright latitude power module.
The capacitor C1 uses 470uF16V capacitor, and diode D2 uses SS34 diode, and capacitor C2 uses 470uF6.3V Capacitor, capacitor C3 use 0.1uF capacitor;
Resistance R62 uses 4.7K resistance, and fuse F1 uses 5A16V fuse, and capacitor C29 uses 470uF16V capacitor, Capacitor C31 uses 0.1uF capacitor.C29 electrolytic capacitor, polarized do not work to alternating current, to rough direct current electrofiltration Wave is allowed to smooth-out.Make the pulsating waveform of output more steady using the charge-discharge characteristic of capacitor.C31 is in high frequency condition Lower capacitive reactance is smaller, and high-frequency interferencing signal can be grounded by small capacitances and (be equivalent to a low-pass filter), can subtract in this way Few influence of the High-frequency Interference to electrical appliance below.C1 can prevent the transient voltage for occurring big in input terminal.L1 is energy storage inductor, with Capacitor is together on output filter circuit, smooth electric current.C2 can prevent big transient voltage.
The part MCU uses 34~43 feet of STM32F103ZET6 chip U1, U1 are corresponding with the end PA0~PA7 respectively to connect It connects, 100~110 feet of U1 are correspondingly connected with the end PA8~PA12, the end TMS, the end TCK, the end PA15 respectively, 46~48 feet point of U1 It is not correspondingly connected with the end PB0, the end PB1, the end BOOT1,133~140 feet of U1 are correspondingly connected with the end PB3~PB9 respectively, U1's 69,70 feet are correspondingly connected with the end PB10, PB11 respectively, and 73~76 feet of U1 are correspondingly connected with the end PB12~PB15 respectively, U1's 26~29 feet are correspondingly connected with the end PC0~PC3 respectively, and 44,45 feet of U1 are correspondingly connected with the end PC4, PC5 respectively, U1 96~ 99 feet are correspondingly connected with the end PC6~PC9 respectively, and 111~113 feet of U1 are correspondingly connected with the end PC10~PC12 respectively, 7 feet of U1 Connect the end PC13;
8 feet of U1 are connected with the end OSC32_IN, the one end crystal oscillator Y1, the one end capacitor C9 respectively, the capacitor C9 other end respectively with The end GND, the one end capacitor C10 are connected, and the capacitor C10 other end is connected with 9 feet of the crystal oscillator Y1 other end, U1 respectively;
114~119 ends of U1 are correspondingly connected with the end PD0~PD5 respectively, 122,123 feet of U1 respectively with the end pair PD6, PD7 It should connect, 77~86 feet of U1 are correspondingly connected with the end PD8~PD15 respectively, and 138 feet of U1 connect the end BOOT0;
16,38,51,61,71,83,94,107,120,130,143 feet of U1 connect the end GND, U1 17,52,39,62,72, 84,95,108,121,131,144 feet connect the end+3.3V;
30 feet of U1 are connected with the end GND, the one end capacitor C14 respectively, the capacitor C14 other end respectively with the end+3.3V, U1 33 Foot, 32 feet of U1 are connected, and 31 feet of U1 connect the end GND;
25 feet of U1 connect the end RESET;
24 feet of U1 are connected with the one end capacitor C45, the one end crystal oscillator Y2 respectively, the capacitor C45 other end respectively with the end GND, electricity Hold the one end C12 to be connected, the capacitor C12 other end is connected with 23 feet of the crystal oscillator Y2 other end, U1 respectively;
6 feet of U1 are connected with the one end capacitor C11, diode D4 cathode, diode D3 cathode respectively, the capacitor C11 other end The end GND is connect, diode D4 anode connects the end P3, and (end P3 is connected with battery holder, if the electricity went off for circuit board, battery can continue to list The power supply of piece machine clock, prevents timing error), diode D3 anode connects the end+3.3V;
132 feet of U1 connect the end PG15, and 124~129 feet of U1 are correspondingly connected with the end PG9~PG14 respectively, and the 87~93 of U1 Foot is correspondingly connected with the end PG2~PG8 respectively, and 56,57 feet of U1 are correspondingly connected with the end PG0, PG1 respectively;
53~55 feet of U1 are correspondingly connected with the end PF13~PF15 respectively, 49,50 feet of U1 respectively with the end pair PF11, PF12 It should connect, 18~22 feet of U1 are correspondingly connected with the end PF6~PF10 respectively, and 10~15 feet of U1 are corresponding with the end PF0~PF5 respectively Connection;
63~68 feet of U1 are correspondingly connected with the end PF10~PF15 respectively, 58~60 feet of U1 respectively with the end pair PF7~PF9 It should connect, 1~5 foot of U1 is corresponding with the end PE2~PE6 respectively to be connected, and 141,142 feet of U1 are corresponding with the end PE0, PE1 respectively to be connected It connects.
The crystal oscillator Y1 uses 32.768KHz crystal oscillator, and capacitor C9 and C10 use 10pF capacitor, and capacitor C14 is using 1uF electricity Hold, crystal oscillator Y2 use 8MHz crystal oscillator, capacitor C45 and C12 use 20pF capacitor, capacitor C11 use 0.1uF capacitor, diode D3, D4 uses 1N4148 diode.Capacitor C9 and C10 can guarantee that the oscillation frequency of crystal oscillator output is more stable.
The end+3.3V (can be used with the one end capacitor C27, the one end capacitor C26, crystal oscillator Y3 respectively by inductance L2 CRYSTAL OSCILLATOR32.768K crystal oscillator) 4 feet be connected, the capacitor C27 other end respectively with the capacitor C26 other end, GND End is connected;2 feet of crystal oscillator Y3 are connected with the one end capacitor C28, the end GND respectively, the capacitor C28 other end respectively with the one end resistance R33, The end OSC32_IN is connected, 3 feet of another termination crystal oscillator Y3 of resistance R33.
The capacitor C27 uses 10uF capacitor, and capacitor C26 uses 10pF capacitor, and resistance R33 uses 10R resistance.
The end BOOT0 is connected with the one end resistance R7, the one end resistance R10 respectively, and the 1 of the resistance R7 other end and connector P1 Foot is connected, and 2 feet of connector P1 are connected with 1 foot of the end+3.3V, connector P2 respectively, and 2 feet of connector P2 pass through resistance R8 points It is not connected with the end BOOT1, the one end resistance R11, the resistance R11 other end is connected with the end GND, the resistance R10 other end respectively;
The Starting mode of P1 and the settable single-chip microcontroller of P2, if being second following of Starting mode by P1 shorted on both ends, If it is the third following Starting mode that P1 and P2, which are shorted, P1 and P2 are not shorted as the first following starting side Formula.
1, BOOT1=x BOOT0=0 starts from user's flash memory, is normal operating mode.
2, BOOT1=0 BOOT0=1 starts from system storage, and the program function of this mode starting is set by producer It sets.
3, BOOT1=1 BOOT0=1 starts from built-in SRAM, and this mode is for debugging.
1,2,3,4 feet of connector P4 (debugging interface) are correspondingly connected with the end+3.3V, the end TMS, the end TCK, the end GND respectively, Capacitor C43 is connected between 1 foot and 4 feet of connector P4;
The end+3.3V is connected with the end RESET, the one end capacitor C4, the one end switch SW10 respectively by resistance R14, and capacitor C4 is another One end is connected with the end GND, the switch SW10 other end respectively.
When RESET pin, which is pulled low, generates external reset, reset pulse is generated, to make system reset.
Described resistance R7, R8, R10, R11, R14 use 10K resistance, and capacitor C43, C4 use 0.1uF capacitor.
3 feet of REG1117-3.3 chip U5 are connected with the end+5V, the one end capacitor C8 respectively, the capacitor C8 other end respectively with U5 1 foot, the one end capacitor C6, capacitor C41 cathode, the end GND be connected, the capacitor C6 other end 2 feet, the capacitor with the end+3.3V, U5 respectively C41 anode is connected;
1,2,3 feet of connector P6 (setting P6 facilitates debugging) are correspondingly connected with the end PC11, PC10, GND respectively;
(end GND, the end PA2, the end PA4, the end PA3, the end+3.3V are connected by P8 with RS485 module connector P8, and P8 is Draw row needle, facilitate debugging) 1,2,3,4,5 feet be correspondingly connected with respectively with the end GND, the end PA2, the end PA4, the end PA3, the end+3.3V;
1,2,3,4 feet of connector P10 are correspondingly connected with the end+5V, the end PA10, the end PA9, the end GND respectively;
1,2,3 feet of connector P14 (setting P14, facilitate debugging) are correspondingly connected with the end PD2, the end PC12, the end GND respectively;
The end+3.3V respectively with the anode of capacitor C7, the one end capacitor C46, the one end capacitor C47, the one end capacitor C17, capacitor C18 One end, the one end capacitor C48, the one end capacitor C20, the one end capacitor C21, the one end capacitor C22, the one end capacitor C23, the one end capacitor C24, The one end capacitor C25 is connected, cathode, the capacitor C46 other end, the capacitor C47 other end, the capacitor C17 other end, capacitor of capacitor C7 The C18 other end, the capacitor C48 other end, the capacitor C20 other end, the capacitor C21 other end, the capacitor C22 other end, capacitor C23 are another End, the capacitor C24 other end, another end termination GND capacitor C25.The power supply of+3.3V accesses from here, and wherein capacitor plays filtering Effect.
5V is converted into 3.3V by AMS1117 chip, MUC chip, LCD screen, 485 modules etc. are all powered by 3.3V.
C8 can prevent the transient voltage for occurring big in input terminal.
C6 can prevent the transient voltage for occurring big in output end, and C41 is used to export filtering and improve the stability of loop.
The capacitor C8 uses 470uF6.3V capacitor, and capacitor C6 uses 0.1uF capacitor, and capacitor C41 is using 10V100uF electricity Hold;
Capacitor C7 uses 470uF6.3V capacitor, capacitor C46, capacitor C47, capacitor C17, capacitor C18, capacitor C48, capacitor C20, capacitor C21, capacitor C22, capacitor C23, capacitor C24, capacitor C25 use 0.1uF capacitor.
The RS485 communication part connects the end PA3 using 1 foot of SP3485 chip U8, U8,2 feet of U8 respectively with the end PA4, 3 feet of U8 are connected, and 4 feet of U8 connect the end PA2, and 5 feet of U8 connect the end GND, 6 feet of U8 respectively with the one end resistance R73, resistance R72 mono- End, zener diode D1 anode be connected, another end termination+3.3V resistance R73, zener diode D1 cathode respectively with resistance R72 The other end, the one end resistance R71,7 feet of U8 are connected, and another end termination GND resistance R71,8 feet of U8 connect the end+3.3V.
Using 485 communications, single-chip microcontroller issues querying command, after sensor receives querying command, meeting for master control borad and sensor The collected light intensity data of sensor is returned into single-chip microcontroller.
In RS485 circuit, 2 feet meet the GPIO of single-chip microcontroller, and when RE/DE is low level, transmission is forbidden, and receive effectively, When RE/DE is high level, then sends effectively, receive cut-off.1 foot and 4 feet connect the serial communication pin of single-chip microcontroller.Pull-up resistor R73 and pull down resistor R71, the SP3485 chip for guaranteeing connectionless are in idle condition, and are provided network failure protection, are improved The reliability of RS485 node and network.Since communications carrier is twisted pair in application, its characteristic impedance is 120 Ω or so, institute When designing with route, the build-out resistor (R72 in such as figure) of 1 120 Ω should be respectively connect at the beginning of RS-485 transmission line and end, with Reduce the reflection that signal is transmitted on route.
Described resistance R71, R73 use 390R resistance, and resistance R72 uses 120R resistance.
The Internet of Things communication part includes that 1 foot of SIM800C chip U6, U6 connect the end SIM800_TXD, and 2 feet of U6 connect The end SIM800_RXD, 6 feet of U6 connect the end PD0 by resistance R70, and 8 feet of U6 connect the end GND, and 13 feet of U6 connect the end GND, and the 15 of U6 ~18 feet are correspondingly connected with the end SIM_DATA, the end SIM_CLK, the end SIM_RST, the end SIM_VDD respectively;19,21 feet of U6 meet GND End;24~27 feet of U6 are correspondingly connected with the end USB_BUS, the end USB_DP, the end USB_DN, the end GND respectively;28 feet of U6 pass through electricity Hold C19 and connects the end GND;30,31,33 feet of U6 connect the end GND, and 32 feet of U6 meet 1 foot of connector J3 (antenna terminal), connector J3 2 feet connect the end GND;
34 feet of U6 respectively with 35 feet of U6, the one end capacitor C16, the one end capacitor C15, the one end capacitor C13, capacitor C44 mono- End, the cathode of zener diode ZD1, the one end inductance L1 are connected, another end termination+4.2V inductance L1;37 feet of U6 respectively with U6 36 feet, the capacitor C16 other end, the capacitor C15 other end, the capacitor C13 other end, the capacitor C44 other end, zener diode ZD1 Anode, the end GND be connected;
39 feet of U6 are connected with the collector of the end KEY, NPN triode Q1 respectively, the base stage of Q1 respectively with resistance R22 mono- End, the one end resistance R17 are connected, another end termination PD3 resistance R17, the resistance R22 other end emitter phase with the end GND, Q1 respectively Even;
41 feet of U6 are connected by resistance R68 with the anode of light emitting diode E9, and the cathode of light emitting diode E9 meets GND End;42 feet of U6 are connected by resistance R69 with the end PD1.
The resistance R70 uses 1K resistance, and capacitor C19 uses 0.1uF capacitor, capacitor C16, capacitor C15, capacitor C13, electricity Hold C44 and 0.01uF capacitor, 0.1uF capacitor, 400uF16V capacitor, 1000uF6V capacitor is respectively adopted, zener diode ZD1 is used 4.3V zener diode, inductance L1 use 100uH inductance, and Q1 uses S8050 triode, and resistance R17 uses 470R resistance, resistance R22 uses 47K resistance, and resistance R68 uses 1K resistance, and resistance R69 uses 10K resistance.
SIM card connection network can be inserted in SIM800C chip, connects server with this, uploads data.
The voltage input 4.2V of module VBAT, when module is with maximum power transmission, current peak moment can reach 2A, Lead to have biggish Voltage Drop on VBAT, is using capacitor C15 pressure stabilizing close to VBAT, then go with ceramic condenser C19 cooperation Except High-frequency Interference.Zener diode ZD1 and inductance L1 prevent damage of the surge to chip.
Whether PWRKEY pin control SIM800C chip works, and the PD3 pin of single-chip microcontroller amplifies signal by triode Afterwards, it is connected to PWRKEY, if booting is determined by the low and high level that PD3 is exported.
Then user is discharged by dragging down PWRKEY pin at least 1.2 seconds, module is made to be switched on.
User can be used to shut down for 1.5 seconds by dragging down PWRKEY signal, and dragging down the time is more than that 33 seconds modules are opened again Machine.
The Internet of Things communication part include U7 (U7 is the card slot of SIM card, be used to plug sim card), SMF05C chip U16, 1,2,3, the 4 of connector P24 and connector P9, connector P24 (P24 can be used for giving SIM800C chip upgrade) respectively with GND End, the end USB_DN, the end USB_DP, the end USB_BUS are correspondingly connected with;
1 foot of connector P9 is connected with the one end resistance R21, the end PC11 respectively, another termination SIM800_TXD of resistance R21 End, 2 feet of connector P9 are connected with the one end resistance R23, the end PC10 respectively, the resistance R23 other end respectively with the end SIM800_RXD, The one end resistance R24 is connected, and the resistance R24 other end is connected with 3 feet of the end GND, connector P9 respectively;
1 foot of U7 connects the end GND, and 2 feet of U7 are connected with 1 foot of the end SIM_VDD, the one end capacitor C55, U16 respectively, capacitor 2 feet with the end GND, U16,4 feet of U7 are connected with 4 feet of U16, the one end resistance R20 the C55 other end respectively respectively;
5 feet of U7 are connected with 5 feet of U16, the one end resistance R19 respectively;
6 feet of U7 are connected with 6 feet of U16, the one end resistance R18 respectively;
The resistance R20 other end is connected with the one end capacitor C49, the end SIM_RST respectively, another end termination GND capacitor C49;
The resistance R19 other end is connected with the one end capacitor C53, another end termination GND capacitor C53;
The resistance R18 other end is connected with the one end capacitor C54, the end SIM_CLK respectively, another end termination GND capacitor C54.
Described resistance R21, R23 use 1K resistance, and resistance R24 uses 5.6K resistance, and capacitor C55 uses 0.1uF capacitor, electricity It hinders R18, R19, R20 and uses 51R resistance, capacitor C49, C53, C54 use 22pF capacitor.
The motor control part includes relay part and photoelectric coupling part, the control signal input of relay part Port is connected with the control signal output mouth of photoelectric coupling part, the control signal input mouth and MCU of photoelectric coupling part Partial control signal output mouth is connected, the control signal output mouth of relay part and the control signal input of motor Mouth is connected.
The controlled end input end A of the relay portion point including relay K1 and relay K2, K1 respectively with capacitor C36 mono- End, the normally closed end B of controlled end of K2 are connected, and the capacitor C36 other end is switched with horizontal direction first stroke respectively by resistance R35 (two horizontal direction travel switches detect the transmeridional extreme position of solar panel) one end WL is connected, WL other end difference It is connected with the normally opened end A of the controlled end at the end HX_M-, K2;
The controlled end input end B of K1 is connected with the normally closed end A of the controlled end of the one end capacitor C30, K2, the one end resistance R43 respectively, The capacitor C30 other end is switched with the normally opened end B of the controlled end of K1, the end HX_M+, horizontal direction second stroke respectively by resistance R36 The one end EL is connected, and the EL other end is connected with the normally opened end B of the controlled end of K2, the one end resistance R55 respectively, and the resistance R55 other end passes through Capacitor C37 is connected with the controlled end of the end+24V, K2 the input end B respectively, the controlled end of K2 input the end A respectively with the end GND2, capacitor The one end C32 is connected, and the capacitor C32 other end is connected with the resistance R43 other end.
The position of east side travel switch (a horizontal direction travel switch) may be provided at solar panel against just South to when 135 degree of position by east, the position of west side travel switch (another horizontal direction travel switch) may be provided at too Positive energy solar panel 135 degree of position to the west when against due south.
Described capacitor C36, C30, C32, C37 use 275V0.1uF capacitor.
The controlled end input end A of the relay portion point including relay K3 and relay K4, K3 respectively with capacitor C38 mono- End, the normally closed end B of controlled end of K4, the one end resistance R60 are connected, the capacitor C38 other end by resistance R56 respectively with vertical direction the One stroke switch (the elevation-depression angle extreme position of the travel switch detection solar panel of two vertical direction, vertical direction Travel switch with 5 degree of column and 80 degree of position, solar panel it is completely erected with 5 degree of column angle when, can touch Travel switch prevents from encountering pillar and suppresses bad motor, can touch another travel switch when being 80 degree with column angle, electric at this time Machine stops working, and plays a protective role) one end SL be connected, the SL other end is connected with the normally opened end A of the end YF_M+, K4 respectively;
The controlled end input end B of K3 is connected with the normally closed end A of the controlled end of the one end capacitor C39, K4, the one end resistance R58 respectively, The capacitor C39 other end is switched with the normally opened end B of the controlled end of K3, the end YF_M-, vertical direction second stroke respectively by resistance R57 The one end JL be connected, the JL other end is connected with the normally opened end B of the controlled end of K4, the resistance R60 other end pass through capacitor C42 respectively with+24V End, the controlled end input end B of K4 are connected, and the controlled end input end A of K4 is connected with the end GND2, the one end capacitor C40 respectively, capacitor The C40 other end is connected with the resistance R58 other end.
Described capacitor C38, C39, C40, C42 use 275V0.1uF capacitor.
The photoelectric coupling part includes P521 chip U10 and U13, and 1 foot of U10 connects the end PA5 by resistance R37, U10's 2 feet connect the end GND, and 4 feet of U10 are connected with diode D8 cathode, the end+24V, relay K1 control terminal one end respectively, K1 control terminal The other end is connected with diode D8 anode, NPN triode Q7 collector respectively, the base stage of Q7 respectively with the one end resistance R38, resistance The one end R39 is connected, and 3 feet of another termination U10 of resistance R38, the resistance R39 other end is connected with the emitter of the end GND2, Q7 respectively;
1 foot of U13 connects the end PA6 by resistance R40, and 2 feet of U13 connect the end GND, and 4 feet of U13 are negative with diode D5 respectively Pole, the end+24V, relay K2 control terminal one end be connected, the K2 control terminal other end respectively with diode D5 anode, NPN triode Q2 Collector is connected, and the base stage of Q2 is connected with the one end resistance R41, the one end resistance R42 respectively, 3 feet of another termination U13 of resistance R41, The resistance R42 other end is connected with the emitter of the end GND2, Q2 respectively.
Described R37, R40 use 470R resistance, and D8, D5 use M7 diode, and R38, R41 use 4.7K resistance, and Q7, Q2 are adopted With S8050 triode, R39, R42 use 10K resistance.
The photoelectric coupling part includes P521 chip U14 and U15, and 1 foot of U14 connects the end PA7 by resistance R45, U14's 2 feet connect the end GND, and 4 feet of U14 are connected with diode D6 cathode, the end+24V, relay K3 control terminal one end respectively, K3 control terminal The other end is connected with diode D6 anode, NPN triode Q3 collector respectively, the base stage of Q3 respectively with the one end resistance R46, resistance The one end R47 is connected, and 3 feet of another termination U14 of resistance R46, the resistance R47 other end is connected with the emitter of the end GND2, Q3 respectively;
1 foot of U15 connects the end PC4 by resistance R48, and 2 feet of U15 connect the end GND, and 4 feet of U15 are negative with diode D7 respectively Pole, the end+24V, relay K4 control terminal one end be connected, the K4 control terminal other end respectively with diode D7 anode, NPN triode Q4 Collector is connected, and the base stage of Q4 is connected with the one end resistance R49, the one end resistance R50 respectively, 3 feet of another termination U15 of resistance R49, The resistance R50 other end is connected with the emitter of the end GND2, Q4 respectively.
Described R45, R48 use 470R resistance, and D6, D7 use M7 diode, and R46, R49 use 4.7K resistance, and Q3, Q4 are adopted With S8050 triode, R47, R50 use 10K resistance.
1~6 foot of connector P16 is corresponding with the end WL, the end HX_M+, the end HX_M+, the end HX_M-, the end HX_M-, the end EL respectively It is connected;1,2 feet of connector P17 are corresponding with the end YF_M+, the end YF_M- respectively to be connected, connector P11, P23 respectively with the end SL, JL End is corresponding to be connected.
The end+24V is connected with the one end capacitor C50, the one end C51, the one end C52 respectively, the capacitor C50 other end respectively with GND2 End, the C51 other end, the C52 other end are connected;
The end GND2 passes through the cathode of resistance R65 sending and receiving optical diode E8, and the anode of E8 connects the end+24V.
Described capacitor C50, C51 use 470uF6.3V capacitor, and C52 uses 0.1uF capacitor, and resistance R65 is using 4.7K electricity Resistance.
As shown in figure 13, two interlocking modes of relay realize flexion-extension motor commutation.Relay interlocking refers to that A is switched When being attracted work first, the control loop of B switch can be cut off, be attracted B switch cannot normally, and B switch on the contrary work first When making, while the control loop of A switch is cut off, is attracted its cisco unity malfunction.
The control route of relay K3 passes through the normally closed interlock of relay K4.The control route of relay K4 passes through relay The normally closed interlock of K3.The normally-closed contact of two relays is serially connected in mutually in the coil circuit of other side, guarantees the same time only There can be a relay job.
Similarly, two interlocking modes of relay realize course angle motor commutation.Wherein WL and EL is the row of horizontal direction Cheng Kaiguan.
The light sensor portion using MAX44009 chip (optical sensor on the shelf of fixed solar panel, It is rotated synchronously with solar panel.Optical sensor is directed at the sun, and solar panel is also just targeted by), MAX44009 core 1 foot of piece connects the end 3.3V, 2, the 3 feet ground connection of MAX44009 chip, 4 feet of MAX44009 chip respectively with the end INT, the first 4.7K Resistance one end is connected, another end termination 3.3V of the first 4.7K resistance;5 feet of MAX44009 chip respectively with the end SCL, the 2nd 4.7K Resistance one end is connected, and the 2nd 4.7K resistance other end is connected with the end 3.3V, the 3rd 4.7K resistance one end respectively, the 3rd 4.7K resistance The other end is connected with 6 feet of the end SDA, MAX44009 chip respectively.
As shown in figure 20, STM32F103RBT6 single-chip microcontroller U20 is provided on optical sensor circuit plate.Optical sensor circuit 25 feet of the SCL pin connection U20 of U3 (MAX44009 chip) on plate, SDA foot connect 26 feet of U20, and communication modes are IIC (I2C universal serial bus generally has two signal wires, and one is two-way data line SDA, and another is clock line SCL for communication.When When SCL keeps "high", SDA becomes " low " for beginning condition from "high";When SCL keeps "high" and SDA becomes "high" from " low " For stop condition.Start and stop condition is generated by master controller.U4 (MAX44009 chip) on optical sensor circuit plate SCL pin connection U20 15 feet, SDA foot connect U20 14 feet.Single-chip microcontroller U1 can according to MAX44009 chip U3 with The data of MAX44009 chip U4 acquisition are used to adjust flexion-extension motor.U1's (MAX44009 chip) on optical sensor circuit plate SCL pin connects 52 feet of U20, and SDA foot connects 51 feet of U20, and the SCL pin of MAX44009 chip U2 connects 37 feet of U20, 38 feet of SDA foot connection U20.Single-chip microcontroller U1 can be used to according to the data that MAX44009 chip U1 and MAX44009 chip U2 is acquired Adjust rotating electric machine.
The host scm U1 communication modes of single-chip microcontroller U20 and master control borad above sensor circuit board are 485 communications.Figure 21 It is 485 modules above sensor circuit board, principle is identical as 485 modules of master control borad.
Setting on the optical sensor circuit plate of four MAX44009 chips is arranged, and there are four vertical riser, four vertical risers Head and the tail connection one square frame of composition, each a MAX44009 chip is arranged in outside in the middle part of vertical riser lower end.Relatively Two MAX44009 chips kept off by riser, two opposite collected luminous intensities of MAX44009 sensor it is similar just demonstrate,prove It is bright to face the sun.
Settable cloche on the outside of optical sensor circuit plate and vertical riser, dust-proof, rain.
This four optical sensors are distributed four corners of the world four direction, are transmitted to collected data with IIC communication modes Processor STM32F103RBT6, RBT6 processor passes through the CPU that RS485 module transfers data to master control borad again.
When the collected numerical value of corresponding two MAX44009 sensors (east and west, Nan Yubei) differs 20 lumens or more, Solar panel is rotated to the high side of lumen, until the face sun.To prevent motor fret, one is issued within single-chip microcontroller 10 minutes Secondary querying command, the angle of adjustment in 10 minutes.
It further include wireless module, the signal transmission port of wireless module is connected with the signal transmission port of the part MCU.
The wireless module (can be used for the communication of single-chip microcontroller on host scm and optical sensor circuit plate, optical sensor electricity Another wireless module is set corresponding to the wireless module on the plate of road) using LC1278 chip U3, U3 1~7 foot respectively with PE13 End, the end PE14, the end PB11, the end PB10, the end PE15, the end+5V, the end GND is corresponding is connected, the end PB11, the end PB10 respectively with connector 2,1 foot of P5 is connected, and 3 feet of P5 connect the end GND;The end+5V is connected with capacitor C34 anode, the one end C35 respectively, capacitor C34 cathode point It is not connected with the C35 other end, the end GND.
The capacitor C34 uses 470uF6.3V capacitor, and C35 uses 0.1uF capacitor.
It further include memory portion, the signal transmission port of reservoir portion is connected with the signal transmission port of the part MCU.
The memory portion connects the end GND using 1~4 foot of 24C02 chip U4, U4,5 feet of U4 respectively with the end PA0, electricity The one end R16 is hindered to be connected, the resistance R16 other end is connected with 8 feet of the one end resistance R15, the end+3.3V, the one end capacitor C5, U4 respectively, The capacitor C5 other end is connected with 7 feet of U4, the end GND respectively, and 6 feet of U4 are connected with the end PA1, the resistance R15 other end respectively.
Described resistance R15, R16 use 4.7K resistance, and capacitor C5 uses 0.1uF capacitor.
It further include indicating section, the control signal input mouth of indicating section and the control signal output mouth of the part MCU It is connected.
The indicating section includes resistance R1, and resistance R1 mono- terminates the end PB15, resistance R1 other end sending and receiving optical diode E1 Anode, E1 cathode connect the end GND;Resistance R3 mono- terminates the end PB14, resistance R3 other end sending and receiving optical diode E2 anode, and E2 cathode connects The end GND;Resistance R4 mono- terminates the end PB13, resistance R4 other end sending and receiving optical diode E3 anode, and E3 cathode connects the end GND;Resistance R6 The one termination end PB12, resistance R6 other end sending and receiving optical diode E4 anode, E4 cathode connect the end GND;Resistance R9 mono- terminates the end PE12, Resistance R8 other end sending and receiving optical diode E5 anode, E5 cathode connect the end GND;Resistance R12 mono- terminates the end PE11, and resistance R12 is another Light emitting diode E6 anode is terminated, E6 cathode connects the end GND.
E1 can when the software program of single-chip microcontroller walks a circulation it is bright once.E2 can be bright when rotating electric machine adjusts eastwards. E3 can be bright when rotating electric machine westwards adjusts.E4 (can keep solar panel upright, press from both sides with column pitching motor and working downwards Angle approaches 5 degree) Shi Liang.E5 can be worked up pitching motor and (be kept solar panel horizontal, to approach 80 degree with column angle) Shi Liang.E6 can be bright when Open Timer device feeds dog.
When MCU is worked normally, a signal is exported at regular intervals to dog end is fed, gives WDT (house dog timing Device) it resets.If it exceeds the defined time does not feed dog (generally in program fleet), WDT timing is more than to provide a reset letter Number arrive MCU, allow MCU to reset, prevent MCU from crashing.House dog needs to feed dog at the appointed time, " stipulated time " mentioned here It is exactly that WatchDog Timer counts the spilling time, i.e., once reaching count threshold, house dog will generate reset signal.MCU must Processing must be zeroed out to this timer within this period, allow WatchDog Timer to count again, prevent house dog from generating Reset signal.
Described resistance R1, R3, R4, R6, R9, R12 use 1K resistance.
It further include keyboard matrix part, the control signal output mouth of keyboard matrix part and the control signal of the part MCU Input port is connected.
The keyboard matrix part includes resistance R2, mono- end termination+3.3V resistance R2, and the resistance R2 other end is opened by key It closes SW1 and connects the end PG12;
Mono- end termination+3.3V resistance R5, the resistance R5 other end connect the end PG9 by key switch SW2;
Mono- end termination+3.3V resistance R13, the resistance R13 other end connect the end PG11 by key switch SW11;
Mono- end termination+3.3V resistance R44, the resistance R44 other end connect the end PG13 by key switch SW4;
Mono- end termination+3.3V resistance R54, the resistance R54 other end connect the end PG15 by key switch SW5;
Mono- end termination+3.3V resistance R59, the resistance R59 other end connect the end PB9 by key switch SW12;
Mono- end termination+3.3V resistance R61, the resistance R61 other end connect the end PG14 by key switch SW7;
Mono- end termination+3.3V resistance R66, the resistance R66 other end connect the end PG10 by key switch SW8;
Mono- end termination+3.3V resistance R67, the resistance R67 other end connect the end PB4 by key switch SW13.
Described resistance R2, R5, R13, R44, R54, R59, R61, R66, R67 use 1K resistance.
The pulse capture part includes P521 chip U9, U11, and 4 feet of U9 connect the end+5V, 3 feet of U9 by resistance R25 It is connected respectively with the one end resistance R28, the end PB0, another end termination GND resistance R28;1 foot of U9 meets Pulse_HX by resistance R26 It holds (end Pulse_HX connects the Hall pulse signal of rotating electric machine by P12, and there are also the Hall power supply+12V and ground of motor), U9's 2 feet connect the end GND by resistance R27;
4 feet of U11 connect the end+5V by resistance R29, and 3 feet of U11 are connected with the one end resistance R32, the end PB8 respectively, resistance Another end termination GND R32;1 foot of U11 connects the end Pulse_YF (Pulse_YF and the pulse feedback for pitching motor by resistance R30 Signal output port is connected), 2 feet of U11 connect the end GND by resistance R31;
1,2 feet of connector P13 are connected with the end Pulse_HX, the end GND respectively, 1~4 foot of connector P12 respectively with+ The end 12V, the end Pulse_YF, the end Pulse_HX, the end GND be connected, 1,2 feet of connector P15 respectively with the end Pulse_YF, the end GND It is connected.P13 and P15 is set, AccessPort is facilitated.
Pitching motor can be used the ST01 type motor of Antuator, and 90ZYG series direct current deceleration electricity can be used in rotating electric machine Machine.
Described resistance R25, R29 use 1K resistance, and resistance R28, R32 use 2K resistance.
It further include buzzer warning part, the control signal input mouth of buzzer warning part and the control of the part MCU Signal output port is connected.
The buzzer warning part (powering on after pressing SW4 key, settable buzzer rings 2S, prompts to start solar tracking) includes three The collector of pole pipe Q6, Q6 connect the cathode of buzzer B1, and the anode of B1 connects the end+5V, the emitter of Q6 respectively with the end GND, resistance The one end R64 is connected, and the resistance R64 other end is connected with the base stage of Q6, the one end resistance R63 respectively, another end termination PE6 resistance R63.
The Q6 uses S8050 triode, and R64 uses 47K resistance, and R63 uses 470R resistance.
It further include display portion, the display signal output port of the display signal input port and the part MCU of display portion It is connected.
The display portion is corresponding connected with the end GND, the end+3.3V respectively using 1,2 feet of FY1602A chip DP1, DP1, 3 feet of DP1 are connected with the one end resistance R51, resistance R34 one end respectively, another end termination+3.3V resistance R51, and resistance R34 is another Terminate the end GND;
4~15 feet of DP1 respectively with the end PC9, the end PC8, the end PC7, the end PD8, the end PD9, the end PD10, the end PD11, the end PD12, The end PD13, the end PD14, the end PD15, the end+3.3V are corresponding connected;
16 feet of DP1 connect NPN triode Q5 collector, and Q5 base stage is connected with the one end resistance R52, the one end resistance R53 respectively, Another end termination PC6 resistance R52, the resistance R53 other end are connected with the emitter of the end GND, Q5 respectively;
The end+3.3V connects the end GND by capacitor C33.
The resistance R51 uses 10K resistance, and resistance R34 uses 1.5K resistance, and resistance R52 uses 470R resistance, resistance R53 uses 47K resistance, and capacitor C33 uses 0.1uF capacitor.
Including solar panel, middle part is provided with rack beam, rack beam lower end middle part on rear side of solar panel It is connected with the upper end of the column, column lower end is connected with the output shaft of vertical rotating electric machine upper end, has in the middle part of rack beam to rear side The after-poppet of extension, after-poppet rear end is provided with electric pushrod inclined forward and upward and pitches motor, before electric pushrod pitches motor Telescopic upper end bar connects with upper axis behind solar panel.
The rotating electric machine is using revolution decelerating motor.
The column lower end is provided with plectrum 9, plectrum 9 and the horizontal direction stroke being arranged on rotating electric machine body outer wall Switch matches, and limits the rotational angle of solar panel.
Between the column lower end and rack beam both ends, between column lower end and after-poppet rear end, after-poppet rear end with Rack beam is provided with reinforcing rib between both ends.
The rack beam is connected by otic placode with solar battery plate face support frame.
The motor setting is provided with inclined zigzag arrangement between triangular prism upper end, the adjoining leg of triangular prism Reinforcing rib.
The key switch SW4 long-pressing changes jobs mode, key SW1 long-pressing switch back mode, and key SW2 cooperates key The time is arranged in SW1, SW4, and key SW12 control rotating electric machine rotates clockwise, and key SW13 control rotating electric machine revolves counterclockwise Turn, key SW5 controls rotating electric machine stalling, and key SW11 control pitches motor flexible bar and retracts, and key SW13 control, which pitches, stretches Contracting bar stretches out, and key SW7 control pitches motor and stops, and key SW10 control system is restarted.
The key uses four foot touch keys.
Single-chip microcontroller obtains the value of illuminance by light light sensor portion, and single-chip microcontroller reads out eastern limit angle from FLASH Degree, degree default value is 360, if the collected value of optical sensor is not 360, carries out solar tracking program;
If collected value is 360, the sun is directed at according to 485 received optical sensor datas;
If the collected data of optical sensor located above are higher than the optical sensor being located below, single-chip microcontroller control is faced upward Motor of bowing is shunk, and is laid flat solar panel;If optical sensor located above collected data are than being located below Optical sensor is low, and single-chip microcontroller control pitches motor flexible, erects solar panel;
If the collected data of optical sensor by east side are higher than the optical sensor by west side, single-chip microcontroller controls electric rotating Machine rotates solar panel eastwards.
After the alignment sun 20 times, MCU driving rotating electric machine turns eastwards, and the Course Timer turned is (inside single-chip microcontroller certainly Band) record Hall pulse, limit switch is touched, rotating electric machine stops rotating, and calculates at this time by obtained Hall pulse current Angle, the data solar tracking acquired later according to optical sensor;
MCU driving rotating electric machine westwards turns (right by the western direction for transferring adjustment solar panel in motor east turn After the quasi- sun 20 times, east limit (substantially 135 degree of south by east of travel switches) is returned to, this process record Hall pulse is calculated How many degree specifically turned out, have been recorded in the FLASH of single-chip microcontroller, this angle is exactly the angle of east limit.Being aligned 20 times can show Write and reduce error), if the data that optical sensor is replied show the angle of pitch angle it is different (two opposite optical sensors, because To there is vertical riser to keep off, if being not aligned with the sun, with regard to inconsistent, single-chip microcontroller will be sent out the collected luminous intensity of optical sensor To optocoupler, optocoupler is connected to motor and adjusts to that high side of intensity signal out), single-chip microcontroller control pitch motor extension bar stretch out or It retracts.
3 points of solar panel daily morning returns to eastern limit.
The rotating electric machine uses 81 pulse corresponding angles for once.
Want to stop pitching motor work, after pressing SW7 key, PG14 pin input signal in the way of adjustment flexion-extension motor To single-chip microcontroller, K3, K4 relay disconnect entirely at this time, and motor stops working;After SW12 is pressed, PB9 pin input signal to list Piece machine, single-chip microcontroller PA5 pin will export order, and rotating electric machine westwards turns at this time;After SW13 is pressed, PB4 pin input letter Number single-chip microcontroller is arrived, single-chip microcontroller PA6 pin will export order, and rotating electric machine turns eastwards at this time;If adjustment pitches the way of motor In want to stop rotating motor work, after pressing SW5 key, PG15 pin input signal to single-chip microcontroller, K1, K2 relay at this time Complete to disconnect, motor stops working.
Figure 12, K1A is relay K1 control terminal in 13, and K1B is relay K1 controlled end, and K2, K3, K4 are also identical.
Relay K1, K2, K3, K4 can be used HH62P and just opening JQX-13F intermediate relay.
When just powering on or press " restarting " button, settable 180S manually controls the time.Pressing SW4 button, to can skip 180S direct Automatic sun-tracing mode is carried out, display screen can show Working at this time.
SW10 (restarts) RESET of the pin connection single-chip microcontroller of key, and after restarting key pressing, single-chip microcontroller is multiple using power supply The mode of position, RST pin are pulled low generation external reset, reset pulse are generated, to make system reset.
Super reset can be carried out by SW1.Conventional RESET is that daily 4:00 AM rotating electric machine turns eastwards, solar panel Eastern limit is returned to, can calibrate daily so once, prevent error.Super reset is not know the east limit (stroke in east side Switch) in the case where angle, so that solar panel is directed at the sun by the data that optical sensor is passed back, after adjustment 20 times eastwards Rotation, note Hall pulse calculate east limit angle, then reset again.
Two pins of RX, TX (4 feet and 1 foot) of PA2 and PA3 (serial ports 2) the connection RS485 of single-chip microcontroller, A, B of RS485 (6 feet with 7 feet) connect A, B of sensor.By 485 communications, single-chip microcontroller can obtain the value of illuminance, at this time single-chip microcontroller from Limit angle in east is read out in FLASH, degree default value is 360, if the collected value of sensor is not 360, is proved Super reset has finished, and normal solar tracking is all right.Prove that the first task of CPU, FLASH (24C02 chip) have guarantor if it is 360 East limit angle is deposited, is directed at the sun according to 485 received optical sensor datas.
After alignment 20 times, the PA6 pin of CPU is exported to drive optocoupler U13.The output contact relay K2 of optocoupler U13, relay Device K2 is attracted, and rotating electric machine turns eastwards, and the Course Timer turned records Hall pulse, touching east by the PB0 pin of single-chip microcontroller Limit switch EL disconnects relay K2, and motor stops rotating, and calculates current angular by obtained Hall pulse at this time.Later According to optical sensor acquire data solar tracking, motor be 81 pulses be once, if collected Hall umber of pulse be 14175, Angle so at this time is exactly 14175 ÷ 81=175 degree.
Westwards turn the PA5 output control optocoupler of single-chip microcontroller, light-coupled isolation places big signal control relay K1, K1 actuation Rotating electric machine westwards rotates, if the data that optical sensor is replied show that the angle of pitch angle is different, the PA7 of single-chip microcontroller exports control Relay K3 processed pitches motor flexible bar and retracts, and single-chip microcontroller PC4 controls relay K4, pitches motor flexible bar and stretches out.
Floating input pattern can be used in the mode of single-chip microcontroller control button.
Rotating electric machine, can be in 0 to 108 degree controls in the control solar panel rotation of thing horizontal direction.
Motor control solar panel elevation-depression angle is pitched, control range can be spent 0 to 90.
It is understood that being merely to illustrate the present invention above with respect to specific descriptions of the invention and being not limited to this Technical solution described in inventive embodiments, those skilled in the art should understand that, still the present invention can be carried out Modification or equivalent replacement, to reach identical technical effect;As long as meet use needs, all protection scope of the present invention it It is interior.

Claims (5)

1. pair dimension solar tracking control circuit, including the part power unit, MCU, RS485 communication part, motor control part, light sensing Device part and pulse capture part, it is characterised in that the signal transmission port of the part MCU and the signal of RS485 communication part transmit Port is connected, and the control signal output mouth of the part MCU is connected with the control signal input mouth of motor control part, the portion MCU Point detection signal input port respectively with light sensor portion detect signal output port, pulse capture part survey signal Output port be connected, the power output port of power unit respectively with the power input of the part MCU, RS485 communication part Power input, the power input of motor control part, the power input of light sensor portion and pulse catch The power input for obtaining part is connected;
The pulse capture part includes P521 chip U9, U11, and 4 feet of U9 connect the end+5V, the 3 feet difference of U9 by resistance R25 It is connected with the one end resistance R28, the end PB0, another end termination GND resistance R28;1 foot of U9 connects the end Pulse_HX by resistance R26, 2 feet of U9 connect the end GND by resistance R27;
4 feet of U11 connect the end+5V by resistance R29, and 3 feet of U11 are connected with the one end resistance R32, the end PB8 respectively, and resistance R32 is another The one termination end GND;1 foot of U11 connects the end Pulse_YF by resistance R30, and 2 feet of U11 connect the end GND by resistance R31;
1,2 feet of connector P13 are connected with the end Pulse_HX, the end GND respectively, 1~4 foot of connector P12 respectively with the end+12V, The end Pulse_YF, the end Pulse_HX, the end GND are connected, and 1,2 feet of connector P15 are connected with the end Pulse_YF, the end GND respectively;
The RS485 communication part connects the end PA3 using 1 foot of SP3485 chip U8, U8,2 feet of U8 respectively with the end PA4, U8 3 Foot is connected, and 4 feet of U8 connect the end PA2, and 5 feet of U8 connect the end GND, 6 feet of U8 respectively with one end the resistance R73, one end resistance R72, steady Pressure diode D1 anode is connected, another end termination+3.3V resistance R73, and zener diode D1 cathode is another with resistance R72 respectively End, the one end resistance R71,7 feet of U8 are connected, and another end termination GND resistance R71,8 feet of U8 connect the end+3.3V;
The light sensor portion uses MAX44009 chip, and 1 foot of MAX44009 chip connects the end 3.3V, MAX44009 chip 2,3 feet are grounded, and 4 feet of MAX44009 chip are connected with the end INT, the first 4.7K resistance one end respectively, and the first 4.7K resistance is another Terminate the end 3.3V;5 feet of MAX44009 chip are connected with the end SCL, the 2nd 4.7K resistance one end respectively, and the 2nd 4.7K resistance is another End be connected respectively with the end 3.3V, the 3rd 4.7K resistance one end, the 3rd 4.7K resistance other end respectively with the end SDA, MAX44009 core 6 feet of piece are connected.
2. double dimension solar tracking control circuits according to claim 1, it is characterised in that the end+3.3V by inductance L2 respectively with The one end capacitor C27, the one end capacitor C26, crystal oscillator Y3 4 feet be connected, the capacitor C27 other end respectively with the capacitor C26 other end, GND End is connected;2 feet of crystal oscillator Y3 are connected with the one end capacitor C28, the end GND respectively, the capacitor C28 other end respectively with the one end resistance R33, The end OSC32_IN is connected, 3 feet of another termination crystal oscillator Y3 of resistance R33.
3. double dimension solar tracking control circuits according to claim 1, it is characterised in that 3 feet of REG1117-3.3 chip U5 are distinguished Be connected with the end+5V, the one end capacitor C8, the capacitor C8 other end respectively with 1 foot of U5, the one end capacitor C6, capacitor C41 cathode, the end GND It is connected, the capacitor C6 other end is connected with the end+3.3V, 2 feet of U5, capacitor C41 anode respectively;
1,2,3 feet of connector P6 are correspondingly connected with the end PC11, PC10, GND respectively;
1,2,3,4,5 feet of connector P8 are correspondingly connected with the end GND, the end PA2, the end PA4, the end PA3, the end+3.3V respectively;
1,2,3,4 feet of connector P10 are correspondingly connected with the end+5V, the end PA10, the end PA9, the end GND respectively;
1,2,3 feet of connector P14 are correspondingly connected with the end PD2, the end PC12, the end GND respectively;
The end+3.3V respectively with the anode of capacitor C7, the one end capacitor C46, the one end capacitor C47, the one end capacitor C17, capacitor C18 mono- End, the one end capacitor C48, the one end capacitor C20, the one end capacitor C21, the one end capacitor C22, the one end capacitor C23, the one end capacitor C24, electricity Hold the one end C25 to be connected, cathode, the capacitor C46 other end, the capacitor C47 other end, the capacitor C17 other end, capacitor C18 of capacitor C7 The other end, the capacitor C48 other end, the capacitor C20 other end, the capacitor C21 other end, the capacitor C22 other end, the capacitor C23 other end, Another end termination GND the capacitor C24 other end, capacitor C25.
4. double dimension solar tracking control circuits according to claim 1, it is characterised in that described resistance R25, R29 use 1K resistance, Resistance R28, R32 use 2K resistance.
5. double dimension solar tracking control circuits according to claim 1, it is characterised in that described resistance R71, R73 are using 390R electricity Resistance, resistance R72 use 120R resistance.
CN201910720308.6A 2019-08-06 2019-08-06 Double dimension solar tracking control circuits Pending CN110320936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910720308.6A CN110320936A (en) 2019-08-06 2019-08-06 Double dimension solar tracking control circuits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910720308.6A CN110320936A (en) 2019-08-06 2019-08-06 Double dimension solar tracking control circuits

Publications (1)

Publication Number Publication Date
CN110320936A true CN110320936A (en) 2019-10-11

Family

ID=68125511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910720308.6A Pending CN110320936A (en) 2019-08-06 2019-08-06 Double dimension solar tracking control circuits

Country Status (1)

Country Link
CN (1) CN110320936A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060074249A (en) * 2004-12-27 2006-07-03 (주)에타솔라 Solar cell module including a solar tracking device
CN101546198A (en) * 2009-04-14 2009-09-30 芯锐电(厦门)光电科技有限公司 Intelligent solar tracking positioning sensor system
CN201388165Y (en) * 2008-12-03 2010-01-20 四川华冠太阳能科技有限公司 Solar energy power supply with full-automation double-axis tracking function
KR20100030716A (en) * 2008-09-11 2010-03-19 원앤원산업개발주식회사 Sunlight-tracking control apparatus for solar cell module panel
CN102299665A (en) * 2011-08-17 2011-12-28 青岛哈工太阳能股份有限公司 solar tracking control system based on dsPIC30F4013
CN102393756A (en) * 2011-11-04 2012-03-28 江苏白兔科创新能源股份有限公司 Solar sun tracking controller
CN104779905A (en) * 2015-04-20 2015-07-15 杭州电子科技大学 Solar photovoltaic monitoring system node circuit based on Internet of Things
CN210377173U (en) * 2019-08-06 2020-04-21 沈阳信元瑞科技有限公司 Two-dimensional sun tracking control circuit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060074249A (en) * 2004-12-27 2006-07-03 (주)에타솔라 Solar cell module including a solar tracking device
KR20100030716A (en) * 2008-09-11 2010-03-19 원앤원산업개발주식회사 Sunlight-tracking control apparatus for solar cell module panel
CN201388165Y (en) * 2008-12-03 2010-01-20 四川华冠太阳能科技有限公司 Solar energy power supply with full-automation double-axis tracking function
CN101546198A (en) * 2009-04-14 2009-09-30 芯锐电(厦门)光电科技有限公司 Intelligent solar tracking positioning sensor system
CN102299665A (en) * 2011-08-17 2011-12-28 青岛哈工太阳能股份有限公司 solar tracking control system based on dsPIC30F4013
CN102393756A (en) * 2011-11-04 2012-03-28 江苏白兔科创新能源股份有限公司 Solar sun tracking controller
CN104779905A (en) * 2015-04-20 2015-07-15 杭州电子科技大学 Solar photovoltaic monitoring system node circuit based on Internet of Things
CN210377173U (en) * 2019-08-06 2020-04-21 沈阳信元瑞科技有限公司 Two-dimensional sun tracking control circuit

Similar Documents

Publication Publication Date Title
CN100485567C (en) Grass cutter intelligence control system
CN110320937A (en) A kind of double dimension solar tracking solar energy equipments
CN110052095A (en) A kind of intelligent integrated control system of bag filter
CN210377174U (en) Two-dimensional sun-tracking solar device
CN210515046U (en) Two-dimensional sun-tracking solar device
CN210515044U (en) Two-dimensional sun-tracking solar device circuit
CN210515041U (en) Two-dimensional sun-tracking solar device circuit
CN210515045U (en) Two-dimensional sun tracking control system
CN210377173U (en) Two-dimensional sun tracking control circuit
CN110320936A (en) Double dimension solar tracking control circuits
CN110333743A (en) A kind of double dimension solar tracking solar energy equipment circuits
CN110286697A (en) Double dimension solar tracking solar energy equipments
CN110262573A (en) Double dimension solar tracking solar energy equipment circuits
CN110286696A (en) Double dimension solar tracking control systems
CN208205335U (en) Device driver for wireless networking environmental control system
CN203122289U (en) Flying dust collector capable of being controlled in remote mode
CN104394069B (en) Micro-capacitance sensor data gateway device and data transfer device
CN208126196U (en) Multifunctional inspecting robot based on distributed AC servo system
CN209784781U (en) Intelligent power supply management system
CN105517293A (en) Light control device for micro-module computer room and system of light control device
CN210704831U (en) Household robot
CN103487092A (en) Field tobacco growth information sensing system based on Internet of Things
CN208351462U (en) A kind of USB power supply grain feelings detection host with communication
CN209908371U (en) Modular control system of automatic garage door
CN206331281U (en) A kind of kinematic system controls circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination