WO2019062772A1 - Method and apparatus for automatically switching between mains power and electric generator - Google Patents

Method and apparatus for automatically switching between mains power and electric generator Download PDF

Info

Publication number
WO2019062772A1
WO2019062772A1 PCT/CN2018/107700 CN2018107700W WO2019062772A1 WO 2019062772 A1 WO2019062772 A1 WO 2019062772A1 CN 2018107700 W CN2018107700 W CN 2018107700W WO 2019062772 A1 WO2019062772 A1 WO 2019062772A1
Authority
WO
WIPO (PCT)
Prior art keywords
line
controller
generator
power
meter
Prior art date
Application number
PCT/CN2018/107700
Other languages
French (fr)
Chinese (zh)
Inventor
徐波
万邦睿
汪建
黎昱
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019062772A1 publication Critical patent/WO2019062772A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/08Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems requiring starting of a prime-mover
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/40Arrangements in telecontrol or telemetry systems using a wireless architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller
    • H04Q2209/75Arrangements in the main station, i.e. central controller by polling or interrogating the sub-stations

Definitions

  • the present disclosure relates to the field of smart power technologies, and in particular, to a method and device for automatically switching between a power supply and a generator.
  • a method for automatically switching between a mains and a generator includes the following steps: the main controller sends a power supply switching instruction to each line controller when detecting that the current mains cannot perform normal power supply; After receiving the power switching instruction, the device switches the power supply line from the mains power supply line to the generator power supply line, and sends a handover complete message to the total controller; and the total controller according to the received The switching completion message starts the generator power supply and transmits the power generated by the generator to the line controllers.
  • a city-to-generator automatic switching device includes: a total controller configured to issue a power switching instruction to each line controller when detecting that the current mains cannot perform normal power supply, and Generating power to the generator according to a handover completion message sent by each line controller, and transmitting power generated by the generator to the line controllers; and a line controller configured to receive the power supply sent by the total controller After the switching instruction, the power supply line is switched from the mains supply line to the generator supply line, and a handover completion message is sent to the overall controller.
  • An apparatus for automatically switching between a mains and a generator includes a processor and a memory, wherein when the processor executes one or more programs stored in the memory, execution is performed as implemented in the present disclosure The method of automatic switching between mains and generators as described in the example.
  • a computer readable storage medium on which one or more programs are stored, when the one or more programs are executed by one or more processors, such that The method of automatic switching between utility power and generator.
  • FIG. 1 is a flow chart of a method for automatically switching between a mains and a generator according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a mains and generator automatic switching device according to an embodiment of the present disclosure
  • FIG. 3 is a schematic block diagram of a general controller provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic block diagram of a line switcher according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of switching a utility power to a generator according to an embodiment of the present disclosure
  • FIG. 6 is a flow chart of switching a commercial power to a generator provided by an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of switching a generator to a commercial power provided by an embodiment of the present disclosure.
  • FIG. 8 is a flow chart of switching a generator to a commercial power provided by an embodiment of the present disclosure
  • FIG. 9 is a flow chart of automatic meter reading provided by an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for automatically switching between a mains and a generator according to an embodiment of the present disclosure. As shown in FIG. 1, the method for automatically switching between the mains and the generator includes: steps S101-S103.
  • step S101 the master controller issues a power supply switching command to each line controller when it is detected that the current mains cannot perform normal power supply.
  • each line controller switches the power supply line from the mains power supply line to the generator power supply line, and sends a handover complete message to the total controller.
  • step S103 the overall controller starts the generator power supply according to the received handover completion message, and transmits the power generated by the generator to the line controllers.
  • each line controller after receiving the power switching instruction, further includes: after each line controller receives the power switching instruction by using a wireless communication module, switching the meter line from the utility meter line Go to the generator meter line.
  • the total controller starts the generator power supply according to the received handover completion message, and includes: the total controller determines, according to the received handover completion message, whether all line controllers are switched. If it is determined that all the line controllers are successfully switched, the total controller starts the generator power supply; if it is determined that all the line controllers are not successfully switched, the total controller issues an alarm indication, and does not start the generator. .
  • the embodiment of the present disclosure further includes the following steps: when the current controller detects the current city power for normal power supply, stops the generator power supply, and sends a power switch command to each line controller through the wireless communication module; and each line controller passes After receiving the mains switching instruction, the wireless communication module switches the electric meter line from the generator electric meter line to the main electric meter line, switches the power supply line from the generator power supply line to the mains power supply line, and sends a handover completion message to The overall controller.
  • the embodiment of the present disclosure further includes the following steps: when detecting that the meter reading is required, the total controller sends a meter reading instruction to each line controller through the wireless communication module; each line controller receives the meter reading through the wireless communication module.
  • the utility meter data for identifying the use of the commercial power and the generator meter data for identifying the use of the generator power are respectively read from the electric meter; and the line controllers read the city through the wireless communication module.
  • the meter data and the generator meter data are sent to the overall controller for storage and display by the overall controller.
  • the mains and generator automatic switching device includes: a total controller 201 configured to issue a power switching instruction to each line controller when detecting that the current mains cannot perform normal power supply, and according to a switching completion message sent by each line controller, starting generator power supply, and transmitting power generated by the generator to the line controllers; the line controller 202 is configured to receive the power switching sent by the total controller After the command, the power supply line is switched from the mains supply line to the generator supply line, and a handover completion message is sent to the overall controller.
  • a total controller 201 configured to issue a power switching instruction to each line controller when detecting that the current mains cannot perform normal power supply, and according to a switching completion message sent by each line controller, starting generator power supply, and transmitting power generated by the generator to the line controllers
  • the line controller 202 is configured to receive the power switching sent by the total controller After the command, the power supply line is switched from the mains supply line to the generator supply line, and a handover completion message is sent to the overall controller.
  • the line controller 202 is further configured to switch the meter line from the utility meter line to the generator meter line upon receipt of the power switching command.
  • the total controller 201 is further configured to determine, according to the received handover complete message, whether all the line controllers are successfully switched, wherein if all the line controllers are successfully switched, the power generation is started. The machine is powered, and if it is judged that all the line controllers are not successfully switched, an alarm indication is issued and the generator is not started.
  • the total controller 201 is further configured to stop the generator power supply when the current city power is detected for normal power supply, and issue a power switch command to each line controller through the wireless communication module, and detect When a meter reading is required, a meter reading instruction is issued to each line controller through the wireless communication module;
  • the line controller 202 is further configured to switch the meter line from the generator meter line to the mains meter line after receiving the mains switching command, and switch the power line from the generator power line to the generator line.
  • the utility power supply line sends a handover completion message to the total controller, and after receiving the meter reading instruction, reads the utility meter data for identifying the use of the utility power and the identification for the identification from the electricity meter
  • the generator meter data of the generator power is used, and the read utility meter data and the generator meter data are sent to the overall controller for storage and display by the overall controller.
  • the total controller includes: a mains monitoring module, a single chip module, a wireless communication module, a generator control module, a power module, a meter reading module, and a display module.
  • the utility power monitoring module realizes monitoring of power-on and power-off of the utility power. When monitoring the power-off and power-off of the utility power, it sends a message to the single-chip microcomputer module to trigger a related event.
  • the MCU module is the "brain" of the overall controller, which is responsible for coordinating the operation of the various functional modules of the overall controller.
  • the MCU module is the control center of the entire controller, which controls the functions of each module and schedules the functions of each module.
  • the wireless communication module is responsible for two-way communication with the line controller, transmitting control commands, receiving control results, transmitting meter reading commands, and receiving meter reading results.
  • the communication may be short-range wireless communication, such as radio frequency (RF) communication, wireless fidelity (WiFi) communication, and Bluetooth communication.
  • RF radio frequency
  • WiFi wireless fidelity
  • Bluetooth Bluetooth
  • the generator control module is configured to receive a generator start-stop command sent by the single-chip module when the utility power and the power generation need to be switched, and control the start and stop of the generator according to the start-stop command. That is, the generator control module performs starting and stopping of the generator according to the monitoring result of the utility power monitoring module.
  • the power module is responsible for temporarily supplying power to the entire controller during a utility power outage.
  • the meter reading module is responsible for issuing a meter reading instruction to the registered line controller in a timely or real time, and receiving the meter reading result returned by the line controller and displaying the result.
  • the display module can be at the overall controller, and the display module can display the mains and power generation status. For example, the mains and power generation of the last three months can be viewed through the display module.
  • the display module can be used to view, for example, the mains or power generation situation, the utility power, and the power generation power generation, or the like, or the line controller or the like can be registered through the interface of the display module.
  • the line switcher can be configured to perform line switching in accordance with an instruction of the overall controller or each line controller. As shown in FIG. 4, the line switcher includes: a single chip module, a wireless communication module, a line switching module, a power module, a local communication module, and a manual control module.
  • the MCU module is the "brain" of the line controller, which is responsible for coordinating the operation of the various functional modules of the line controller.
  • the wireless communication module is responsible for two-way communication with the wireless communication module of the overall controller, receiving an instruction of the overall controller and returning the result of the instruction.
  • the communication may be short-range wireless communication, such as RF communication, WiFi communication, Bluetooth communication, and the like. After power-on, the wireless communication module will automatically establish and maintain a connection with the wireless communication module of the master control module.
  • the line switching module is responsible for realizing switching between the mains line and the generator line, and can also realize forward and reverse switching of the access line, which is the key to realize power generation billing and fully utilize the original line.
  • the mains line may include a mains supply line and a mains meter line
  • the generator line may include a generator supply line and a generator meter line.
  • the power module is responsible for temporarily supplying power to the entire line controller during a utility power outage.
  • the local communication module communicates with the electric meter to perform reading of electric energy data such as mains power and power generation, and the reading can be performed by RS485, ZigBee, M_Bus, or the like.
  • the manual control module is configured to perform manual line switching by the manual control module when communication fails. That is to say, in the case of preventing automatic control failure, the manual control module can manually switch the line to ensure normal power supply.
  • Embodiments of the present disclosure provide device installation and configuration, which may include the following three steps.
  • step 1 all devices are installed, including a master controller and N line controllers.
  • step 2 configure the installed device.
  • a master controller can be configured to correspond to multiple line controllers.
  • the installed N line controllers can be registered on the display module on the overall controller, and a scheduled meter reading task needs to be set.
  • step 3 when the main controller and the line controller are powered on, the total controller automatically performs wireless communication networking.
  • the line switching includes switching the mains to the generator as shown in Figure 5 and switching the generator to the mains as shown in Figure 7.
  • the specific switching control flow is described in the flowchart of the switch from the commercial power to the generator shown in FIG. 6 and the flow chart in which the generator is switched to the commercial power as shown in FIG.
  • FIG. 6 is a flow chart of switching the utility power to the generator provided by the embodiment of the present disclosure. As shown in FIG. 6, when the utility power monitoring module detects the power failure of the utility power, the total controller will automatically issue an instruction to all the line controllers. The line is switched to generate electricity, and the line that enters the meter is adjusted; when all the lines are adjusted, the generator is started and the line is powered. The process includes the following steps.
  • the master controller monitors whether the utility power is out of power, and when the utility power outage is detected, proceeds to the next step.
  • the master controller issues a line switching command to the registered line controller, which may include generator line switching and meter line switching.
  • the line controller receives the utility to generator line switching command, initiates the line switching function, and automatically detects the switching result. If the switch fails, a limited number of re-switches can be performed. After the handover is completed, the line controller returns the handover result to the overall controller.
  • the controller determines whether all the line controllers have successfully switched. If the switch is successful, the master control sends a start engine command to start the generator. If the line controller fails to switch, an alarm is issued and the engine is not automatically started.
  • the total controller MCU when the mains monitoring module of the main controller detects the mains power failure, the total controller MCU immediately sends the command to switch the mains to the generator through the wireless communication module of the main controller; After the controller's wireless communication module receives the command to switch the utility power to the generator, the line controller's MCU immediately switches the line connected to the meter through the line switching module, and then switches the mains line to the generator line. After the successful handover, the line controller's wireless communication module reports the successful result of the line switching to the general controller; after the total control receives the registered line controller switching success information, the generator control module of the total controller starts the generator. Power is supplied.
  • FIG. 8 is a flow chart of switching a generator to a commercial power provided by an embodiment of the present disclosure. As shown in Figure 8, when the mains monitoring module detects the mains recovery, the generator will automatically stop the generator and issue a line switching command to all line controllers for switching. The switching can be switched to the meter first. The line, then switch the line to the mains line. The process can include the following steps.
  • the general controller monitors whether the mains supply is powered. When the mains supply is monitored, the next step is entered.
  • the master controller sends a stop generator command to stop the generator.
  • the master controller issues a line switch command to the registered line controller for switching, which may include generator line switching and meter line switching.
  • step 804 when the line controller receives the switching command from the main controller to generate power to the mains line, the line switching function is activated and the switching result is automatically monitored. If the switch fails, the specified number of re-switches can be performed. After the switch is completed, the switch result is returned to the overall controller.
  • the overall controller receives the line switch results from the respective line controllers. If the line controller fails to switch, the controller will give an alarm.
  • the generator control module of the total controller stops the generator to generate electricity, and then the microcontroller of the total controller immediately registers with the wireless communication module of the total controller.
  • the line controller issues a command to switch the generator to the mains; after the wireless communication module of the line controller receives the command to switch the generator to the mains, the MCU module of the line controller immediately accesses the meter through the line switching module. The line is switched, and then the generator line is switched to the mains line. After the handover is successful, the line communication success result is reported to the total controller through the wireless communication module of the line controller, and the status is recorded by the overall controller.
  • FIG. 9 is a flow chart of automatic meter reading provided by an embodiment of the present disclosure. As shown in Figure 9, the process includes the following steps.
  • the master controller monitors for new automatic meter reading tasks, and if so, initiates automatic meter reading and proceeds to the next step.
  • the master controller sends a meter reading instruction to the registered line controller.
  • the line controller receives the meter reading instruction of the total controller, starts the meter reading process, sends a meter reading command to the respective local communication module, and obtains the return result of the meter. If the meter reading fails, the meter reading for the specified number of times is retried. If the number of times fails after the specified number of times, the meter reading failure information is returned. If the meter reading is successful, the correct data is returned to the master controller.
  • the total controller records the result of each line controller copying and alarms the line controller that failed to read the meter.
  • the wireless communication module of the total controller issues a meter reading command to the line controller, and the line controller wireless communication module receives the meter reading command, and is controlled by the line.
  • the MCU module of the device communicates with the electric meter through the local communication module to read the electric meter data; when the meter reading is successful, the electric power data is uploaded to the general controller through the wireless communication module of the line controller, and the data storage and data display are performed by the total controller.
  • the main controller is equipped with a main wireless communication module
  • the line controller is equipped with a sub-wireless control module.
  • the main control module performs network control according to the registered line controller when performing control.
  • the general controller issues an instruction to the line controller, and the line controller performs the relevant operations when receiving the total controller command. All operations are performed automatically without the need for manual intervention by the master controller and line controller.
  • UPS Uninterruptible Power Supply
  • Embodiments of the present disclosure also provide an apparatus for automatically switching between a mains and a generator, including a processor and a memory, wherein the processor executes one or more programs stored in the memory such that an embodiment such as the present disclosure is executed The method for automatically switching between the mains and the generator.
  • the embodiment of the present disclosure further provides a computer readable storage medium having stored thereon one or more programs, when the one or more programs are executed by one or more processors, such that execution is performed as described in the embodiments of the present disclosure.
  • the mains and generator automatic switching method is described in the embodiments of the present disclosure.
  • a scheme according to an embodiment of the present disclosure is provided with a display module, which is convenient for maintenance by a user, and can also view the user's power and power generation in real time; 2) automatic power supply monitoring can be realized, and once the utility power is found to be powered off, The follow-up automatic process can be initiated; 3) the start-stop control of the generator and all the line switching are fully automated, and the mains and power generation are automatically switched without sensing, without manual intervention, which improves the use efficiency; 4) using short-range wireless communication technology, It is possible to eliminate the need for wired deployment of the control circuit, thereby minimizing the construction difficulty, and being compatible with all the lines and equipment of the existing network, and the transformation cost is low; 5) without using additional metering equipment, the existing smart meter can be used for the utility power and The power generation is separately metered, so that the power generation can be charged by the household; 6) The total controller performs synchronous control of the

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

