Disclosure of Invention
The invention mainly aims to provide an indoor electric wire automatic arrangement method and device, which can automatically generate an indoor electric wire layout design through electricity utilization point location information, have strong universality, greatly improve the efficiency and save the time.
In order to achieve the purpose, the invention provides an automatic indoor electric wire arrangement method, which comprises the following steps:
acquiring power utilization point location information;
calculating the loop type and the loop quantity according to the quantity of the electricity utilization point location information;
determining the position relationship between the loop and the distribution box;
and taking the edge of the distribution box as the starting point of all the loops, and automatically distributing the electric wires between the distribution box and the power utilization points according to a preset distribution rule.
Optionally, the electricity utilization location information includes: a toilet lamp point location, a toilet lamp switch point location, a lighting lamp switch point location, a kitchen high power socket point location, a kitchen low power socket point location, a kitchen range hood socket point location, a toilet socket point location, a water heater socket point location, an air conditioner socket point location, and a standby socket point location.
Optionally, the loop types include: a kitchen ventilator socket loop, a kitchen high-power socket loop, a kitchen low-power socket loop, a refrigerator socket loop, a toilet socket loop, a water heater socket loop, an air conditioner socket loop, a lighting socket loop and a standby socket loop.
Optionally, the determining the positional relationship between the circuit and the switchbox further comprises:
and dividing the loop into a left socket loop and a right socket loop according to the position relation of the loop and the distribution box.
Optionally, the preset arrangement rule includes:
the socket loops are sequenced according to the distance from the distribution box, electric wires are arranged in a right-angle turning mode from the socket point position corresponding to the nearest socket loop, and a turning connecting piece is added at the turning position;
and calculating the length of the used electric wire and the number of the turning connecting pieces.
According to another aspect of the present invention, there is provided an indoor electric wire automatic arrangement apparatus, comprising:
the acquisition module is used for acquiring the electricity utilization point location information;
the calculation module is used for calculating the loop type and the loop quantity according to the quantity of the electricity utilization point location information;
the determining module is used for determining the position relation between the loop and the distribution box;
and the wiring module is used for automatically arranging the electric wires between the distribution box and the power utilization points according to a preset arrangement rule by taking the edge of the distribution box as the starting point of all the loops.
Optionally, the electricity utilization location information includes: a lavatory light fitting point location, a lavatory light fitting switch point location, an illumination light fitting switch point location, a kitchen point location, a lavatory socket point location, a water heater socket point location, an air conditioner socket point location, and a backup socket point location.
Optionally, the loop types include: a kitchen ventilator socket loop, a kitchen high-power socket loop, a kitchen low-power socket loop, a refrigerator socket loop, a toilet socket loop, a water heater socket loop, an air conditioner socket loop, a lighting socket loop and a standby socket loop.
Optionally, an indoor electric wire automatic arrangement device further includes:
and the distribution module is used for dividing the loop into a left socket loop and a right socket loop according to the position relation between the loop and the distribution box.
Optionally, the preset arrangement rule includes:
the socket loops are sequenced according to the distance from the distribution box, electric wires are arranged in a right-angle turning mode from the socket point position corresponding to the nearest socket loop, and a turning connecting piece is added at the turning position;
and calculating the length of the used electric wire and the number of the turning connecting pieces.
The invention provides an automatic indoor electric wire arrangement method and device, wherein the method comprises the following steps: acquiring power utilization point location information; calculating the loop type and the loop quantity according to the quantity of the electricity utilization point location information; determining the position relationship between the loop and the distribution box; taking the edge of the distribution box as the starting point of all the loops, and automatically distributing the electric wires between the distribution box and the power utilization points according to a preset distribution rule; through the power consumption point location information, the indoor electric wire layout design is automatically generated, the universality is strong, the efficiency is greatly improved, and the time is saved.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
Example one
As shown in fig. 1, in this embodiment, an indoor electric wire automatic arrangement method includes:
s10, acquiring power utilization point location information;
s20, calculating the loop type and the loop quantity according to the quantity of the electricity utilization point location information;
s30, determining the position relation between the loop and the distribution box;
and S40, taking the edge of the distribution box as the starting point of all the loops, and automatically distributing the electric wires between the distribution box and the power utilization point according to a preset distribution rule.
In this embodiment, through the power consumption point bit information, the automatic generation indoor electric wire layout design, the universality is stronger, has improved efficiency greatly, has saved the time.
This embodiment is applicable to box assembled room type, and through the information such as outer contour line, layer height, lavatory furred ceiling thickness and the block terminal benchmark of the power consumption point information and the room type that acquire assembled room type, can realize the automatic generation of a key of the indoor pipeline layout design of box assembled room type, can directly dock the construction, has skipped the step of artificial design, and non-professional also can operate, and the universality is strong, and user interface is friendly.
In this embodiment, the electricity consumption location information includes: a lavatory light fitting point location, a lavatory light fitting switch point location, an illumination light fitting switch point location, a kitchen point location, a lavatory socket point location, a water heater socket point location, an air conditioner socket point location, and a backup socket point location.
In this embodiment, the spare outlet points refer to outlet points located in each room except for the specific outlet points listed above, and may also be referred to as normal outlet points.
In this embodiment, the loop types include: a kitchen ventilator socket loop, a kitchen high-power socket loop, a kitchen low-power socket loop, a refrigerator socket loop, a toilet socket loop, a water heater socket loop, an air conditioner socket loop, a lighting socket loop and a standby socket loop.
In this embodiment, the service line is a loop, the kitchen range hood (if any) socket point is a loop, the kitchen high-power socket point (if any) socket is a loop, the kitchen low-power socket point (if any) socket is a loop, the refrigerator socket point (if any) socket is a loop, the toilet socket point (if any) socket is a loop, the water heater socket point (if any) socket is a loop, the air conditioner socket point (if any) socket is a loop, the common socket point (if any) socket is a loop, and the lighting system is a loop.
As shown in fig. 2, in this embodiment, after step S30, the method further includes:
and S31, dividing the loop into a left socket loop and a right socket loop according to the position relation of the loop and the distribution box.
In this embodiment, a coordinate system under the household plan is adopted, the x-axis direction is the horizontal direction of the household plan, the y-axis direction is the vertical direction of the household plan, wherein the left and right directions are the positive and negative directions of the x-axis, the upper and lower directions are the positive and negative directions of the y-axis, and the projection of the distance > =0 from the reference point of the distribution box on the x-axis is the right socket point location, and <0 is the left socket point location. And comparing the projection of all the right socket point locations and the distribution box reference point on the x-axis, wherein the maximum point location(s), namely the rightmost point location, is the rightmost socket point location, comparing the projection of all the left socket point locations and the distribution box reference point on the x-axis, and the minimum point location(s), namely the leftmost point location, is the leftmost socket point location.
In this embodiment, the preset arrangement rule includes:
the socket loops are sequenced according to the distance from the distribution box, electric wires are arranged in a right-angle turning mode from the socket point position corresponding to the nearest socket loop, and a turning connecting piece is added at the turning position;
and calculating the length of the used electric wire and the number of the turning connecting pieces.
In this embodiment, starting from the edge of the distribution box, the starting points of all the loops are arranged in a line and correspondingly projected on the ceiling (the ceiling height is the floor height), and all the loops are turned to the left for a certain distance except the house entrance, as shown in fig. 3, the farther the left turn distance from the lower edge (the reference point position) of the distribution box is, the smaller the left turn distance is. After the house-entering line is projected on the ceiling, the house-entering line is turned downwards out of the house.
In the present embodiment, when the length of the electric wire is calculated, the starting point is a starting point of a circuit located in the distribution box, and a point corresponding to each electric appliance (terminal) is referred to as an end point.
The right socket point locations are sequenced according to the distance from the datum point of the distribution box, the socket point locations with the closest distance are projected onto a ceiling, then the socket points turn left for a certain distance, then the socket points turn downwards for a certain distance, the first point location turns downwards for a distance of 0, then the nearest wire end point (the nearest point shown in figure 3) is found, and the right-angle inflection point connected with the end point is found, so that connection is completed. And then, after each point is connected, the left turn distance of each point is increased by 50mm (the distance between the electric wires), and the point is turned downwards to a position 50mm (the distance between the electric wires) away from the transverse routing of the previous point.
And sequentially arranging the positions of the socket points on the left side according to the distances from the distribution box, connecting the socket points on the nearest side to the projection of the socket points on the ceiling, then connecting the socket points on the farthest side to the projection of the socket points on the ceiling, then finding out the wire terminals on the nearest side and connecting the right-angle inflection points of the terminal points to complete the connection of the main socket path.
In the present embodiment, the projection on the ceiling refers to the connection from the socket point to the ceiling directly "above", where directly above refers to "above" in the three-dimensional space sense, that is, the height, that is, the Z-axis direction in the plane view coordinate system, instead of "above" in the plane view coordinate system.
In this embodiment, the starting point is the toilet light point, which is connected to its projected point on the ceiling. Then turn upwards to find the intersection point of the projection line of the toilet wall and connect the intersection point, then find the wire end point (the closest point shown in figure 3) which is closest to the intersection point and the right-angle inflection point connecting the end points, and complete the connection of the lighting main road. Then other lamps are connected with the lighting main path, and junction boxes are added at the connection position and the projection position of the ceiling of the lamps. And finally, connecting the switch to a junction box right above the corresponding lamp.
Example two
As shown in fig. 4, in the present embodiment, the loop is divided into a left-side outlet loop and a right-side outlet loop according to the positional relationship of the loop terminal and the distribution box.
Starting from the edge of the distribution box, starting points of all loops are arranged in a line and correspondingly projected onto a ceiling (the height of the ceiling is the floor height), except for a house entrance line, all loops turn left for a certain distance, and the farther left turn distance from the lower edge (the position of a datum point) of the distribution box is smaller. After the house-entering line is projected on the ceiling, the house-entering line is turned downwards out of the house.
And sequencing the socket point positions on the right side according to the distance from the datum point of the distribution box, projecting the socket point positions on a ceiling from the point position with the closest distance, turning left for a certain distance, finding the end point of the electric wire in the last step with the closest distance, and connecting the right-angle inflection point of the end point to complete connection. The left turn distance of each point is increased by 50mm (the distance between the wires) after each wire is connected.
And sequentially arranging the positions of the socket points on the left side according to the distances from the distribution box, connecting the socket points on the nearest side to the projection of the socket points on the ceiling, then connecting the socket points on the farthest side to the projection of the socket points on the ceiling, then finding out the wire terminals on the nearest side and connecting the right-angle inflection points of the terminal points to complete the connection of the main socket path.
In the present embodiment, the projection on the ceiling refers to the connection from the socket point to the ceiling directly "above", where directly above refers to "above" in the three-dimensional space sense, that is, the height, that is, the Z-axis direction in the plane view coordinate system, instead of "above" in the plane view coordinate system.
In this embodiment, the starting point is the toilet light point, which is connected to its projected point on the ceiling. Then turn upwards to find the intersection point of the projection line of the toilet wall and connect the intersection point, then find the end point of the loop wire extending out of the distribution box closest to the intersection point, and connect the right-angle inflection point of the end point, and complete the connection of the lighting main road. Then other lamps are connected with the lighting main path, and junction boxes are added at the connection position and the projection position of the ceiling of the lamps. And finally, connecting the switch to a junction box right above the corresponding lamp.
EXAMPLE III
As shown in fig. 5, in this embodiment, an indoor electric wire automatic arrangement device includes:
theacquisition module 10 is used for acquiring power utilization point location information;
the calculatingmodule 20 is configured to calculate the loop type and the loop quantity according to the quantity of the electricity utilization point location information;
adetermination module 30 for determining a positional relationship of the circuit to the switchbox;
and thewiring module 40 is used for automatically arranging the electric wires between the distribution box and the power utilization points according to a preset arrangement rule by taking the edge of the distribution box as a starting point of all the loops.
In this embodiment, through the power consumption point bit information, the automatic generation indoor electric wire layout design, the universality is stronger, has improved efficiency greatly, has saved the time.
This embodiment is applicable to box assembled room type, and through the information such as outer contour line, layer height, lavatory furred ceiling thickness and the block terminal benchmark of the power consumption point information and the room type that acquire assembled room type, can realize the automatic generation of a key of the indoor pipeline layout design of box assembled room type, can directly dock the construction, has skipped the step of artificial design, and non-professional also can operate, and the universality is strong, and user interface is friendly.
In this embodiment, the electricity consumption location information includes: a lavatory light fitting point location, a lavatory light fitting switch point location, an illumination light fitting switch point location, a kitchen point location, a lavatory socket point location, a water heater socket point location, an air conditioner socket point location, and a backup socket point location.
In this embodiment, the spare outlet points refer to outlet points located in each room except for the specific outlet points listed above, and may also be referred to as normal outlet points.
In this embodiment, the loop types include: a kitchen ventilator socket loop, a kitchen high-power socket loop, a kitchen low-power socket loop, a refrigerator socket loop, a toilet socket loop, a water heater socket loop, an air conditioner socket loop, a lighting socket loop and a standby socket loop.
In this embodiment, the service line is a loop, the kitchen range hood (if any) socket point is a loop, the kitchen high-power socket point (if any) socket is a loop, the kitchen low-power socket point (if any) socket is a loop, the refrigerator socket point (if any) socket is a loop, the toilet socket point (if any) socket is a loop, the water heater socket point (if any) socket is a loop, the air conditioner socket point (if any) socket is a loop, the common socket point (if any) socket is a loop, and the lighting system is a loop.
As shown in fig. 6, in this embodiment, an indoor electric wire automatic arrangement apparatus further includes:
and thedistribution module 31 is used for dividing the loop into a left socket loop and a right socket loop according to the position relation between the loop and the distribution box.
In this embodiment, a coordinate system under the household plan is adopted, the x-axis direction is the horizontal direction of the household plan, the y-axis direction is the vertical direction of the household plan, wherein the left and right directions are the positive and negative directions of the x-axis, the upper and lower directions are the positive and negative directions of the y-axis, and the projection of the distance > =0 from the reference point of the distribution box on the x-axis is the right socket point location, and <0 is the left socket point location. And comparing the projection of all the right socket point locations and the distribution box reference point on the x-axis, wherein the maximum point location(s), namely the rightmost point location, is the rightmost socket point location, comparing the projection of all the left socket point locations and the distribution box reference point on the x-axis, and the minimum point location(s), namely the leftmost point location, is the leftmost socket point location.
In this embodiment, the preset arrangement rule includes:
the socket loops are sequenced according to the distance from the distribution box, electric wires are arranged in a right-angle turning mode from the socket point position corresponding to the nearest socket loop, and a turning connecting piece is added at the turning position;
and calculating the length of the used electric wire and the number of the turning connecting pieces.
In this embodiment, starting from the edge of the distribution box, the starting points of all the loops are arranged in a line and correspondingly projected on the ceiling (the ceiling height is the floor height), and all the loops are turned to the left for a certain distance except the house entrance, as shown in fig. 3, the farther the left turn distance from the lower edge (the reference point position) of the distribution box is, the smaller the left turn distance is. After the house-entering line is projected on the ceiling, the house-entering line is turned downwards out of the house.
In the present embodiment, when the length of the electric wire is calculated, the starting point is a starting point of a circuit located in the distribution box, and a point corresponding to each electric appliance (terminal) is referred to as an end point.
The right socket point locations are sequenced according to the distance from the datum point of the distribution box, the socket point locations with the closest distance are projected onto a ceiling, then the socket points turn left for a certain distance, then the socket points turn downwards for a certain distance, the first point location turns downwards for a distance of 0, then the nearest wire end point (the nearest point shown in figure 3) is found, and the right-angle inflection point connected with the end point is found, so that connection is completed. And then, after each point is connected, the left turn distance of each point is increased by 50mm (the distance between the electric wires), and the point is turned downwards to a position 50mm (the distance between the electric wires) away from the transverse routing of the previous point.
And sequentially arranging the positions of the socket points on the left side according to the distances from the distribution box, connecting the socket points on the nearest side to the projection of the socket points on the ceiling, then connecting the socket points on the farthest side to the projection of the socket points on the ceiling, then finding out the wire terminals on the nearest side and connecting the right-angle inflection points of the terminal points to complete the connection of the main socket path.
In the present embodiment, the projection on the ceiling refers to the connection from the socket point to the ceiling directly "above", where directly above refers to "above" in the three-dimensional space sense, that is, the height, that is, the Z-axis direction in the plane view coordinate system, instead of "above" in the plane view coordinate system.
In this embodiment, the starting point is the toilet light point, which is connected to its projected point on the ceiling. Then turn upward to find its intersection point with the projected line of the toilet wall and connect, then find the nearest wire end point (the nearest point shown in fig. 3) from the intersection point, and connect the right angle inflection points of the end points, complete the connection of the lighting main road. Then other lamps are connected with the lighting main path, and junction boxes are added at the connection position and the projection position of the ceiling of the lamps. And finally, connecting the switch to a junction box right above the corresponding lamp.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.