Soft switch control method of solar street lamp

文档序号:1835215 发布日期:2021-11-12 浏览:8次 中文

阅读说明:本技术 一种太阳能路灯的软开关控制方法 (Soft switch control method of solar street lamp ) 是由 涂保章 于 2021-06-29 设计创作,主要内容包括:本发明公开了一种太阳能路灯的软开关控制方法,包括:通过控制器在设定时间内检测太阳能电池板高低电平的变化次数;若变化次数大于或等于设定次数,则控制器切断主回路电源,此时整个太阳能路灯系统处于关闭状态,达到与机械开关关闭同等的目的;若变化次数大于等于1次但小于设定次数,则控制器接通主回路电源,此时整个太阳能路灯系统处于开启状态,达到与机械开关开启同等的目的。本发明的软开关控制方法简单、有效且实用,采用软开关替代现有的机械开关,具有使用寿命超长、成本低廉、生产效率高的优点。(The invention discloses a soft switch control method of a solar street lamp, which comprises the following steps: detecting the change times of the high and low levels of the solar cell panel within a set time through a controller; if the change times are more than or equal to the set times, the controller cuts off the power supply of the main loop, and the whole solar street lamp system is in a closed state at the moment, so that the aim of closing the mechanical switch is fulfilled; if the change times are more than or equal to 1 time and less than the set times, the controller is connected with the main loop power supply, and the whole solar street lamp system is in an on state at the moment, so that the aim of being equal to the aim of starting the mechanical switch is fulfilled. The soft switch control method is simple, effective and practical, adopts the soft switch to replace the existing mechanical switch, and has the advantages of super-long service life, low cost and high production efficiency.)

1. A soft switch control method of a solar street lamp is characterized by comprising the following steps:

detecting the change times of the high and low levels of the solar cell panel within a set time through a controller;

if the change times are more than or equal to the set times, the controller cuts off the power supply of the main loop, and the whole solar street lamp system is in a closed state at the moment, so that the aim of closing the mechanical switch is fulfilled;

if the change times are more than or equal to 1 time and less than the set times, the controller is connected with the main loop power supply, and the whole solar street lamp system is in an on state at the moment, so that the aim of being equal to the aim of starting the mechanical switch is fulfilled.

2. The soft switching control method of the solar street lamp according to claim 1, wherein the method for changing the high and low levels of the solar panel is as follows: the solar cell panel is placed in a bright environment firstly, so that the solar cell panel has a high level, and then the solar cell panel is placed in a dark environment, so that the solar cell panel has a low level, and the operation is repeated for many times.

3. The soft switching control method of the solar street lamp according to claim 2, wherein the method for placing the solar panel in a bright environment comprises the following steps: the solar cell panel is placed under a natural light source or an artificial light source.

4. The soft switching control method of the solar street lamp according to claim 2, wherein the method for placing the solar panel in the dark environment comprises the following steps: and covering the solar panel by a shelter or reversely buckling the solar panel on the light-tight plane.

5. The soft switching control method of a solar street lamp according to claim 1, wherein the set time is 10-30 seconds.

6. The soft switching control method of a solar street lamp according to claim 1, wherein the set number of times is greater than or equal to 2 times.

7. The soft switching control method of a solar street lamp according to claim 1, wherein the controller comprises a single chip microcomputer, the single chip microcomputer comprises a PV pin for detecting the voltage of the solar panel and a K pin for output control, the PV pin is connected to the solar panel, and the K pin is connected to the transistor switching circuit.

8. The soft switching control method of a solar street light as claimed in claim 7, wherein the transistor switching circuit is a triode switching circuit, a field effect transistor switching circuit or a combination of the triode switching circuit and the field effect transistor switching circuit.

9. The soft switching control method of the solar street lamp according to claim 8, characterized in that: the triode switch circuit is an NPN triode switch circuit, a PNP triode switch circuit or a combination of the NPN triode switch circuit and the PNP triode switch circuit.

10. The soft switching control method of the solar street lamp according to claim 8 or 9, characterized in that: the field effect transistor switch circuit is an N-type field effect transistor switch circuit, a P-type field effect transistor switch circuit or a combination of the N-type field effect transistor switch circuit and the P-type field effect transistor switch circuit.

Technical Field

The invention belongs to the technical field of solar street lamp switches, and particularly relates to a soft switch control method of a solar street lamp.

Background

Solar street lamps are powered by a battery and are usually provided with a mechanical switch. The mechanical switch is used for cutting off a main power supply in the processes of production, warehousing, transportation and the like of the solar street lamp, so that the whole lamp is in an unusable electricity-saving state, and the power of the street lamp is kept from being exhausted in the long-term storage and transportation processes; when the solar street lamp is put into use after being installed, the mechanical switch needs to be turned on, so that the street lamp enters a normal use state.

At present, the mechanical switch of the solar street lamp achieves the purpose of connection by a metal contact, and the defects of the mechanical switch mainly comprise two defects: firstly, the metal contact is easy to rust and cause failure after being used outdoors for a long time; second, the production process requires many steps such as welding and fixing, which requires much labor and cost.

Disclosure of Invention

In view of the defects of the prior art, the invention aims to provide a soft switching control method of a solar street lamp.

In order to achieve the purpose, the invention adopts the following technical scheme: a soft switch control method of a solar street lamp comprises the following steps:

detecting the change times of the high and low levels of the solar cell panel within a set time through a controller;

if the change times are more than or equal to the set times, the controller cuts off the power supply of the main loop, and the whole solar street lamp system is in a closed state at the moment, so that the same purpose of closing the mechanical switch is achieved;