A method and apparatus for automatically switching between mains power and an electric generator, relating to the technical field of the intelligent use of electricity. The method comprises the following steps: a general controller sending, when detecting that the current mains power cannot supply power normally, a power supply switching instruction to each line controller (S101); after receiving the power supply switching instruction, each line controller switching a power supply line from a mains power power supply line to an electric generator power supply line, and sending a switching completion message to the general controller (S102); and the general controller starting, according to the received switching completion message, an electric generator for power supply, and transmitting the electric energy generated by the electric generator to each of the line controllers (S103).

Description

市电与发电机自动切换方法及装置Mains and generator automatic switching method and device 技术领域Technical field
本公开涉及智能用电技术领域,特别涉及一种市电与发电机自动切换方法及装置。The present disclosure relates to the field of smart power technologies, and in particular, to a method and device for automatically switching between a power supply and a generator.
背景技术Background technique
在非洲或电力匮乏地区,停电是一种常态,并且在短时间内可能无法彻底解决电力供应不足的问题。因此,非洲的不少相对富裕的家庭都自备发电机,从而当停电发生时自给发电,还有部分不太富裕的家庭联合购买发电机,以共享该发电机发生的电能。In Africa or power-poor areas, blackouts are a normal state and may not completely solve the problem of insufficient power supply in a short period of time. As a result, many relatively wealthy households in Africa have their own generators to self-sufficient power generation when power outages occur, and some less affluent households jointly purchase generators to share the electricity generated by the generators.
然而,这存在例如以下的不足和局限。例如,一旦市电停电后,需要用户手工去切换线路,以接收发电机产生的电能;若几家用户共用一台发电机时,需要逐家手工切换线路,无法做到同步切换,切换过程非常繁琐;而且,若几家共用一台发电机,无法做到分开计费,若要分开计费必须要额外布线并安装电表;并且,基本无法使用现有的室内布线网络。However, there are, for example, the following deficiencies and limitations. For example, once the utility power is cut off, the user needs to manually switch the line to receive the electric energy generated by the generator. If several users share a generator, they need to manually switch the lines manually, and cannot switch synchronously. The switching process is very It is cumbersome; moreover, if several generators are shared, it is impossible to separate billing. If separate billing is required, additional wiring and meter installation are required; and the existing indoor wiring network cannot be basically used.
发明内容Summary of the invention
根据本公开实施例提供的一种市电与发电机自动切换方法,包括以下步骤:总控制器在检测到当前市电不能进行正常供电时,向各线路控制器发出供电切换指令;各线路控制器收到所述供电切换指令后,将供电线路从市电供电线路切换到发电机供电线路,并将切换完成消息发送给所述总控制器;以及所述总控制器根据收到的所述切换完成消息,启动发电机供电,并将发电机发出的电能传送给所述各线路控制器。A method for automatically switching between a mains and a generator according to an embodiment of the present disclosure includes the following steps: the main controller sends a power supply switching instruction to each line controller when detecting that the current mains cannot perform normal power supply; After receiving the power switching instruction, the device switches the power supply line from the mains power supply line to the generator power supply line, and sends a handover complete message to the total controller; and the total controller according to the received The switching completion message starts the generator power supply and transmits the power generated by the generator to the line controllers.
根据本公开实施例提供的一种市与至发电机自动切换装置,包括:总控制器,其设置为在检测到当前市电不能进行正常供电时,向各线路控制器发出供电切换指令,并根据各线路控制器发送的切换完成消息,启动发电机供电,并将发电机发出的电能传送给所述各线路 控制器;以及线路控制器,其设置为收到总控制器发送的所述供电切换指令后,将供电线路从市电供电线路切换到发电机供电线路,并将切换完成消息发送给所述总控制器。A city-to-generator automatic switching device according to an embodiment of the present disclosure includes: a total controller configured to issue a power switching instruction to each line controller when detecting that the current mains cannot perform normal power supply, and Generating power to the generator according to a handover completion message sent by each line controller, and transmitting power generated by the generator to the line controllers; and a line controller configured to receive the power supply sent by the total controller After the switching instruction, the power supply line is switched from the mains supply line to the generator supply line, and a handover completion message is sent to the overall controller.
根据本公开实施例提供的一种市电与发电机自动切换装置,包括处理器和存储器,其中,所述处理器执行所述存储器中存储的一个或者多个程序时,使得执行如本公开实施例所述的市电与发电机自动切换方法。An apparatus for automatically switching between a mains and a generator according to an embodiment of the present disclosure includes a processor and a memory, wherein when the processor executes one or more programs stored in the memory, execution is performed as implemented in the present disclosure The method of automatic switching between mains and generators as described in the example.
根据本公开实施例提供的一种计算机可读存储介质,其上存储有一个或者多个程序,所述一个或者多个程序被一个或者多个处理器执行时,使得执行如本公开实施例所述的市电与发电机自动切换方法。A computer readable storage medium according to an embodiment of the present disclosure, on which one or more programs are stored, when the one or more programs are executed by one or more processors, such that The method of automatic switching between utility power and generator.
附图说明DRAWINGS
图1是本公开实施例提供的一种市电与发电机自动切换方法的流程图;1 is a flow chart of a method for automatically switching between a mains and a generator according to an embodiment of the present disclosure;
图2是本公开实施例提供的一种市电与发电机自动切换装置的示意图;2 is a schematic diagram of a mains and generator automatic switching device according to an embodiment of the present disclosure;
图3是本公开实施例提供的总控制器的原理框图;3 is a schematic block diagram of a general controller provided by an embodiment of the present disclosure;
图4是本公开实施例提供的线路切换器的原理框图;4 is a schematic block diagram of a line switcher according to an embodiment of the present disclosure;
图5是本公开实施例提供的市电切换到发电机的示意图;FIG. 5 is a schematic diagram of switching a utility power to a generator according to an embodiment of the present disclosure; FIG.
图6是本公开实施例提供的市电切换到发电机的流程图;6 is a flow chart of switching a commercial power to a generator provided by an embodiment of the present disclosure;
图7是本公开实施例提供的发电机切换到市电的示意图;7 is a schematic diagram of switching a generator to a commercial power provided by an embodiment of the present disclosure;
图8是本公开实施例提供的发电机切换到市电的流程图;以及8 is a flow chart of switching a generator to a commercial power provided by an embodiment of the present disclosure;
图9是本公开实施例提供的自动抄表流程图。FIG. 9 is a flow chart of automatic meter reading provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本公开,并不用于限定本公开。The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1是本公开实施例提供的一种市电与发电机自动切换方法的流程图。如图1所示,所述市电与发电机自动切换方法包括:步骤 S101-S103。FIG. 1 is a flowchart of a method for automatically switching between a mains and a generator according to an embodiment of the present disclosure. As shown in FIG. 1, the method for automatically switching between the mains and the generator includes: steps S101-S103.
在步骤S101,总控制器在检测到当前市电不能进行正常供电时,向各线路控制器发出供电切换指令。In step S101, the master controller issues a power supply switching command to each line controller when it is detected that the current mains cannot perform normal power supply.
在步骤S102,各线路控制器收到所述供电切换指令后,将供电线路从市电供电线路切换到发电机供电线路,并将切换完成消息发送给所述总控制器。In step S102, after receiving the power switching instruction, each line controller switches the power supply line from the mains power supply line to the generator power supply line, and sends a handover complete message to the total controller.
在步骤S103,所述总控制器根据收到的所述切换完成消息,启动发电机供电,并将发电机发出的电能传送给所述各线路控制器。In step S103, the overall controller starts the generator power supply according to the received handover completion message, and transmits the power generated by the generator to the line controllers.
在一个实施例中,所述各线路控制器收到所述供电切换指令后,还包括:各线路控制器通过无线通信模块收到所述供电切换指令后,将电表线路从市电电表线路切换到发电机电表线路。In an embodiment, after receiving the power switching instruction, each line controller further includes: after each line controller receives the power switching instruction by using a wireless communication module, switching the meter line from the utility meter line Go to the generator meter line.
在一个实施例中,所述总控制器根据收到的所述切换完成消息,启动发电机供电包括:所述总控制器根据收到的所述切换完成消息,判断是否所有线路控制器均切换成功;若判断所有线路控制器均切换成功,则所述总控制器启动发电机供电;若判断所有线路控制器中未均切换成功,则所述总控制器发出告警指示,并不启动发电机。In an embodiment, the total controller starts the generator power supply according to the received handover completion message, and includes: the total controller determines, according to the received handover completion message, whether all line controllers are switched. If it is determined that all the line controllers are successfully switched, the total controller starts the generator power supply; if it is determined that all the line controllers are not successfully switched, the total controller issues an alarm indication, and does not start the generator. .
本公开实施例还包括以下步骤:总控制器在检测到当前市电能进行正常供电时,停止发电机供电,并通过无线通信模块向各线路控制器发出市电切换指令;以及各线路控制器通过无线通信模块收到所述市电切换指令后,将电表线路从发电机电表线路切换到市电电表线路,将供电线路从发电机供电线路切换到市电供电线路,并将切换完成消息发送给所述总控制器。The embodiment of the present disclosure further includes the following steps: when the current controller detects the current city power for normal power supply, stops the generator power supply, and sends a power switch command to each line controller through the wireless communication module; and each line controller passes After receiving the mains switching instruction, the wireless communication module switches the electric meter line from the generator electric meter line to the main electric meter line, switches the power supply line from the generator power supply line to the mains power supply line, and sends a handover completion message to The overall controller.
本公开实施例还包括以下步骤:总控制器在检测到需要进行电表抄表时,通过无线通信模块向各线路控制器发出抄表指令;各线路控制器通过无线通信模块收到所述抄表指令后,从电表上分别读取用于标识使用市电电量的市电电表数据和用于标识使用发电机电量的发电机电表数据;以及各线路控制器通过无线通信模块将所读取的市电电表数据和发电机电表数据发送给总控制器,以便总控制器进行存储和展示。The embodiment of the present disclosure further includes the following steps: when detecting that the meter reading is required, the total controller sends a meter reading instruction to each line controller through the wireless communication module; each line controller receives the meter reading through the wireless communication module. After the command, the utility meter data for identifying the use of the commercial power and the generator meter data for identifying the use of the generator power are respectively read from the electric meter; and the line controllers read the city through the wireless communication module. The meter data and the generator meter data are sent to the overall controller for storage and display by the overall controller.
图2是本公开实施例提供的一种市电与发电机自动切换装置的 示意图。如图2所示,所述市电与发电机自动切换装置包括:总控制器201,其设置为在检测到当前市电不能进行正常供电时,向各线路控制器发出供电切换指令,并根据各线路控制器发送的切换完成消息,启动发电机供电,并将发电机发出的电能传送给所述各线路控制器;线路控制器202,其设置为收到总控制器发送的所述供电切换指令后,将供电线路从市电供电线路切换到发电机供电线路,并将切换完成消息发送给所述总控制器。2 is a schematic diagram of a mains and generator automatic switching device according to an embodiment of the present disclosure. As shown in FIG. 2, the mains and generator automatic switching device includes: a total controller 201 configured to issue a power switching instruction to each line controller when detecting that the current mains cannot perform normal power supply, and according to a switching completion message sent by each line controller, starting generator power supply, and transmitting power generated by the generator to the line controllers; the line controller 202 is configured to receive the power switching sent by the total controller After the command, the power supply line is switched from the mains supply line to the generator supply line, and a handover completion message is sent to the overall controller.
在一个实施例中,所述线路控制器202还设置为在收到所述供电切换指令后,将电表线路从市电电表线路切换到发电机电表线路。In one embodiment, the line controller 202 is further configured to switch the meter line from the utility meter line to the generator meter line upon receipt of the power switching command.
在一个实施例中,所述总控制器201还设置为根据收到的所述切换完成消息,判断是否所有线路控制器均切换成功,其中,若判断所有线路控制器均切换成功,则启动发电机供电,以及若判断所有线路控制器中未均切换成功,则发出告警指示,并不启动发电机。In an embodiment, the total controller 201 is further configured to determine, according to the received handover complete message, whether all the line controllers are successfully switched, wherein if all the line controllers are successfully switched, the power generation is started. The machine is powered, and if it is judged that all the line controllers are not successfully switched, an alarm indication is issued and the generator is not started.
在一个实施例中,所述总控制器201还设置为在检测到当前市电能进行正常供电时,停止发电机供电,并通过无线通信模块向各线路控制器发出市电切换指令,以及在检测到需要进行电表抄表时,通过无线通信模块向各线路控制器发出抄表指令;In an embodiment, the total controller 201 is further configured to stop the generator power supply when the current city power is detected for normal power supply, and issue a power switch command to each line controller through the wireless communication module, and detect When a meter reading is required, a meter reading instruction is issued to each line controller through the wireless communication module;
在一个实施例中,所述线路控制器202还设置为收到所述市电切换指令后,将电表线路从发电机电表线路切换到市电电表线路,将供电线路从发电机供电线路切换到市电供电线路,并将切换完成消息发送给所述总控制器,以及收到所述抄表指令后,从电表上分别读取用于标识使用市电电量的市电电表数据和用于标识使用发电机电量的发电机电表数据,并将所读取的市电电表数据和发电机电表数据发送给总控制器,以便总控制器进行存储和展示。In one embodiment, the line controller 202 is further configured to switch the meter line from the generator meter line to the mains meter line after receiving the mains switching command, and switch the power line from the generator power line to the generator line. The utility power supply line sends a handover completion message to the total controller, and after receiving the meter reading instruction, reads the utility meter data for identifying the use of the utility power and the identification for the identification from the electricity meter The generator meter data of the generator power is used, and the read utility meter data and the generator meter data are sent to the overall controller for storage and display by the overall controller.
图3是本公开实施例提供的总控制器的原理框图。如图3所示,所述总控制器包括:市电监测模块、单片机模块、无线通信模块、发电机控制模块、电源模块、抄表模块以及显示模块。3 is a schematic block diagram of a general controller provided by an embodiment of the present disclosure. As shown in FIG. 3, the total controller includes: a mains monitoring module, a single chip module, a wireless communication module, a generator control module, a power module, a meter reading module, and a display module.
所述市电监测模块实现对市电的上电和停电的监测,当监测到市电停电和恢复时,其向单片机模块发送消息触发相关事件。The utility power monitoring module realizes monitoring of power-on and power-off of the utility power. When monitoring the power-off and power-off of the utility power, it sends a message to the single-chip microcomputer module to trigger a related event.
所述单片机模块是总控制器的“大脑”,其负责协调总控制器 各个功能模块的运行。换句话说,所述单片机模块是整个总控制器的控制中枢,其控制着各个模块的功能,并对各个模块功能进行调度。The MCU module is the "brain" of the overall controller, which is responsible for coordinating the operation of the various functional modules of the overall controller. In other words, the MCU module is the control center of the entire controller, which controls the functions of each module and schedules the functions of each module.
所述无线通信模块负责与线路控制器进行双向通信,发送控制指令、接收控制结果、发送抄表指令和接收抄表结果等。所述通信可以是近程无线通信,例如射频(Radio Frequency,RF)通信、无线保真(Wireless Fidelity,WiFi)通信和蓝牙(Bluetooth)通信等。The wireless communication module is responsible for two-way communication with the line controller, transmitting control commands, receiving control results, transmitting meter reading commands, and receiving meter reading results. The communication may be short-range wireless communication, such as radio frequency (RF) communication, wireless fidelity (WiFi) communication, and Bluetooth communication.
所述发电机控制模块设置为当有市电和发电需要进行切换时,接收单片机模块发送的发电机起停指令,并根据起停指令控制发电机起停。即,所述发电机控制模块根据市电监测模块监测结果进行发电机的启动和停止。The generator control module is configured to receive a generator start-stop command sent by the single-chip module when the utility power and the power generation need to be switched, and control the start and stop of the generator according to the start-stop command. That is, the generator control module performs starting and stopping of the generator according to the monitoring result of the utility power monitoring module.
所述电源模块负责在市电停电期间对整个总控制器进行临时供电。The power module is responsible for temporarily supplying power to the entire controller during a utility power outage.
所述抄表模块负责定时或实时对已经注册的线路控制器下发抄表指令,并接收线路控制器返回的抄表结果并进行结果展示。The meter reading module is responsible for issuing a meter reading instruction to the registered line controller in a timely or real time, and receiving the meter reading result returned by the line controller and displaying the result.
所述显示模块可以在总控制器处,所述显示模块可以显示市电和发电状态。可以通过所述显示模块查看例如最近三个月的市电和发电电能。换句话说,可以通过所述显示模块来实时查看例如市电或者发电情况、市电和发电用电量等,或者可以通过所述显示模块的界面来注册线路控制器等。The display module can be at the overall controller, and the display module can display the mains and power generation status. For example, the mains and power generation of the last three months can be viewed through the display module. In other words, the display module can be used to view, for example, the mains or power generation situation, the utility power, and the power generation power generation, or the like, or the line controller or the like can be registered through the interface of the display module.
图4是本公开实施例提供的线路切换器的原理框图。所述线路切换器可以配置为根据总控制器或各线路控制器的指令进行线路切换。如图4所示,所述线路切换器包括:单片机模块、无线通讯模块、线路切换模块、电源模块、本地通信模块以及手动控制模块。4 is a schematic block diagram of a line switcher according to an embodiment of the present disclosure. The line switcher can be configured to perform line switching in accordance with an instruction of the overall controller or each line controller. As shown in FIG. 4, the line switcher includes: a single chip module, a wireless communication module, a line switching module, a power module, a local communication module, and a manual control module.
所述单片机模块是线路控制器的“大脑”,其负责协调线路控制器各个功能模块的运行。The MCU module is the "brain" of the line controller, which is responsible for coordinating the operation of the various functional modules of the line controller.
所述无线通讯模块负责与总控制器的无线通信模块进行双向通信,接收总控制器的指令并返回指令结果。所述通信可以是近程无线通信,例如RF通信、WiFi通信和蓝牙通信等等。上电后,无线通讯模块将自动与总控模块的无线通讯模块建立并保持连接。The wireless communication module is responsible for two-way communication with the wireless communication module of the overall controller, receiving an instruction of the overall controller and returning the result of the instruction. The communication may be short-range wireless communication, such as RF communication, WiFi communication, Bluetooth communication, and the like. After power-on, the wireless communication module will automatically establish and maintain a connection with the wireless communication module of the master control module.
所述线路切换模块负责实现在市电线路和发电机线路之间的切 换,其也可以实现对接入线路的正反向切换,所述切换是实现发电计费以及充分利用原有线路的关键。所述市电线路可以包括市电供电线路和市电电表线路,所述发电机线路可以包括发电机供电线路和发电机电表线路。The line switching module is responsible for realizing switching between the mains line and the generator line, and can also realize forward and reverse switching of the access line, which is the key to realize power generation billing and fully utilize the original line. . The mains line may include a mains supply line and a mains meter line, and the generator line may include a generator supply line and a generator meter line.
所述电源模块负责在市电停电期间对整个线路控制器进行临时供电。The power module is responsible for temporarily supplying power to the entire line controller during a utility power outage.
所述本地通信模块与电表进行通信,以实现市电和发电等电能数据的抄读,所述抄读可以通过RS485、ZigBee、M_Bus等方式。The local communication module communicates with the electric meter to perform reading of electric energy data such as mains power and power generation, and the reading can be performed by RS485, ZigBee, M_Bus, or the like.
所述手动控制模块设置为当通讯失败时,通过所述手动控制模块进行线路手动切换。也就是说,在预防自动控制失效情况下,通过所述手动控制模块能手动对线路进行切换,以保证正常供电。The manual control module is configured to perform manual line switching by the manual control module when communication fails. That is to say, in the case of preventing automatic control failure, the manual control module can manually switch the line to ensure normal power supply.
本公开实施例提供了设备安装与配置,所述安装与配置可以包括以下3个步骤。Embodiments of the present disclosure provide device installation and configuration, which may include the following three steps.
在步骤1,安装所有的设备,所述设备包括一个总控制器及N个线路控制器。In step 1, all devices are installed, including a master controller and N line controllers.
在步骤2,对安装的设备进行配置。一个总控制器可以配置为对应多个线路控制器。在该步骤处,可以在总控制器上的显示模块上注册安装的N个线路控制器,还需要设置定时抄表任务。In step 2, configure the installed device. A master controller can be configured to correspond to multiple line controllers. At this step, the installed N line controllers can be registered on the display module on the overall controller, and a scheduled meter reading task needs to be set.
在步骤3,当总控制器和线路控制器都上电后,总控制器会自动进行无线通信组网。In step 3, when the main controller and the line controller are powered on, the total controller automatically performs wireless communication networking.
线路切换包括如图5所示的市电切换到发电机和如图7所示的发电机切换到市电。具体的切换控制流程在由图6所示的市电切换到发电机的流程图和如图8所示的发电机切换到市电的流程图进行描述。The line switching includes switching the mains to the generator as shown in Figure 5 and switching the generator to the mains as shown in Figure 7. The specific switching control flow is described in the flowchart of the switch from the commercial power to the generator shown in FIG. 6 and the flow chart in which the generator is switched to the commercial power as shown in FIG.
图6是本公开实施例提供的市电切换到发电机的流程图,如图6所示,当市电监测模块监测到市电停电,总控制器将自动对所有线路控制器发出指令,将线路切换至发电,并将进入电表的线路进行调整;当所有线路调整完毕,启动发电机,对线路进行供电。所述过程包括以下步骤。6 is a flow chart of switching the utility power to the generator provided by the embodiment of the present disclosure. As shown in FIG. 6, when the utility power monitoring module detects the power failure of the utility power, the total controller will automatically issue an instruction to all the line controllers. The line is switched to generate electricity, and the line that enters the meter is adjusted; when all the lines are adjusted, the generator is started and the line is powered. The process includes the following steps.
首先,在一个步骤处,总控制器监测市电是否停电,当监测到 市电停电时,进入下一步骤。First, at one step, the master controller monitors whether the utility power is out of power, and when the utility power outage is detected, proceeds to the next step.
接下来,在一个步骤处,市电停电后,总控制器对已注册的线路控制器下发线路切换指令,所述线路切换可以包括发电机线路切换和电表线路切换。Next, at one step, after the utility power is cut off, the master controller issues a line switching command to the registered line controller, which may include generator line switching and meter line switching.
接下来,在一个步骤处,线路控制器接收到市电到发电机线路切换指令,启动线路切换功能,并自动检测切换结果。若切换失败,可以进行有限次重新切换。在切换完毕后,线路控制器向总控制器返回切换结果。Next, at one step, the line controller receives the utility to generator line switching command, initiates the line switching function, and automatically detects the switching result. If the switch fails, a limited number of re-switches can be performed. After the handover is completed, the line controller returns the handover result to the overall controller.
最后,在一个步骤处,总控制器接收到各个线路控制器返回线路切换结果后,判断是否所有的线路控制器都切换成功。如果切换成功,总控制就发送启动发动机指令启动发电机。若有线路控制器切换失败,进行告警,并且不会自动启动发动机。Finally, at one step, after receiving the line switching result from each line controller, the controller determines whether all the line controllers have successfully switched. If the switch is successful, the master control sends a start engine command to start the generator. If the line controller fails to switch, an alarm is issued and the engine is not automatically started.
总而言之,当总控制器的市电监测模块监测到市电停电时,总控制器单片机立即通过总控制器的无线通信模块向已经注册的线路控制器下发市电切换到发电机的指令;线路控制器的无线通讯模块接收到市电切换到发电机的指令后,线路控制器的单片机立即通过线路切换模块首先将接入电表的线路进行切换,然后再将市电线路切换到发电机线路,切换成功后,通过线路控制器的无线通讯模块将线路切换成功结果上报到总控制器;总控制接收到所注册的线路控制器切换成功信息后,由总控制器的发电机控制模块启动发电机进行供电。In summary, when the mains monitoring module of the main controller detects the mains power failure, the total controller MCU immediately sends the command to switch the mains to the generator through the wireless communication module of the main controller; After the controller's wireless communication module receives the command to switch the utility power to the generator, the line controller's MCU immediately switches the line connected to the meter through the line switching module, and then switches the mains line to the generator line. After the successful handover, the line controller's wireless communication module reports the successful result of the line switching to the general controller; after the total control receives the registered line controller switching success information, the generator control module of the total controller starts the generator. Power is supplied.
图8是本公开实施例提供的发电机切换到市电的流程图。如图8所示,当市电监测模块监测到市电恢复时,将由总控制器来自动停止发电机,并对所有线路控制器发出线路切换指令以进行切换,所述切换可以先切换进入电表的线路,再将线路切换至市电线路。所述过程可以包括以下步骤。FIG. 8 is a flow chart of switching a generator to a commercial power provided by an embodiment of the present disclosure. As shown in Figure 8, when the mains monitoring module detects the mains recovery, the generator will automatically stop the generator and issue a line switching command to all line controllers for switching. The switching can be switched to the meter first. The line, then switch the line to the mains line. The process can include the following steps.
首先,在一个步骤处,总控制器监测市电是否供电,当监测到市电正常供电时,进入下一步骤。First, at one step, the general controller monitors whether the mains supply is powered. When the mains supply is monitored, the next step is entered.
接下来,在一个步骤处,市电正常供电后,总控制器发送停止发电机指令以停止发电机。Next, at one step, after the mains supply is normally powered, the master controller sends a stop generator command to stop the generator.
接下来,在一个步骤处,当发电机停止后,总控制器对已注册 的线路控制器下发线路切换指令以进行切换,所述线路切换可以包括发电机线路切换和电表线路切换。Next, at one step, when the generator is stopped, the master controller issues a line switch command to the registered line controller for switching, which may include generator line switching and meter line switching.
接下来,在一个步骤804处,当线路控制器接收到总控制器发电到市电线路的切换指令时,启动线路切换功能,并自动监测切换结果。若切换失败,可以进行指定次数的重新切换。切换完毕后,向总控制器返回切换结果。Next, at a step 804, when the line controller receives the switching command from the main controller to generate power to the mains line, the line switching function is activated and the switching result is automatically monitored. If the switch fails, the specified number of re-switches can be performed. After the switch is completed, the switch result is returned to the overall controller.
最后,在一个步骤805处,总控制器接收到各个线路控制器返回线路切换结果。若有线路控制器切换失败,则总控制器进行告警。Finally, at a step 805, the overall controller receives the line switch results from the respective line controllers. If the line controller fails to switch, the controller will give an alarm.
总而言之,当总控制器的市电监测模块监测到市电恢复时,由总控制器的发电机控制模块停止发电机发电,然后总控制器的单片机立即通过总控制器的无线通信模块向已经注册的线路控制器下发发电机切换到市电的指令;线路控制器的无线通信模块接收到发电机切换到市电的指令后,线路控制器的单片机模块立即通过线路切换模块将接入电表的线路进行切换,然后再将发电机线路切换到市电线路,切换成功后,通过线路控制器的无线通信模块将线路切换成功结果上报到总控制器,由总控制器记录状态。In summary, when the mains monitoring module of the main controller detects the mains recovery, the generator control module of the total controller stops the generator to generate electricity, and then the microcontroller of the total controller immediately registers with the wireless communication module of the total controller. The line controller issues a command to switch the generator to the mains; after the wireless communication module of the line controller receives the command to switch the generator to the mains, the MCU module of the line controller immediately accesses the meter through the line switching module. The line is switched, and then the generator line is switched to the mains line. After the handover is successful, the line communication success result is reported to the total controller through the wireless communication module of the line controller, and the status is recorded by the overall controller.
图9是本公开实施例提供的自动抄表流程图。如图9所示,所述过程包括以下步骤。FIG. 9 is a flow chart of automatic meter reading provided by an embodiment of the present disclosure. As shown in Figure 9, the process includes the following steps.
首先,在一个步骤处,总控制器上监控是否有新的自动抄表任务,若有,则启动自动抄表,并进入下一步骤。First, at one step, the master controller monitors for new automatic meter reading tasks, and if so, initiates automatic meter reading and proceeds to the next step.
接下来,在一个步骤处,总控制器向已注册的线路控制器发送抄表指令。Next, at one step, the master controller sends a meter reading instruction to the registered line controller.
接下来,在一个步骤处,线路控制器接收到总控制器的抄表指令,启动抄表流程,向各自的本地通信模块发送抄表命令,并获取电表的返回结果。若抄表失败,则重试指定次数的抄表,若指定次数后仍失败,则返回抄表失败信息。若抄表成功,则向总控制器返回正确的数据。Next, at one step, the line controller receives the meter reading instruction of the total controller, starts the meter reading process, sends a meter reading command to the respective local communication module, and obtains the return result of the meter. If the meter reading fails, the meter reading for the specified number of times is retried. If the number of times fails after the specified number of times, the meter reading failure information is returned. If the meter reading is successful, the correct data is returned to the master controller.
最后,在一个步骤处,总控制器接收到各个线路控制器的抄表返回结果后,分别记录各个线路控制器抄回结果,并对抄表失败的线路控制器进行告警。Finally, at one step, after receiving the meter reading result of each line controller, the total controller records the result of each line controller copying and alarms the line controller that failed to read the meter.
总而言之,当总控制器的定时或实时抄表任务启动时,通过总控制器的无线通讯模块下发抄表指令到线路控制器,线路控制器无线通信模块接收到抄表指令时,由线路控制器的单片机模块通过本地通信模块与电表通信抄读电表数据;当抄表成功后,通过线路控制器的无线通信模块将电量数据上传到总控制器,由总控制器进行数据存储和数据展示。In summary, when the timing of the total controller or the real-time meter reading task is started, the wireless communication module of the total controller issues a meter reading command to the line controller, and the line controller wireless communication module receives the meter reading command, and is controlled by the line. The MCU module of the device communicates with the electric meter through the local communication module to read the electric meter data; when the meter reading is successful, the electric power data is uploaded to the general controller through the wireless communication module of the line controller, and the data storage and data display are performed by the total controller.
综上所述,总控制器上安装有主无线通讯模块,线路控制器安装有子无线控制模块。设备初始安装时,需要通过总控制器的显示控制模块来注册线路控制器,总控制模块在进行控制时会根据注册的线路控制器进行组网控制。当需要进行市电和发电进行切换时,由总控制器向线路控制器发出指令,线路控制器接收到总控制器指令时进行相关的操作。所有的操作过程无需人工进行干预,由总控制器和线路控制器自动完成。在用户在负载前增加不间断电源(Uninterruptible Power System/Uninterruptible Power Supply,UPS)的情况下,可以做到用户无感知线路切换。In summary, the main controller is equipped with a main wireless communication module, and the line controller is equipped with a sub-wireless control module. When the equipment is initially installed, the line controller needs to be registered through the display control module of the main controller. The main control module performs network control according to the registered line controller when performing control. When the mains and power generation need to be switched, the general controller issues an instruction to the line controller, and the line controller performs the relevant operations when receiving the total controller command. All operations are performed automatically without the need for manual intervention by the master controller and line controller. In the case where the user adds an uninterruptible power supply (Uninterruptible Power System/Uninterruptible Power Supply, UPS) before the load, the user can perform the senseless line switching.
本公开实施例还提供一种市电与发电机自动切换装置,包括处理器和存储器,其中,所述处理器执行所述存储器中存储的一个或者多个程序时,使得执行如本公开实施例所述的市电与发电机自动切换方法。Embodiments of the present disclosure also provide an apparatus for automatically switching between a mains and a generator, including a processor and a memory, wherein the processor executes one or more programs stored in the memory such that an embodiment such as the present disclosure is executed The method for automatically switching between the mains and the generator.
本公开实施例还提供一种计算机可读存储介质,其上存储有一个或者多个程序,所述一个或者多个程序被一个或者多个处理器执行时,使得执行如本公开实施例所述的市电与发电机自动切换方法。The embodiment of the present disclosure further provides a computer readable storage medium having stored thereon one or more programs, when the one or more programs are executed by one or more processors, such that execution is performed as described in the embodiments of the present disclosure. The mains and generator automatic switching method.
根据本公开实施例提供的方案,可以具有如下有益效果。例如,1)根据本公开实施例的方案具备显示模块,用户维护方便,还可以实时查看用户的市电和发电用电情况;2)可以实现市电自动监测,一旦发现市电停电后,即可发起后续自动流程;3)发电机的启停控制和所有的线路切换完全实现自动化,市电和发电无感知自动切换,无需人工干预,提升了使用效率;4)采用近距离无线通信技术,可以无需对控制线路进行有线部署,从而最大限度的减少施工难度,且能够兼容现网所有线路和设备、改造成本低;5)无需额外安装计量 设备,使用现有的智能电表能够对市电和发电分别计量,即可实现发电按户计费;6)总控制器通过无线方式对线路控制装置进行同步控制,安装简单,无需额外布线,工程施工方便且成本低。According to the solution provided by the embodiment of the present disclosure, the following beneficial effects can be obtained. For example, 1) a scheme according to an embodiment of the present disclosure is provided with a display module, which is convenient for maintenance by a user, and can also view the user's power and power generation in real time; 2) automatic power supply monitoring can be realized, and once the utility power is found to be powered off, The follow-up automatic process can be initiated; 3) the start-stop control of the generator and all the line switching are fully automated, and the mains and power generation are automatically switched without sensing, without manual intervention, which improves the use efficiency; 4) using short-range wireless communication technology, It is possible to eliminate the need for wired deployment of the control circuit, thereby minimizing the construction difficulty, and being compatible with all the lines and equipment of the existing network, and the transformation cost is low; 5) without using additional metering equipment, the existing smart meter can be used for the utility power and The power generation is separately metered, so that the power generation can be charged by the household; 6) The total controller performs synchronous control of the line control device by wireless, and the installation is simple, no additional wiring is required, and the construction is convenient and the cost is low.
尽管上文对本公开进行了详细说明,但是本公开不限于此,本技术领域技术人员可以根据本公开的原理进行各种修改。因此,凡按照本公开原理所作的修改,都应当理解为落入本公开的保护范围。Although the present disclosure has been described in detail above, the present disclosure is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the present disclosure. Therefore, modifications made in accordance with the principles of the present disclosure are to be understood as falling within the scope of the present disclosure.

