Disclosure of Invention
The invention aims to provide a three-phase imbalance adjusting system and a distribution room identification method thereof, which are used for solving the technical problems.
In order to achieve the purpose, the invention adopts the following technical scheme:
a three-phase unbalance adjusting system comprises a plurality of transformer areas, wherein any transformer area comprises a main control device, a communication module and a plurality of phase change devices, the plurality of phase change devices are in communication connection with the main control device, the main control device comprises a first controller, a first timing module and a decision module, the first timing module is used for generating a first electrified time value of the transformer area, the decision module is used for generating a phase change command, the first timing module and the decision module are both electrically connected with the first controller, and the first controller is used for integrating the first time value and the phase change command to generate a first communication protocol frame;
the phase change device comprises a second controller used for generating feedback information, a second timing module used for generating a second electrified time value of the transformer area and a phase change operation module used for executing the phase change command, wherein the second timing module and the phase change operation module are both electrically connected with the second controller; the second controller is configured to integrate the second time value and the feedback information to generate a second communication protocol frame.
Optionally, the communication module includes a wireless communication module and/or a wired communication module.
Optionally, the wireless communication module includes a 433MHz wireless radio frequency signal communicator, and the wired communication module includes an RS485 wired communicator.
Optionally, the first communication protocol frame includes a frame header, a first identification code, a first frame content, and a frame tail, which are sequentially set; wherein the first identification code comprises the first time value, and the first frame content comprises the commutation command;
the second communication protocol frame comprises a frame header, a second identification code, a second frame content and a frame tail which are sequentially arranged, the second identification code comprises the second time value, and the second frame content comprises the feedback information.
A platform area identification method of a three-phase unbalance adjustment system is applied to the three-phase unbalance adjustment system and comprises the following steps:
step 1, the first timing module operates to generate a first time value, and the second timing module operates to generate a second time value;
step 2, the decision module generates a commutation command and sends the commutation command to a first controller, the first controller integrates the first time value and the commutation command and performs data conversion to generate a first communication protocol frame, and the master control device sends the first communication protocol frame to a plurality of commutation devices through the communication module;
step 3, any one of the plurality of commutation devices receives the first communication protocol frame, and the commutation device judges whether the commutation device and the main control device which sends the first communication protocol frame are positioned in the same station area or not according to the first communication protocol frame;
if so, the commutation operation module executes the commutation command;
if not, the phase changing device discards the first communication protocol frame.
Optionally, step 1 specifically includes:
the first timing module and the second timing module run and judge whether the zero clearing marks of the first timing module and the second timing module are set or not;
if so, respectively resetting the first timing module and the second timing module, and respectively reading the readings of the first timing module and the second timing module to generate a first time value and a second time value;
and if not, respectively reading the readings of the first timing module and the second timing module to generate a first time value and a second time value.
Optionally, step 3 specifically includes:
any one of the plurality of commutation devices receives the first communication protocol frame and judges the communication type of the first communication protocol frame;
if the first communication protocol frame is in wired communication, the main control device and the commutation device are located in the same station area, and the commutation operation module executes the commutation command;
if the first communication protocol frame is in wireless communication, judging whether the difference value between the first time value and the second time value is within an error allowable range;
if yes, the master control device and the commutation device are located in the same platform area, and the commutation operation module executes the commutation command;
if not, the master control device and the phase change device are located in different transformer areas, and the phase change device discards the first communication protocol frame.
Optionally, the method further includes:
step 4, the commutation device operates to generate feedback information, the second controller integrates the feedback information and the second time value to generate a second communication protocol frame, and the commutation device sends the second communication protocol frame to the plurality of main control devices through the communication module;
step 5, any one of the plurality of master control devices receives the second communication protocol frame, and the master control device judges whether the master control device and the phase change device which sends the second communication protocol frame are positioned in the same station area or not according to the second communication protocol frame;
if so, the main control device analyzes and stores the feedback information;
if not, the main control device discards the second communication protocol frame.
Optionally, step 4 further includes:
the phase change device sends the second communication protocol frame to a plurality of phase change devices through the communication module, and any one of the phase change devices receives the second communication protocol frame and judges whether the second communication protocol frame is relay communication;
if yes, the commutation device directly sends the second communication protocol frame to any commutation device or the master control device;
if not, executing the next step.
Optionally, the step 5 specifically includes:
any one of the plurality of main control devices receives the second communication protocol frame and judges whether the return time of the second communication protocol frame exceeds a preset time value;
if yes, the commutation device and the master control device are located in different transformer areas, and the master control device discards the second communication protocol frame;
if not, judging the communication type of the second communication protocol frame;
if the second communication protocol frame is in wired communication, the phase change device and the main control device are located in the same station area, and the main control device stores the feedback information;
if the first communication protocol frame is in wireless communication, judging whether the difference value of the second time value and the first time value is within an error allowable range;
if so, the commutation device and the master control device are positioned in the same station area, and the master control device analyzes the feedback information;
if not, the commutation device and the main control device are located in different transformer areas, and the main control device discards the second communication protocol frame.
Compared with the prior art, the invention has the following beneficial effects: when the intelligent power distribution system works, the first timing module and the second timing module respectively record the power transmission time of the local area and the number of milliseconds of the current time as identification information of the local area; if the power supply equipment of a plurality of transformer areas have an overlapping range, when the main control device and the phase change device are in information communication, the identification information can be used for distinguishing whether the main control device and the phase change device are the same transformer area equipment, if the main control device and the phase change device are located in different transformer areas, the communication information between the main control device and the phase change device is not read, and then the power supply equipment of each transformer area can normally operate, the problem of disordered system communication is avoided, and the power utilization safety of users is ensured.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. It should be noted that when one component is referred to as being "connected" to another component, it can be directly connected to the other component or intervening components may also be present.
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
The first embodiment is as follows:
the embodiment of the invention provides a three-phase unbalance adjusting system, which comprises a plurality of transformer areas, wherein any transformer area comprises a main control device, a communication module and a plurality of phase change devices, the plurality of phase change devices are in communication connection with the main control device, the main control device comprises a first controller, a first timing module and a decision module, the first timing module is used for generating a first electrified time value of the transformer area, the decision module is used for generating a phase change command, the first timing module and the decision module are electrically connected with the first controller, and the first controller is used for integrating the first time value and the phase change command to generate a first communication protocol frame; the distribution area is a basic unit of a power supply network, a transformer is used as a center, and a set of a user distribution area and a user using the transformer for power supply is called a distribution area.
The phase change device comprises a second controller used for generating feedback information, a second timing module used for generating a second electrified time value of the transformer area and a phase change operation module used for executing a phase change command, wherein the second timing module and the phase change operation module are electrically connected with the second controller; the second controller is used for integrating a second time value and the feedback information to generate a second communication protocol frame, and when the main control device and the phase change device are located in the same area, the first time value and the second time value are equal.
When the three-phase imbalance adjusting system works, because the three-phase imbalance adjusting system needs to be installed in a power failure mode when phase changing work is carried out, power is transmitted uniformly after the phase changing work is finished, and one transformer is used for supplying power to one transformer area, so that the power supply time of all equipment in the same transformer area is the same, and the power transmission time of the transformer area and the millisecond number of the current time are respectively recorded by the first timing module and the second timing module to serve as the identification information of the transformer area; if the power supply equipment in a plurality of transformer areas has an overlapping range, when the main control device and the commutation device carry out information communication, the identification information can be used for distinguishing whether the main control device and the commutation device are the same transformer area equipment, if the main control device and the commutation device are positioned in different transformer areas, the communication information between the main control device and the commutation device is not read, and then the power supply equipment in each transformer area can normally run, the problem of disordered system communication is avoided, and the power utilization safety of a user is ensured.
In this embodiment, the communication module includes a wireless communication module and/or a wired communication module. The wired communication mode has long transmission distance and is not influenced by obstacles, but the cost of wired communication wiring is high; the wireless communication mode has low cost, but the transmission distance is wired and is easy to be blocked by obstacles; the mode that wired communication and wireless communication combined together uses wireless communication when short distance transmission, uses wired communication or wireless relay communication when long distance, can effectual saving cost, and improves the application scope of system communication.
Preferably, the wireless communication module comprises a 433MHz wireless radio frequency signal communicator, and the wired communication module comprises an RS485 wired communicator.
In this embodiment, the first communication protocol frame includes a frame header, a first identification code, a first frame content, and a frame tail, which are sequentially arranged; wherein, the first identification code comprises a first time value, and the first frame content comprises a commutation command;
the second communication protocol frame comprises a frame head, a second identification code, second frame contents and a frame tail which are sequentially arranged, the second identification code comprises a second time value, and the second frame contents comprise feedback information.
It should be noted that the first identification code and the second identification code may further include identification information usable for station area identification, the identification information including any one or more of number information, location information, and the like.
Example two:
the second embodiment of the present invention provides a method for identifying a distribution room of a three-phase imbalance adjustment system, which is applied to the three-phase imbalance adjustment system according to the first embodiment, and includes:
step 1, a first timing module operates to generate a first time value, and a second timing module operates to generate a second time value;
step 2, the decision module generates a commutation command and sends the commutation command to a first controller, the first controller integrates a first time value and the commutation command to generate a first communication protocol frame, and the main control device sends the first communication protocol frame to a plurality of commutation devices through the communication module;
step 3, any one of the plurality of commutation devices receives the first communication protocol frame, and the commutation device judges whether the master control device which sends the first communication protocol frame is positioned in the same area or not according to the first communication protocol frame;
if so, the commutation operation module executes the commutation command;
if not, the phase changing device discards the first communication protocol frame.
When the phase change device works, when the phase change device in any one area receives a first communication protocol frame, whether the phase change device and a main control device which sends the first communication protocol frame are positioned in the same area is identified by comparing the difference value of a first time value and a second time value; if yes, executing a commutation command in the first communication protocol frame; if not, the first communication protocol frame is discarded and is not executed. And then make the normal operation of the power supply unit in each district, avoid taking place the chaotic problem of system communication effectively, guaranteed user's power consumption safety.
Specifically, step 1 specifically includes:
the first timing module and the second timing module run and judge whether the zero clearing marks of the first timing module and the second timing module are set or not;
if so, respectively resetting the first timing module and the second timing module, and respectively reading the readings of the first timing module and the second timing module to generate a first time value and a second time value;
if not, reading the readings of the first timing module and the second timing module respectively to generate a first time value and a second time value.
Further, step 2 specifically includes:
the decision module generates a commutation command and sends the commutation command to the first controller, the first controller integrates the first time value and the commutation command to generate a first communication protocol frame, and the main control device sends the first communication protocol frame to the commutation device through the communication module.
Further, step 3 specifically includes:
any one of the plurality of commutation devices receives the first communication protocol frame and judges the communication type of the first communication protocol frame;
if the first communication protocol frame is in wired communication, the main control device and the commutation device are positioned in the same station area, and the commutation operation module executes a commutation command;
if the first communication protocol frame is in wireless communication, judging whether the difference value of the first time value and the second time value is within the allowable error range;
if yes, the main control device and the commutation device are located in the same area, and the commutation operation module executes a commutation command;
if not, the main control device and the phase change device are located in different areas, and the phase change device discards the second communication protocol frame.
In this embodiment, the method further includes:
step 4, the commutation devices operate to generate feedback information, the second controller integrates the feedback information and the second time value to generate a second communication protocol frame, the commutation devices send the second communication protocol frame to the plurality of main control devices and the plurality of commutation devices through the communication module, and any one of the plurality of commutation devices receives the second communication protocol frame and judges whether the second communication protocol frame is relay communication or not; the relay communication is a wireless communication networking mode and is a communication mode of transmitting the relay communication to the next device through indirect wireless communication of a forwarding device.
If yes, the commutation device directly sends the second communication protocol frame to any commutation device or the master control device;
if not, executing the next step.
Step 5, any one of the plurality of main control devices receives the second communication protocol frame, and the main control device judges whether the main control device and the phase change device which sends the second communication protocol frame are positioned in the same area or not according to the second communication protocol frame;
if so, the main control device analyzes and stores the feedback information;
if not, the main control device discards the second communication protocol frame.
In this embodiment, step 5 specifically includes:
any one of the plurality of main control devices receives the second communication protocol frame and judges whether the return time of the second communication protocol frame exceeds a preset time value;
if yes, the phase change device and the main control device are located in different transformer areas, and the main control device discards the second communication protocol frame;
if not, judging the communication type of the second communication protocol frame;
if the second communication protocol frame is in wired communication, the phase change device and the main control device are located in the same station area, and the main control device stores feedback information;
if the first communication protocol frame is in wireless communication, judging whether the difference value between the second time value and the first time value is within the allowable error range;
if yes, the commutation device and the main control device are located in the same area, and the main control device stores feedback information;
if not, the phase change device and the main control device are located in different areas, and the main control device discards the second communication protocol frame.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.