if the change times is more than or equal to 1 time but less than the set times, the controller is connected with the main loop power supply, and the whole solar street lamp system is in an open state at the moment, so that the same purpose of opening the mechanical switch is achieved.

Preferably, the method for changing the high and low levels of the solar cell panel is as follows: the solar cell panel is placed in a bright environment firstly, so that the solar cell panel has a high level, and then the solar cell panel is placed in a dark environment, so that the solar cell panel has a low level, and the operation is repeated for many times.

Preferably, the method for placing the solar panel in a bright environment is as follows: the solar cell panel is placed under a natural light source or an artificial light source.

Preferably, the method for placing the solar panel in a dark environment comprises the following steps: and covering the solar panel by a shelter or reversely buckling the solar panel on the light-tight plane.

Preferably, the set time is 10 to 30 seconds.

Preferably, the set number of times is 2 or more.

Preferably, the controller comprises a single chip microcomputer, the single chip microcomputer comprises a PV pin for detecting the voltage of the solar panel and a K pin for output control, the PV pin is connected to the solar panel, and the K pin is connected to the transistor switching circuit.

Preferably, the transistor switch circuit is a triode switch circuit, a field effect transistor switch circuit or a combination of the two.

Preferably, the triode switch circuit is an NPN triode switch circuit, a PNP triode switch circuit, or a combination of the two.

Preferably, the fet switch circuit is an N-type fet switch circuit, a P-type fet switch circuit, or a combination of both.

Compared with the prior art, the invention has the following beneficial effects: the soft switch control method is simple, effective and practical, the soft switch is adopted to replace the existing mechanical switch, the problems of mechanical corrosion and aging do not exist, the cost of the added materials is less than one tenth of that of the mechanical switch, the process of installing workers is also omitted, and the soft switch control method has the advantages of being long in service life, low in cost and high in production efficiency.

Drawings

Fig. 1 is a schematic block diagram of a soft switch of a solar street lamp according to an embodiment of the present invention.

Detailed Description

In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanied with figures are described in detail below.

As shown in fig. 1, the present embodiment provides a soft switching control method for a solar street lamp, including:

detecting the change times of the high and low levels of the solar cell panel within a set time through a controller;

if the change times are more than or equal to the set times, the controller cuts off the power supply of the main loop, and the whole solar street lamp system is in a closed state at the moment, so that the aim of closing the mechanical switch is fulfilled;

if the change times are more than or equal to 1 time and less than the set times, the controller is connected with the main loop power supply, and the whole solar street lamp system is in an on state at the moment, so that the aim of being equal to the aim of starting the mechanical switch is fulfilled.

In this embodiment, the method for changing the high and low levels of the solar panel is as follows: the solar cell panel is placed in a bright environment firstly, so that the solar cell panel has a high level, and then the solar cell panel is placed in a dark environment, so that the solar cell panel has a low level, and the operation is repeated for many times. The method for placing the solar panel in a bright environment is preferably, but not limited to: the solar panel is placed under a natural or artificial light source (e.g. on a bright place or on a light pole, or under the illumination of a flashlight). The method for placing the solar panel in the dark environment is preferably, but not limited to: the solar panel is covered by a shade or is flipped over onto a light-tight plane (e.g., a flat countertop).

In this embodiment, the setting time is preferably, but not limited to, 10-30 seconds, and may be specifically determined according to the operation speed of the operator, a skilled operator may set a shorter time, for example, shorter than 10 seconds, but if the time is too short, the operation may not be completed, and a slow operator may set a shorter time, for example, longer than 30 seconds, but if the time is too long, the operation efficiency is low. The set number of times is 2 or more, more preferably, but not limited to, 3 or more, and may be specifically determined according to actual needs.

In this embodiment, the controller includes a single chip microcomputer including a PV pin for detecting a voltage of the solar cell panel and a K pin for output control, the PV pin being connected to the solar cell panel, and the K pin being connected to the transistor switching circuit. The transistor switch circuit is preferably, but not limited to, a triode switch circuit, a field effect transistor switch circuit, or a combination of the two. The triode switch circuit is preferably but not limited to an NPN triode switch circuit, a PNP triode switch circuit or a combination of the NPN triode switch circuit and the PNP triode switch circuit, and the field effect transistor switch circuit is preferably but not limited to an N-type field effect transistor switch circuit, a P-type field effect transistor switch circuit or a combination of the N-type field effect transistor switch circuit and the P-type field effect transistor switch circuit.

The soft switching control hardware part of the embodiment may adopt, but is not limited to, a solar street lamp soft switching schematic block diagram as shown in fig. 1, a pin K of the single chip microcomputer is connected to a base electrode of an NPN triode through an R1 resistor, the base electrode of the NPN triode is grounded through an R2 resistor, an emitter of the NPN triode is grounded, and a collector of the NPN triode is connected to the control part (including the street lamp and the storage battery). Wherein, the R1 resistor is a base resistor and plays a role in limiting current; the resistor R2 is a pull-down resistor to prevent the NPN triode from being influenced by noise and misoperation, when a low level (0V) is input, the base electrode is directly grounded through the resistor R2, and the NPN triode is cut off; when the base input controls high level, the NPN triode is conducted.

This embodiment does not need mechanical switch, directly increases a simple circuit in the circuit of controller, then reaches control switch's purpose through the voltage variation condition that detects solar cell panel, has the advantage that life overlength, low cost, production efficiency are high. The economic benefit of the embodiment is remarkable, the number of solar street lamps produced in China in recent years is about 3000-.

It should be understood, however, that the description herein of specific embodiments is not intended to limit the invention to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于双层次控制并实现数据智能匹配的灯具控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!