Claims (12)

  1. 一种市电与发电机自动切换方法,包括以下步骤:A method for automatically switching between a mains and a generator includes the following steps:
    总控制器在检测到当前市电不能进行正常供电时,向各线路控制器发出供电切换指令;When the total controller detects that the current mains cannot perform normal power supply, it sends a power switching instruction to each line controller;
    各线路控制器收到所述供电切换指令后,将供电线路从市电供电线路切换到发电机供电线路,并将切换完成消息发送给所述总控制器;以及After receiving the power switching instruction, each line controller switches the power supply line from the utility power supply line to the generator power supply line, and sends a handover completion message to the total controller;
    所述总控制器根据收到的所述切换完成消息,启动发电机供电,并将发电机发出的电能传送给所述各线路控制器。The master controller starts the generator power supply according to the received handover completion message, and transmits the power generated by the generator to the line controllers.
  2. 根据权利要求1所述的方法,在所述各线路控制器收到所述供电切换指令的步骤后,还包括以下步骤:The method according to claim 1, after the step of receiving the power switching instruction by the line controllers, the method further includes the following steps:
    各线路控制器通过无线通信模块收到所述供电切换指令后,将电表线路从市电电表线路切换到发电机电表线路。After receiving the power switching instruction by the wireless communication module, each line controller switches the meter line from the utility meter line to the generator meter line.
  3. 根据权利要求2所述的方法,所述总控制器根据收到的所述切换完成消息,启动发电机供电的步骤包括以下步骤:The method according to claim 2, wherein the step of starting the power supply of the generator according to the received handover completion message by the overall controller comprises the following steps:
    所述总控制器根据收到的所述切换完成消息,判断是否所有线路控制器均切换成功,其中,The master controller determines, according to the received handover complete message, whether all line controllers are successfully switched, wherein
    若判断所有线路控制器均切换成功,则所述总控制器启动发电机供电,并且If it is determined that all line controllers are successfully switched, the total controller starts the generator power supply, and
    若判断所有线路控制器中未均切换成功,则所述总控制器发出告警指示,并不启动发电机。If it is determined that all of the line controllers are not successfully switched, the total controller issues an alarm indication and does not start the generator.
  4. 根据权利要求1所述的方法,还包括以下步骤:The method of claim 1 further comprising the steps of:
    总控制器在检测到当前市电能进行正常供电时,停止发电机供电,并通过无线通信模块向各线路控制器发出市电切换指令;以及When the total controller detects the current city power for normal power supply, the generator power supply is stopped, and a power switch command is issued to each line controller through the wireless communication module;
    各线路控制器通过无线通信模块收到所述市电切换指令后,将电表线路从发电机电表线路切换到市电电表线路,将供电线路从发电 机供电线路切换到市电供电线路,并将切换完成消息发送给所述总控制器。After receiving the mains switching instruction through the wireless communication module, each line controller switches the meter line from the generator meter line to the main meter line, and switches the power line from the generator power line to the mains line, and A handover complete message is sent to the overall controller.
  5. 根据权利要求1所述的方法,还包括以下步骤:The method of claim 1 further comprising the steps of:
    总控制器在检测到需要进行电表抄表时,通过无线通信模块向各线路控制器发出抄表指令;The master controller sends a meter reading instruction to each line controller through the wireless communication module when detecting that meter reading is required;
    各线路控制器通过无线通信模块收到所述抄表指令后,从电表上分别读取用于标识使用市电电量的市电电表数据和用于标识使用发电机电量的发电机电表数据;以及After receiving the meter reading instruction by the wireless communication module, each line controller reads, from the meter, the utility meter data for identifying the utility power usage and the generator meter data for identifying the power consumption of the generator;
    各线路控制器通过无线通信模块将所读取的市电电表数据和发电机电表数据发送给总控制器,以便总控制器进行存储和展示。Each line controller transmits the read utility meter data and generator meter data to the overall controller through the wireless communication module for the general controller to store and display.
  6. 一种市电与发电机自动切换装置,包括:An automatic switching device for utility power and generator, comprising:
    总控制器,其设置为在检测到当前市电不能进行正常供电时,向各线路控制器发出供电切换指令,并根据各线路控制器发送的切换完成消息,启动发电机供电,并将发电机发出的电能传送给所述各线路控制器;以及The total controller is configured to issue a power supply switching instruction to each line controller when detecting that the current utility power cannot be normally powered, and start the generator power supply according to the switching completion message sent by each line controller, and start the generator The emitted electrical energy is delivered to the line controllers;
    线路控制器,其设置为收到总控制器发送的所述供电切换指令后,将供电线路从市电供电线路切换到发电机供电线路,并将切换完成消息发送给所述总控制器。The line controller is configured to, after receiving the power switching instruction sent by the total controller, switch the power supply line from the mains power supply line to the generator power supply line, and send a handover complete message to the total controller.
  7. 根据权利要求6所述的装置,所述线路控制器还设置为收到所述供电切换指令后,将电表线路从市电电表线路切换到发电机电表线路。The apparatus of claim 6, the line controller further configured to switch the meter line from the utility meter line to the generator meter line after receiving the power switching command.
  8. 根据权利要求7所述的装置,所述总控制器设置为:根据收到的所述切换完成消息,判断是否所有线路控制器均切换成功,其中,若判断所有线路控制器均切换成功,则启动发电机供电,以及若判断所有线路控制器中未均切换成功,则发出告警指示,并不启动发电机。The apparatus according to claim 7, wherein the total controller is configured to: according to the received handover complete message, determine whether all line controllers are successfully switched, wherein if it is determined that all line controllers are successfully switched, then The generator is powered on, and if it is determined that all of the line controllers have not been successfully switched, an alarm indication is issued and the generator is not started.
  9. 根据权利要求6所述的装置,所述总控制器还设置为在检测到当前市电能进行正常供电时,停止发电机供电,并通过无线通信模块向各线路控制器发出市电切换指令,以及在检测到需要进行电表抄表时,通过无线通信模块向各线路控制器发出抄表指令。The apparatus according to claim 6, wherein the total controller is further configured to stop the power supply of the generator when the current city power is detected for normal power supply, and issue a power-off switching instruction to each line controller through the wireless communication module, and When it is detected that the meter reading is required, the meter reading instruction is issued to each line controller through the wireless communication module.
  10. 根据权利要求9所述的装置,所述线路控制器还设置为收到所述市电切换指令后,将电表线路从发电机电表线路切换到市电电表线路,将供电线路从发电机供电线路切换到市电供电线路,并将切换完成消息发送给所述总控制器,以及收到所述抄表指令后,从电表上分别读取用于标识使用市电电量的市电电表数据和用于标识使用发电机电量的发电机电表数据,并将所读取的市电电表数据和发电机电表数据发送给总控制器,以便总控制器进行存储和展示。The device according to claim 9, wherein the line controller is further configured to switch the meter line from the generator meter line to the mains meter line after receiving the mains switching command, and to supply the power line from the generator power supply line. Switching to the mains power supply line, and transmitting a handover completion message to the total controller, and after receiving the meter reading instruction, reading the utility meter data for identifying the use of the municipal power source and using the meter separately The generator meter data identifying the generator power is used, and the read utility meter data and the generator meter data are sent to the overall controller for storage and display by the overall controller.
  11. 一种市电与发电机自动切换装置,包括处理器和存储器,其中,An automatic switching device for a mains and a generator, comprising a processor and a memory, wherein
    所述处理器执行所述存储器中存储的一个或者多个程序时,使得执行如权利要求1至5中任一项所述的市电与发电机自动切换方法。The processor executes one or more programs stored in the memory such that the method of automatically switching between the mains and the generator according to any one of claims 1 to 5 is performed.
  12. 一种计算机可读存储介质,其上存储有一个或者多个程序,所述一个或者多个程序被一个或者多个处理器执行时,使得执行如权利要求1至5中任一项所述的市电与发电机自动切换方法。A computer readable storage medium having stored thereon one or more programs, the one or more programs being executed by one or more processors, such that performing the method of any one of claims 1 to 5 Automatic switching method between mains and generators.
