Synchronous start-stop controller for solar street lampTechnical Field
The invention relates to a street lamp control device with a synchronous control function, in particular to a synchronous control device applied to a solar street lamp controller.
Background
Solar energy has been more and more paid attention as a high-efficiency pollution-free energy source, and for occasions where solar illumination is sufficient and power supply cables are not suitable to be particularly laid, solar energy power supply becomes one of the current power supply solutions. Solar street lamps are widely used for various road lighting as one of road lighting products. The existing solar street lamp controller generally works independently by a single machine, the single controller only controls the on or off of the street lamp by monitoring the output voltage of the solar cell, and due to the performance difference of the solar cell panel, the difference of the installation angle of the solar cell panel and the difference of the controller, the whole street lighting with the solar street lamp cannot be simultaneously turned on or off, the time difference can reach more than 30 minutes, and the street lighting is influenced. The network solar street lamp controller needs to be controlled by using the existing Internet wired network and needs to independently lay network lines, but is difficult to be applied to places which are not suitable for laying lines, such as remote mountainous areas and the like.
Some patent documents have carried out relevant research work on solar controllers.
The invention relates to a '200710118513.2-a PWM solar power control module of a PWM solar controller', aiming at the charging control of a solar battery, a control method based on PWM is designed, the charging efficiency of the solar battery is improved, the controller still judges the relation between the output voltage of the solar battery and the set threshold value of the on-off voltage of a street lamp, and the on-off of the street lamp is realized.
The utility model discloses a "200520071259.1-solar controller", to solar cell's output control, designed the controller of low-power consumption, when reaching original illumination luminance, the consumption can reduce original 1/2 or 1/3, does not involve the solar street lamp electric quantity problem simultaneously.
The utility model '200620096426.2-a solar controller for preventing reverse charging', aiming at the problem that the output electrode of the solar cell is easy to be considered to be damaged on the contrary, the utility model designs a circuit for preventing reverse connection, effectively protects the solar cell panel and the rear-end processing circuit, and does not relate to the problem of electric quantity of the solar street lamp at the same time.
The utility model '03268193.3', a solar power controller device, aims at the problems of overcharge and overdischarge of the storage battery of the solar power system, designs a power controller, effectively overcomes the problems of overcharge and overdischarge of the storage battery, and does not relate to the problem of electric quantity of the solar street lamp at the same time.
The utility model '02282076.0-a solar controller' is designed with an efficient charging circuit for the problem of the charging efficiency of the storage battery of the solar battery, and does not relate to the problem of the simultaneous electric quantity of the solar street lamp.
However, the practical requirement of simultaneously turning on and off the solar street lamps is not solved, which is one of the problems that needs to be considered by those skilled in the art.
Disclosure of Invention
The purpose of the invention is: the synchronous lighting and extinguishing of the solar street lamp on the whole road are realized. The invention discloses a synchronous start-stop controller for a solar street lamp, which adopts the technical scheme that: a synchronous start-stop controller for a solar street lamp comprises a core processing unit, a solar battery and storage battery management unit, a 433 MHz-based wireless data transmission unit, a keyboard and a display unit,
the core processing unit is respectively connected with the solar cell and storage battery management unit, the 433 MHz-based wireless data transmission unit, the keyboard and the display unit, so that power management of the solar cell and the storage battery, management of the data transmission unit and monitoring of transmission commands, keyboard input instructions and liquid crystal display are realized;
the solar battery and storage battery management unit is connected with the core processing unit, and the monitoring and control of the output power of the solar battery and the charging and discharging current of the storage battery are realized by utilizing the relevant voltage and digital quantity control information sent by the core processing unit; the 433 MHz-based wireless data transmission unit is connected with the core processing unit, the core processing unit converts a command to be sent into serial data, the serial data is sent by the 433 MHz-based wireless data transmission unit, the command received by the 433 MHz-based wireless data transmission unit is transmitted to the core processing unit by a serial port, an interrupt signal is generated for the core processing unit, and the core processing unit is informed of reading the command;
furthermore, the core processing unit adopts a singlechip C8051F020 as a control core, outputs analog voltage by utilizing a 2-path digital-analog conversion circuit integrated by the singlechip, controls the output power of the solar battery and the charging and discharging power of the storage battery, and realizes the control of charging and discharging of the storage battery by combining an input and output port of the singlechip; the charging mode of the storage battery is automatically set to four modes of constant-current charging, constant-voltage charging, pulse constant-voltage charging and trickle charging, and can be automatically selected according to the voltage condition of the storage battery.
The wireless data transmission part of the wireless data transmission unit based on 433MHz adopts a CC1100 wireless controller of martRF company to realize the functions of wireless data coding and automatic adjustment of transmitting and receiving power; the interface part adopts an FPGA with the model of EPM7128AE to realize protocol conversion between an SPI interface and an LVTTL level serial interface and hardware handshake with a CC1100 wireless controller;
the core processing unit is connected with an FPGA (field programmable gate array) with the model of EPM7128AE based on a 433MHz wireless data transmission unit through a serial interface of LVTTL (logical voltage transistor), a serial command sent by the core processing unit is converted into an SPI (serial peripheral interface) control protocol and a hardware handshake control signal through the FPGA with the model of EPM7128AE, the FPGA with the model of EPM7128AE and the CC1100 wireless controller carry out data transmission, and finally the CC1100 wireless controller encodes data and transmits the data through an antenna; the data receiving function is opposite to the process, and the difference is that the interrupt signal is adopted to inform the core processing unit to receive the data during the receiving process. The data receiving function is opposite to the process, and the difference is that the interrupt signal is adopted to inform the core processing unit to receive the data during the receiving process.
The wireless data exchange plays an important role of transmission media in the current information data transmission, and the current digital interphone, the digital cordless telephone and the like adopt a wireless data transmission mode to realize data interaction. The invention relates to a synchronous start-stop controller of a solar street lamp, which is designed by utilizing the principle of wireless data transmission. The solar street lamp is generally installed at equal intervals, the farthest distance between the street lamp and the street lamp is about 500 meters, and the number of shelters is small, so that the solar street lamp is suitable for low-power-consumption wireless data transmission. The data transmission control of the whole solar street lamp line is realized in a relay mode, generally, the solar street lamp controllers of the whole line are coded according to addresses, one or more controllers are set as a main controller, when the main controller detects that the voltage of a solar battery is lower than (or higher than) a certain voltage threshold value, an instruction for turning on a street lamp power supply (or turning off the street lamp power supply) is sent to the adjacent solar street lamp controllers, the instruction is coded according to the addresses, only the controller meeting the address requirement executes a corresponding receiving instruction, and otherwise, the instruction information is forwarded. After the adjacent street lamps detect the instruction which accords with the address codes of the adjacent street lamps, the corresponding instruction for turning on the power supply of the street lamps (or turning off the power supply of the street lamps) can be executed until all the street lamp controllers receive the instruction which accords with the address codes of the adjacent street lamps and execute the corresponding command.
Therefore, the present invention has the following advantages over the prior art: the practical problem that the solar street lamps are not simultaneously turned on and off due to performance difference of the solar street lamps can be solved, and the reliability and the attractiveness of the solar street lamp lighting system are improved.
Drawings
FIG. 1 is a functional structure diagram of a synchronous start-stop controller of a solar street lamp according to the present invention;
FIG. 2 is a functional block diagram of a solar cell and battery management unit in the controller of the present invention;
FIG. 3 is a functional block diagram of a 433 MHz-based wireless data transmission unit in the controller according to the present invention;
FIG. 4 is a flow chart of the controller operation of the present invention;
FIG. 5 shows a circuit connection of a single chip microcomputer C8051F005 according to the present invention;
FIG. 6 is a schematic diagram of the charging control of the present invention;
FIG. 7 is a schematic diagram of the load output control of the present invention;
FIG. 8 illustrates an RF radio frequency wireless module and circuit connections according to the present invention;
FIG. 9 is a schematic diagram of the detection of the controller circuit of the present invention;
in the figure, 1 is a solar panel, 2 is a storage battery, and 4 is a street lamp; section belonging to 3: acore processing unit 31, a solar battery and storagebattery management unit 32, a 433 MHz-based wirelessdata transmission unit 33, a keyboard anddisplay unit 34; section belonging to 32: a storage battery currentcontrol power tube 321, a solar battery voltage andcurrent monitoring unit 322, and a storage battery voltage andcurrent monitoring unit 323; part belonging to 33: antenna 331, wireless signal conditioning circuit 332, CC1100 wireless controller 333, and FPGA 334.
All references to the above figures, including symbols, numerals, part identifiers, etc., will be understood by those skilled in the art and will not be described in detail herein.
Detailed Description
The following describes embodiments of the present invention with reference to the drawings.
As shown in fig. 1, the solar street light controller with synchronous control function of the present invention is composed of acore processing unit 31, a solar cell andbattery management unit 32, a 433 MHz-based wirelessdata transmission unit 33, and a keyboard anddisplay unit 34. Thecore processing unit 31 is respectively connected with the solar battery and storagebattery management unit 32, the 433 MHz-based wirelessdata transmission unit 33 and the keyboard anddisplay unit 34, so that power management of the solar battery and the storage battery, management and transmission command monitoring of the data transmission unit, keyboard input instruction and liquid crystal display are realized; the solar battery and storagebattery management unit 32 is connected with thecore processing unit 31, and monitors and controls the output power of the solar battery and the charging and discharging current of the storage battery by using the relevant voltage and digital quantity control information sent by thecore processing unit 31; the 433 MHz-based wirelessdata transmission unit 33 is connected with thecore processing unit 31 through a serial port of LVTTL level, thecore processing unit 31 converts a command to be sent into serial data, the serial data is sent by the wireless data transmission unit, the command received by the wireless data transmission unit is transmitted to thecore processing unit 31 through the serial port of LVTTL level, an interrupt signal is generated for thecore processing unit 31, and the core processing unit is informed of reading the command; the keyboard anddisplay unit 34 completes the setting and display of system parameters.
As shown in fig. 2, the solar cell andbattery management unit 32 of the solar street lamp controller with synchronous control function of the present invention is composed of a battery currentcontrol power tube 321, a solar cell voltage andcurrent monitoring unit 322, and a battery voltage andcurrent monitoring unit 323. The storage battery currentcontrol power tube 321 is composed of a high-power triode and a field effect tube, the conduction angle of the triode is controlled by using an analog signal output by the singlechip DA to realize the control of the charging current of the storage battery, and the field effect tube is controlled by using an IO signal of the singlechip IO signal to realize the on-off control of the charging and the on-off control of the discharging of the storage battery; the solar cell voltage and currentmonitoring power supply 322 is composed of a voltage dividing resistor network, a current and voltage conversion circuit and a filter circuit, and voltage and current conversion is realized by utilizing the resistor voltage dividing network and a low-resistance high-power sampling resistor, so that the AD input voltage requirement of the singlechip is met; the storage battery voltage andcurrent monitoring unit 323 is composed of a voltage dividing resistor network, a current and voltage conversion circuit and a filter circuit, voltage and current conversion is achieved by the aid of the resistor voltage dividing network and a low-resistance high-power sampling resistor, and the requirement of an AD input voltage of the single chip microcomputer is met. As shown in fig. 3 and fig. 8, the 433 MHz-based wirelessdata transmission unit 33 of the solar street lamp controller with the synchronous control function of the present invention is composed of an antenna 331, a wireless signal conditioning circuit 332, a CC1100 wireless controller 333 and an FPGA334, wherein the antenna 331 selects an antenna component suitable for 433MHz data transmission; the wireless signal conditioning circuit 332 mainly forms a frequency selection network by a high-frequency capacitor and a resistor, so that frequency selection, filtering and the like and processing of wireless signals are realized; the CC1100 wireless controller 333 implements the power control of wireless signals, the encoding and decoding of data, and the bidirectional data transmission control of the SPI interface through the hardware handshake function between the FPGA and thecore processing unit 31; the FPGA334 realizes the conversion between the SPI interface and the RS232 interface protocol and the hardware handshake between the CC1100 wireless controller 333 and thecore processing unit 31 through an internal logic circuit.
Meanwhile, a special wireless data transmission terminal can be adopted to send a monitoring instruction to the solar street lamp, so that the working state of the solar street lamp can be monitored, such as the current working voltage and current of the solar cell, the working voltage and current of the storage battery and other parameters, and the monitoring of the solar street lamp state by a manufacturer is facilitated.
As shown in fig. 4, 5, 6, 7, 8 and 9, the working flow diagram and the schematic diagram of the solar street lamp controller with the synchronous control function of the invention are as follows:
step a: initializing to complete the initial parameter setting of the core processing unit and other units;
step b: b, keyboard scanning judgment, if the keyboard is pressed and effective, executing a step j, carrying out a keyboard processing program, and if the keyboard is not pressed, executing a step c;
step c: b, wireless command matching judgment, if the adjacent controller sends a control command to the local address and the control command is effective, executing the step i, performing street lamp opening or closing control, and if the received control command is not matched with the local address, executing the step d;
step d: the received control command is not matched with the local address, the control command is forwarded to the next address code, and the step e is executed after the forwarding is finished;
step e: managing the solar cell and the storage battery, finishing the regulation of the output power of the solar cell and the input and output current of the storage battery, and executing the step f after the regulation is finished;
step f: judging a wireless monitoring command, if the system receives a monitoring state command, executing the step h, wirelessly forwarding the current state to a specified address by the system, and executing the step g by a program after the execution is finished, otherwise, directly executing the step g if the wireless monitoring command is not detected;
step g: displaying a processing program to realize the display of system parameters, and returning the program to the step b for circular work after the execution is finished;
step h: monitoring the system state and sending a program, finishing monitoring the system state and sending state information to a specified address in a wireless way, and returning to the step g after the execution is finished;
step i: c, executing the program by the control command, finishing the control command which is sent by the adjacent controller and is matched with the local address, finishing the starting or closing program of the street lamp, and returning to the step d after the execution is finished;
step j: and c, keyboard processing program, completing effective keyboard input and instruction execution, and returning to the step c after execution is completed.
The foregoing is merely a preferred embodiment of the invention, which is intended to be illustrative and not limiting. Many changes, modifications, equivalents and variations may be made therein without departing from the spirit and scope of the invention as defined in the following claims.