PCT/CN2018/107700 2017-09-26 2018-09-26 Method and apparatus for automatically switching between mains power and electric generator WO2019062772A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710879796.6A CN109560606A (en) 2017-09-26 2017-09-26 A kind of alternating current power generation automatic switching method and device
CN201710879796.6 2017-09-26

Publications (1)

Publication Number Publication Date
WO2019062772A1 true WO2019062772A1 (en) 2019-04-04

Family

ID=65862717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/107700 WO2019062772A1 (en) 2017-09-26 2018-09-26 Method and apparatus for automatically switching between mains power and electric generator

Country Status (2)

Country Link
CN (1) CN109560606A (en)
WO (1) WO2019062772A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111313558A (en) * 2020-03-25 2020-06-19 中铁二十四局集团有限公司 Intelligent power supply system and method for bridge construction site
CN114038123A (en) * 2021-10-14 2022-02-11 北京市燃气集团有限责任公司 Method and device for switching charge control modes of non-civil intelligent gas meter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6593670B2 (en) * 2000-12-22 2003-07-15 William J. Anderson Automatic transfer switch and engine control
CN102468685A (en) * 2010-11-19 2012-05-23 中兴通讯股份有限公司 Power supply system
CN103384081A (en) * 2013-06-25 2013-11-06 常州市俊宏电器厂 Device and method for controlling generator and mains supply to supply power to loads
CN104155495A (en) * 2013-05-13 2014-11-19 苏州工业园区新宏博通讯科技有限公司 Commercial power and oil engine power meter
CN106688155A (en) * 2014-09-04 2017-05-17 伊顿公司 System and method for switching an electrical system to backup power during a utility power outage

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1482618A1 (en) * 2002-02-14 2004-12-01 Yanmar Co. Ltd. Power source switching unit and power source management system comprising it
US9276408B2 (en) * 2010-10-29 2016-03-01 Eaton Corporation Automatic transfer switch responsive to serial communication message and power system including the same
CN205725135U (en) * 2016-03-15 2016-11-23 重庆瑞升康博电气有限公司 Three-phase intelligent seamless auto switching device for dual-electric source
CN106300644B (en) * 2016-09-23 2018-08-28 浙江中富电气有限公司 A kind of power supply switch circuit and automatic divide-shut brake intelligent breaker

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6593670B2 (en) * 2000-12-22 2003-07-15 William J. Anderson Automatic transfer switch and engine control
CN102468685A (en) * 2010-11-19 2012-05-23 中兴通讯股份有限公司 Power supply system
CN104155495A (en) * 2013-05-13 2014-11-19 苏州工业园区新宏博通讯科技有限公司 Commercial power and oil engine power meter
CN103384081A (en) * 2013-06-25 2013-11-06 常州市俊宏电器厂 Device and method for controlling generator and mains supply to supply power to loads
CN106688155A (en) * 2014-09-04 2017-05-17 伊顿公司 System and method for switching an electrical system to backup power during a utility power outage

Also Published As

Publication number Publication date
CN109560606A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN101950008A (en) Method for remotely and dynamically monitoring electric energy metering load
CN107610485A (en) A kind of radio communication traffic-control unit and control method
CN206819090U (en) Controller for electric consumption under a kind of timesharing
WO2019062772A1 (en) Method and apparatus for automatically switching between mains power and electric generator
JP5989436B2 (en) Energy management system, energy management apparatus, control method, and program
CN207624162U (en) A kind of wireless communication traffic-control unit
CN112327732A (en) Smart building interior micro-edge service control method and system and electronic equipment
CN109089353A (en) Illuminalive power-supply control system, method and illuminator
CN102548134B (en) Digital addressable lighting system and method integrating functions of safety protection and emergency recourse
CN105122736A (en) Systems and methods for master arbitration
CN204044953U (en) A kind of door magnetic panalarm
CN106787225B (en) Energy storage device for electric automobile quick charging
CN203260838U (en) Special energy-saving power strip for computer and television
CN203205969U (en) Multi-energy and multi-mode uninterruptible power supply based on CAN bus
CN111831094A (en) Complete machine power-off and abnormal restarting system
CN116095622A (en) Time slice-based pressing plate information transmission method and system
CN110224403B (en) Dual-power household meter alignment method, device and system
CN110187698A (en) The intelligent electric power unit of vehicle-mounted train control system
CN207689896U (en) Heat exchange station new controller
CN218446420U (en) Novel energy management system
CN221531082U (en) Intelligent energy terminal
CN204537325U (en) A kind of power information inquiry unit
CN113411408B (en) Data processing method, integrated controller host and data processing system
CN215956109U (en) State determining system of backup power supply
CN221042381U (en) Internet of things charging station for electric tool

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18861941

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18861941

Country of ref document: EP

Kind code of ref document: A1