CN108628232A - Coding controller, coding control system and coding method - Google Patents

Coding controller, coding control system and coding method Download PDF

Info

Publication number
CN108628232A
CN108628232A CN201810757679.7A CN201810757679A CN108628232A CN 108628232 A CN108628232 A CN 108628232A CN 201810757679 A CN201810757679 A CN 201810757679A CN 108628232 A CN108628232 A CN 108628232A
Authority
CN
China
Prior art keywords
coding
controller
solar components
output end
encoded
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201810757679.7A
Other languages
Chinese (zh)
Inventor
黎治民
姜宪明
吴薇
杨烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongjun New Energy Co ltd
Original Assignee
Hanergy Mobile Energy Holdings Group Co Ltd
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 Hanergy Mobile Energy Holdings Group Co Ltd filed Critical Hanergy Mobile Energy Holdings Group Co Ltd
Priority to CN201810757679.7A priority Critical patent/CN108628232A/en
Publication of CN108628232A publication Critical patent/CN108628232A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a coding controller, a coding control system and a coding method, relates to the technical field of solar energy, and aims to quickly and efficiently finish coding a large number of solar assemblies. The embodiment of the invention provides a coding controller, which is provided with a data output end and a control end; the data output end is used for connecting the coding controller and the solar component; the data output end is at least one group, and each group of data output end includes: at least one subdata output terminal for transmitting various control signals, and at least one subcode output terminal for transmitting codes; the control end is at least used for receiving a coding instruction sent by the main controller; and the coding controller is used for sending a coding control signal to the solar assembly through the subdata output end after receiving the coding instruction, and sending a code to the solar assembly through the subcode output end to complete coding of the solar assembly.

Description

A kind of coding controller, code control system and coding method
Technical field
The present invention relates to technical field of solar, espespecially a kind of coding controller, code control system and coding method.
Background technology
Intelligent photovoltaic integrates the main flow direction that O&M is increasingly becoming photovoltaic (or solar energy) industry development, wherein intelligent light The contents such as component, remote control, data acquisition, on-line analysis are lied prostrate, becomes and realizes the work(such as remote data control and data acquisition The important component of energy.In order to realize intelligent photovoltaic, before photovoltaic system comes into operation, needing will be in photovoltaic system Each solar components is numbered one by one, is then successively read each solar energy group using polling mode according to number by host computer The information of part, in order to the control to each solar components.
However, in current technology, since the solar components for including in photovoltaic system are very more, and to a solar energy The coding work of component is manual operation, that is to say, that needs manually encode a large amount of solar components one by one, such as This, causes coding engineering huge and time-consuming and laborious, is easy error.
Based on this, how quickly and efficiently to complete to encode a large amount of solar components, be those skilled in the art Technical problem urgently to be resolved hurrily.
Invention content
An embodiment of the present invention provides a kind of coding controller, code control system and coding methods, to rapidly and efficiently Ground completion encodes a large amount of solar components.
An embodiment of the present invention provides a kind of coding controller, the coding controller has data output end and control End;
The data output end, for connecting the coding controller and solar components;
The data output end is at least one group, and data output end described in every group includes:It is at least one to be used for transmission respectively The subdata output end of kind control signal and at least one son for sending coding encode output end;
The control terminal at least is used to receive the coded command of master controller transmission;
The coding controller, for after receiving the coded command, by the subdata output end to described Solar components send coding control signal, are sent and are encoded to the solar components by the sub- coding output end, complete The solar components are encoded.
It is thus possible to transmit various control signals by subdata output end, is transmitted and encoded by sub- coding output end, it can To improve the precision of signal transmission, convenient for the acquisition and transmission to related data, the processing speed of data is improved;And to connection Each solar components realize autocoding, not only save manpower and materials, but also improve the accuracy of coding, it is wrong to reduce coding Appearance accidentally, substantially increases the efficiency of coding.
Optionally, data output end described in every group includes:Two subdata output ends and multiple sub- codings Output end;
One of them described sub- coding output end, for the coding controller to first sun being correspondingly connected with It can component transmission coding;
Remaining described sub- coding output end is used for the solar components to the coding controller feedback encoding.
It is thus possible to by way of difference subdata output end transmit signal, improve transmission signal accuracy and Transmission range.Also, the multiple sub- coding output ends of setting, can improve the precision of signal transmission, convenient for being obtained to related data It takes and sends, improve the processing speed of data.
Optionally, the control terminal includes:The structure of at least two control interfaces, each control interface is identical, wherein One control interface is connected by connecting line with the master controller, and the coded command is received.
To which when coding controller is connect with master controller, arbitrary control interface can be selected, increase the flexible of operation Property.Further, it is also possible to select any one control interface, the cascade of multiple coding controllers is realized, realize to more solar energy The coding of component.
Optionally, the control terminal includes:Two control interfaces.
It is thus possible to while realizing that coding controller is connect with master controller, setting for control interface can also be reduced Quantity is set, the cost of manufacture of coding controller is reduced.
Optionally, the control terminal further includes:Wireless receiver is sent out for receiving the master controller by wireless signal The coded command penetrated.
To which when master controller cannot achieve with coding controller and be electrically connected, wireless receiver can be passed through Coded command is received, to realize to the coding of solar components, improves the flexibility of operation, and also extend coding The application range of controller.
Optionally the coding controller is the control unit in inverter or photovoltaic DC/DC controller.
It is thus possible to which cataloged procedure can be realized by existing equipment, the cost of manufacture of code control system is reduced.
Optionally, the coding controller also has communication ends, is controlled with the coding for completing the solar components Communication between device processed.
It is thus possible to widen the application of coding controller.
Second aspect, the embodiment of the present invention additionally provide a kind of code control system of solar components, including:At least one It is a as above-mentioned coding controller provided in an embodiment of the present invention, be connected with the coding controller multiple solar components, with And master controller;
Each solar components are connected in parallel to the subdata output end of the coding controller;
The solar components include:Address wire;Described address line, for each of the subdata output end will to be connected in parallel to The solar components are connected to the son coding output end with group data output end with the subdata output end, and are phase The adjacent solar components send coding;
The master controller, for sending coded command to the coding controller, so that the coding controller is connecing After receiving the coded command, by the subdata output end and the sub- coding output end, each institute being correspondingly connected with is completed State the coding of solar components.
To, by the setting to the address wire in solar components, the transmission of coding can be realized by the address wire, It realizes that coding controller encodes each solar components of connection, substantially increases the accuracy rate and efficiency of coding.
Optionally, the coding controller has multi-group data output end;
Each solar components are divided into multigroup;Each solar components string for including in every group of solar components Connection is connected to the sub- coding output end, is connected in parallel to the subdata output end;Wherein, the sub- coding output end and institute It states subdata output end and belongs to same group of data output end;
Solar components described in one group are correspondingly connected with data output end described in one group.
It is thus possible to which so that multiple solar components are connected to the data output end of coding controller, realization coding control Cataloged procedure of the device processed to each solar components.
Optionally, the coding controller has multiple;
Each coding controller is cascaded by control terminal.
To realize the cascade of multiple coding controllers, and then realize the coding to more solar components.
Optionally, the control terminal of the coding controller includes two control interfaces;
For the cascade coding controller:Except coding-control described in coding controller described in the first order and afterbody Except device, two control interfaces of remaining the every grade coding controller, respectively with coding controller described in upper level One of them described control interface is connected with the control interface of one of coding controller described in next stage;
One of coding controller control interface described in the afterbody is encoded with described in penultimate stage Another described control interface of controller is connected;
Two control interfaces of coding controller described in the first order, respectively with the master controller and the second level Another described control interface of the coding controller is connected;Or, described in one of coding controller described in the first order Control interface is connected with another described control interface of coding controller described in the second level.
It is thus possible to realize the cascade of each coding controller.
Optionally, further include:The cable being arranged according to the string formation electric current of each solar components;
The cable, for connecting each solar components.
To realize the connection between each solar components.
The third aspect, the embodiment of the present invention additionally provide a kind of coding method, for such as provided in an embodiment of the present invention State the coding controller in solar components code control system;The coding method includes:
Receive the coded command that master controller is sent;
The first coding control signal is sent by subdata output end, is sent and is encoded by sub- coding output end, so that logical Crossing the sub- coding output end and the coding controller, there are the solar components of physical connection to be controlled according to first coding After signal processed handles the coding, feedback signal is sent to the coding controller;
Determine receive feedback signal that current encoded solar components are sent when, by subdata output end to Current encoded solar components send the second coding control signal, so that current encoded solar components are according to Second coding control signal generates newly encoded, and passes through internal according to being pre-configured after agreement handles the coding of itself Address wire is transmitted to the next solar components adjacent with current encoded solar components by newly encoded so that with it is current The adjacent next solar components of encoded solar components control the newly encoded backward coding handle Device processed sends feedback signal;
When determining the feedback signal for not receiving current encoded solar components transmission, the coding controller is true Surely each solar components being correspondingly connected with complete coding;
Wherein, the current encoded solar components codings of itself is carried in second coding control signal.
To, by the design to coding method, it can rapidly and accurately realize the coding work to each solar components, Improve the efficiency of coding.
Optionally, after receiving the coded command that master controller is sent, further include:
Determine the number for the coding controller for including in the code control system.
To when with multiple cascade coding controllers, be conducive to control of the master controller to each coding controller.
Optionally, a coding controller in code control system is connected by control terminal with the master controller When, the coding controller being connected with the master controller is determined as first order coding controller;
The number for determining the coding controller for including in the code control system, specifically includes:
The first order coding controller determines whether control terminal is connected with other coding controllers;
When the first order coding controller determines that the control terminal is not connected with other coding controllers, the volume is determined Include a coding controller in code control system;
When the first order coding controller determines that the control terminal is connected with other coding controllers, the first order Coding controller is followed successively by cascade each coding controller since itself and is encoded, and determines in the code control system Including coding controller number.
To when master controller is electrically connected with coding controller, can be realized to each by first order coding controller The coding work of coding controller.
Optionally, the coding controller receives the master controller by wireless receiver and passes through wireless signal transmission When coded command, determines the number for the coding controller for including in the code control system, specifically include:
The coding controller for receiving the coded command determines whether control terminal connects other coding-controls Device;
Determine that control terminal is not connected with other coding-controls in the coding controller for receiving the coded command When device, determine in the code control system to include a coding controller;
Determine that control terminal connects other coding controllers in the coding controller for receiving the coded command When, after determining first order coding controller according to preset rules, the first order coding controller is followed successively by cascade each The coding controller is encoded, and determines the number for the coding controller for including in the code control system.
To, in master controller with each coding controller without being electrically connected when, can be realized by first order coding controller To the coding work of each coding controller.
Optionally, when the control terminal of the coding controller includes two control interfaces, the preset rules are specially:
If there are one of two coding controllers control interfaces to be not connected with other coding-controls When device, then any one coding controller therein is determined as the first order coding controller.
To can determine that first order coding controller by simple method, improve code efficiency.
Optionally, one group of data output end of the coding controller includes:It is described when one sub- coding output end Solar components to the coding controller send feedback signal method be specially:By in the data output end that is correspondingly connected with The subdata output end sent to the coding controller and carry the feedback signal of coding;
Or, one group of data output end of the coding controller includes:When multiple sub- coding output ends, the sun Can component to the coding controller send feedback signal method be specially:Pass through its in the data output end that is correspondingly connected with In a sub- coding output end to the coding controller feedback encoding, pass through the institute in the data output end that is correspondingly connected with It states subdata output end and sends feedback signal to the coding controller.
It is thus possible to improve the processing speed of the coding to feedback signal and feedback, and then improve the efficiency of coding.
Optionally, after receiving the feedback signal that current encoded solar components are sent, further include:
Determine the coding of current encoded solar components feedback;
According to agreement is pre-configured, it is determined that assigning the coding of current encoded solar components and the coding of feedback is It is no identical;
If when identical, determining and completing coding to current encoded solar components.
It is thus possible to improve the accuracy of coding, the appearance of mistake is avoided.
Fourth aspect, the embodiment of the present invention additionally provide a kind of code device, including:
Receiving unit, the coded command for receiving master controller transmission;
Transmission unit is sent out for sending the first coding control signal by subdata output end by sub- coding output end Coding is sent, so as to have the solar components of physical connection according to institute by the sub- coding output end and the coding controller It states after the first coding control signal handles the coding, feedback signal is sent to the coding controller;In determination When receiving the feedback signal that current encoded solar components are sent, by subdata output end to it is current encoded too Positive energy component sends the second coding control signal, so that current encoded solar components are believed according to second coding-control Number, according to be pre-configured after agreement handles the coding of itself generate it is newly encoded, and will be newly encoded by internal address wire It is transmitted to the next solar components adjacent with current encoded solar components so that with current encoded solar energy The adjacent next solar components of component to it is described it is newly encoded handle rear send feedback letter to the coding controller Number;Wherein, the current encoded solar components codings of itself is carried in second coding control signal;
Determination unit is used to determine whether to receive the feedback signal that current encoded solar components are sent;True When the fixed feedback signal for not receiving current encoded solar components transmission, each solar energy group being correspondingly connected with is determined Part completes coding.
Optionally, after the coded command that coding controller receives that master controller is sent, the determination unit is additionally operable to Determine the number for the coding controller for including in the code control system.
Optionally, after receiving the feedback signal that current encoded solar components are sent, the determination unit, also Coding for determining current encoded solar components feedback;According to agreement is pre-configured, currently compiled it is determined that assigning Whether the coding of the solar components of code is identical as the coding of feedback;If when identical, determining to current encoded solar energy group Part completes coding.
5th aspect, the embodiment of the present invention additionally provide a kind of code device, including:
Memory, for storing program instruction;
Processor is executed for calling the program instruction stored in the memory according to the program of acquisition:
Receive the coded command that master controller is sent;
The first coding control signal is sent by subdata output end, is sent and is encoded by sub- coding output end, so that logical Crossing the sub- coding output end and the coding controller, there are the solar components of physical connection to be controlled according to first coding After signal processed handles the coding, feedback signal is sent to the coding controller;
Determine receive feedback signal that current encoded solar components are sent when, by subdata output end to Current encoded solar components send the second coding control signal, so that current encoded solar components are according to Second coding control signal generates newly encoded, and passes through internal according to being pre-configured after agreement handles the coding of itself Address wire is transmitted to the next solar components adjacent with current encoded solar components by newly encoded so that with it is current The adjacent next solar components of encoded solar components control the newly encoded backward coding handle Device processed sends feedback signal;
When determination does not receive the feedback signal that current encoded solar components are sent, determination is correspondingly connected with each The solar components complete coding;
Wherein, the current encoded solar components codings of itself is carried in second coding control signal.
6th aspect, the embodiment of the present invention additionally provide a kind of computer storage media, and the computer storage media is deposited Computer executable instructions are contained, the computer executable instructions are provided for making the computer execute the embodiment of the present invention Above-mentioned coding method.
The present invention has the beneficial effect that:
A kind of coding controller, code control system and coding method provided in an embodiment of the present invention, by being controlled to coding The setting of device and solar components processed can transmit various control signals by subdata output end, be exported by sub- coding End transmission coding, can improve the precision of signal transmission, convenient for the acquisition and transmission to related data, improve the processing speed of data Degree;And may be implemented to be connected to data output end each solar components carry out autocoding, save a large amount of manpowers and Material resources substantially increase the efficiency of coding so that cataloged procedure is both simple and quick.
Description of the drawings
Fig. 1 and Fig. 2 is respectively the coding controller provided in the embodiment of the present invention;
Fig. 3 to Fig. 5 is respectively the code control system provided in the embodiment of the present invention;
Fig. 6 is the flow chart of the coding method provided in the embodiment of the present invention;
Fig. 7 is the method flow diagram of embodiment one;
Fig. 8 is the method flow diagram of embodiment two;
Fig. 9 and Figure 10 is respectively the structural schematic diagram of the code device provided in the embodiment of the present invention.
Specific implementation mode
Below in conjunction with attached drawing, to a kind of coding controller provided in an embodiment of the present invention, code control system and coding The specific implementation mode of method is described in detail.It should be noted that described embodiment is only the present invention one Divide embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making The every other embodiment obtained under the premise of creative work, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of coding controllers, and as depicted in figs. 1 and 2, coding controller 10 has data Output end 20 and control terminal 30;
Data output end 20, for connecting coding controller 10 and solar components;
Data output end 20 is at least one group, and every group of data output end 20 includes:It is at least one to be used for transmission various controls The subdata output end 21 of signal processed and at least one son coding output end 22 for sending coding;
Control terminal 30 at least is used to receive the coded command of master controller transmission;
Coding controller 10, for after receiving coded command, being sent to solar components by subdata output end Coding control signal is sent to solar components by sub- coding output end 22 and is encoded, and completion encodes solar components.
It is thus possible to transmit various control signals by subdata output end 21, is transmitted and compiled by sub- coding output end 22 Code, can improve the precision of signal transmission, convenient for the acquisition and transmission to related data, improve the processing speed of data;And Autocoding is realized to each solar components of connection, manpower and materials is not only saved, but also improve the accuracy of coding, reduces The appearance of code error substantially increases the efficiency of coding.
In the specific implementation, in embodiments of the present invention, the setting quantity of data output end 20 can be one group, such as Fig. 2 It is shown, while realization encodes each solar components, to reduce the cost of manufacture of coding controller 10;Certainly, number May be arranged as according to the quantity of output end 20 it is multigroup, as shown in Figure 1, in order to which each solar components are respectively connected to each number According to output end 20, the quantity of the solar components of the connection of each data output end 20 is reduced;At this point, in coding controller 10 to too When positive energy component sends coding control signal, coding control signal can be sent simultaneously by each data output end 20, that is, It says, the solar components being connect with each data output end 20 can be carried out at the same time coding, improve the efficiency of coding.
In addition, in embodiments of the present invention, for one group of data output end 20, including subdata output end 21 quantity It can be one, and the son coding output end 22 for including or one, as shown in Figure 2;But in order to improve the accurate of signal Property, the transmission range of signal and the processing speed to data, every group of data output end 20 may include:Two subdatas are defeated Outlet 21 and multiple sub- coding output ends 22, as shown in Figure 1;One of son coding output end 22, is used for coding controller 10 to the first solar components transmission coding being correspondingly connected with, and the sub- coding output end 22 is exported with same group data are parallel to Each solar components of the subdata output end 21 at end 20 are connected in series with, that is to say, that are directed to and are connected to one group of data output Each solar components at end 20 are parallel to subdata output end 21, series connection and the sub- coding output end 22;The coding output of its minor End 22, for solar components to 10 feedback encoding of coding controller, and its minor coding output end 22 can be with each solar energy Component carries out serial or parallel connection, as shown in Fig. 3 to Fig. 5 in following the description, it is possible to flexibly be set according to actual needs It sets, does not limit herein.
It is thus possible to transmit signal in subdata output end 21 by way of difference, the accuracy of transmission signal is improved And transmission range.Also, the multiple sub- coding output ends 22 of setting, can improve the precision of signal transmission, convenient for related data Acquisition and transmission, improve the processing speed of data.Further, it is also possible to which the solar components that ensure to be mutually related are in coding completion Later, coding controller 10 can know the coding situation of each solar components, simplify the process of coding checkout, improve signal Accuracy.
Certainly, the quantity for the subdata output end 21 that every group of data output end 20 includes can also be more than two, not give Go out diagram, does not limit herein.
In the specific implementation, in embodiments of the present invention, when control terminal 30 is arranged, in order to be connect by control terminal 30 Incorporate code instruction into own forces, control terminal 30 may include:At least two control interfaces 31, as depicted in figs. 1 and 2;Also, each control interface 31 structure could be provided as identical, one of control interface 31, can be connected with master controller by connecting line a, receive Coded command.For example, there are three control interfaces 31 for the tool of control terminal 30, as shown in Fig. 2, due to the structure phase of three control interfaces 31 Together, three control interfaces 31 are the relationships of equity, it is possible to any one control interface 31 be selected to be electrically connected with master controller. To which when coding controller 10 is connect with master controller, arbitrary control interface 31 can be selected, increase the flexibility of operation.
In addition, in order to make coding controller 10 encode more solar components, it is also an option that arbitrarily One control interface 31, realizes the cascade of multiple coding controllers 10, in order to which more solar components can be connected to respectively Coding controller 10 realizes the coding to more solar components.
It should be pointed out that control protocol used by control interface 31 can be User Datagram Protocol (User Datagram Protocol, UDP) or the agreements such as IP Modbus, as long as can ensure that the control protocol used can be real The above-mentioned function of existing control interface 31, does not limit herein.
Optionally, in embodiments of the present invention, control terminal 30 may include:Two control interfaces 31, as shown in Figure 1.From And the setting quantity of control interface 31 can also be reduced while realizing that coding controller 10 is connect with master controller, Reduce the cost of manufacture of coding controller 10.
In actual application process, if the connection between master controller and coding controller 10 is broken down, coding Controller 10 can not then receive coded command, and then can not be encoded to each solar components;For another example, because of certain feelings Under condition, coding controller 10 apart from master controller farther out when, need to realize coding controller 10 by longer connecting line Connection between master controller, so so that coding controller 10 and the position setting of master controller are subject to certain restrictions.
To solve the above-mentioned problems, in embodiments of the present invention, control terminal 30 can also include:Wireless receiver 32, such as Shown in Fig. 1 and Fig. 2;At this point, there is master controller wireless transmitting function, master controller can will be compiled by wireless transmitting function Code instruction is launched;For coding controller 10, then coded command, i.e. wireless receiving can be received by wireless receiver 32 Device 32, for receiving coded command of the master controller by wireless signal transmission, to realize the coding to solar components, While improving the flexibility of operation, the application range of coding controller 10 is also extended.
In the specific implementation, coding controller 10 can be the control unit in inverter or photovoltaic DC/DC controller Part, that is to say, that by inverter, alternatively, photovoltaic DC or DC controller realize autocoding function, it is thus possible to logical It crosses existing equipment and cataloged procedure can be realized, reduce the cost of manufacture of code control system.
Also, coding controller 10 can also have communication ends, not provide diagram;Wherein, communication ends, for completing the sun Communication between energy component and coding controller 10 assigns the more function of coding controller 10, and is not only used for encoding.From And the application of coding controller 10 can be widened.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of code control system of solar components, such as Shown in Fig. 3 to Fig. 5, may include:At least one such as above-mentioned coding controller 10 provided in an embodiment of the present invention and coding-control The connected multiple solar components 40 of device 10 and master controller 50;
Each solar components 40 are connected in parallel to the subdata output end 21 of coding controller 10;
Solar components 40 may include:Address wire 41;Address wire 41, for each of subdata output end 21 will to be connected in parallel to Solar components 40 are connected to the son coding output end 22 with group data output end 20 with subdata output end 21, and are phase Adjacent solar components 40 send coding;
Master controller 50, for sending coded command to coding controller 10, so that coding controller 10 is receiving volume After code instruction, by subdata output end 21 and son coding output end 22, the volume of each solar components 40 being correspondingly connected with is completed Code.
In the specific implementation, it is together in series by address wire 41 between each solar components 40, is then connected to coding-control The son coding output end 22 of device 10, as shown in Figures 3 to 5.To which by the setting to address wire 41, the address can be passed through Line 41 realizes the transmission of coding, realizes that coding controller 10 encodes each solar components 40 of connection, substantially increases The accuracy rate and efficiency of coding.It should be noted that the specific implementation mode of coding controller 10 can be found in a kind of aforementioned coding Embodiment in controller 10, overlaps will not be repeated.
In the specific implementation, in embodiments of the present invention, coding controller 10 can have multi-group data output end 20;This When, each solar components 40 can be divided into multigroup;The series connection of each solar components 40 for including in every group of solar components connects It is connected to sub- coding output end 22, is connected in parallel to subdata output end 21;Wherein, sub- coding output end 22 and subdata output end 21 belong to same group of data output end 20;Also, one group of solar components is correspondingly connected with one group of data output end 20.To, Multiple solar components 40 can be made to be connected to the data output end 20 of coding controller 10, realize that coding controller 10 is right The cataloged procedure of each solar components 40, and improve code efficiency.
In the specific implementation, the quantity for the coding controller 10 that code control system includes can be one, such as Fig. 3 institutes Show, in this way, each solar components 40 can be connected to the data output end 20 of the coding controller 10, in order to main control Device is directly controlled to coding controller 10.
Certainly, in embodiments of the present invention, coding controller 10 can have multiple, as shown in Figure 4 and Figure 5;Wherein, respectively It is cascaded by control terminal 30 between coding controller 10.To realize the cascade of multiple coding controllers 10, and then realize to more The coding of more solar components 40.
Specifically, in embodiments of the present invention, the control terminal 30 of coding controller 10 may include two control interfaces 31; At this point, as shown in Figure 4 and Figure 5, for cascade coding controller 10:Except first order coding controller and afterbody coding control Except device processed, two control interfaces 31 of remaining every grade coding controller, respectively one of with upper level coding controller Control interface 31 is connected with one of next stage coding controller control interface 31;Afterbody coding controller is wherein One control interface 31 is connected with another control interface 31 of penultimate stage coding controller;First order coding controller Two control interfaces 31 are connected respectively with another control interface 31 of master controller and second level coding controller, such as Fig. 4 institutes Show;Or, another 31 phase of control interface of a control interface 31 of first order coding controller and second level coding controller Even, as shown in Figure 5.It is thus possible to realize the cascade of each coding controller, encoded for more solar components 40.
For example, as shown in figure 4, code control system includes multiple cascade coding controllers, it is denoted as coding control respectively Device 1, coding controller 2, coding controller n-1 and coding controller n processed;In addition to coding controller 1 and coding controller n Except, for coding controller 2 to coding controller n-1, one of each coding controller control interface 31 and upper one One of grade coding controller control interface 31 is connected, another control interface 31 and next stage coding controller are wherein One control interface 31 is connected;For coding controller 1, a control of one of control interface 31 and coding controller 2 Interface 31 is connected;For coding controller n, a control interface 31 of one of control interface 31 and coding controller n-1 It is connected.
In the specific implementation, in embodiments of the present invention, code control system can also include:According to each solar components 40 string formation electric current and the cable being arranged, do not provide diagram;Cable, for connecting each solar components 40.To realize each Connection between solar components 40.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of coding method of solar components, for such as Coding controller in above-mentioned solar components code control system provided in an embodiment of the present invention;As shown in fig. 6, coding method Including:
S601, the coded command that master controller is sent is received;
Wherein, master controller can also pass through coding controller by wireless transmission when sending coded command Control terminal to coding controller send, do not limit herein, as long as coding controller can receive coded command.And And master controller can not be limited herein with computer, mobile terminal (such as mobile phone) or other equipment with control function.
S602, the first coding control signal is sent by subdata output end, is sent and is encoded by sub- coding output end, with Make have the solar components of physical connection according to the first coding control signal pair by sub- coding output end and coding controller After coding is handled, feedback signal is sent to coding controller;
Wherein, the first coding control signal can be understood as initializing signal so that each solar components are in be encoded State, also, be also possible that in link between coding controller and each solar components, only coding controller allowed to send out The signal transmission sent, in order to which coding controller encodes each solar components.In addition, being sent by sub- coding output end Coding can be understood as:Coding controller should be the solar components for having physical connection with it and (is denoted as first solar energy Component) coding that assigns, so that first solar components by after the code storage to memory, is sent anti-to coding controller Feedback signal;Also, when first solar components sends feedback signal to coding controller, if in one group of data output end only There are one son coding output ends, then send feedback signal by subdata output end, and the coding is carried in feedback signal; If have multiple sub- coding output ends in one group of data output end, one of son coding output end is sent out for coding controller Coding is sent, one of son coding output end is used for solar components feedback encoding, and feedback letter is sent by subdata output end Number, the coding can be carried in feedback signal at this time, the coding can not also be carried, do not limited herein.
S603, determine whether to receive the feedback signal that current encoded solar components are sent;If so, executing step Rapid S604;If it is not, thening follow the steps S605;
S604, the second coding control signal is sent to current encoded solar components by subdata output end, with Make current encoded solar components according to the second coding control signal, according to be pre-configured agreement to the coding of itself at Generated after reason it is newly encoded, and by internal address wire by it is newly encoded be transmitted to it is adjacent with current encoded solar components Next solar components so that the next solar components adjacent with current encoded solar components to it is newly encoded into The rear of row processing sends feedback signal to coding controller;Continue back at step S603;
Wherein, the current encoded solar components codings of itself is carried in the second coding control signal, so as to work as Preceding encoded the second coding control signal of solar components pair responds, and then for other uncoded solar components Second coding control signal will not be responded, to avoid code error;For positioned at current encoded solar components With each solar components between sub- coding output end, since these solar components have been completed to encode, so will not be right Second coding control signal is responded, to avoid code error.That is, only solar components are encoded to the second volume When the coding carried in code control signal, which can just respond the second coding control signal, in order to this Solar components encode coupled next solar components.
Also, it can be just configured before master controller sends coded command to coding controller to be pre-configured agreement The agreement of completion, and the agreement is configured in master controller, coding controller and each solar components, in order to realize To the coding of each solar components.
In addition, the agreement being pre-configured can be configured according to actual needs, do not limit herein.
S605, determine that each solar components being correspondingly connected with complete coding.
It should be noted that the coding between each solar components is different, for distinguishing each solar components, Can be the group by any one of number, letter, spcial character or two or three and for the setting of coding At not limiting herein.
It is that son is passed through by coding controller for the coding of first solar components in addition, in above-mentioned cataloged procedure Encode what output end was sent, and for remaining solar components, coding is to pass through home address by previous solar components What line was sent.For example, one group of data output end of coding controller is connected by three solar components, and three solar components It is parallel to subdata output end, is series at sub- coding output end;It is coding controller for the coding of first solar components It is sent to first solar components by sub- coding output end;It it is first for the coding of second solar components Solar components generate newly encoded according to being pre-configured after agreement handles the coding of its own, and are sent out by home address line It send to second solar components;It is second solar components also according to pre- for the coding of third solar components Configuration protocol generates newly encoded after handling the coding of its own, and be sent to third solar energy by home address line Component.In this way, reducing the operand of coding controller, power consumption is reduced.It, can be with also, by the design to coding method It rapidly and accurately realizes the coding work to each solar components, improves the efficiency of coding.
In the specific implementation, the quantity for the coding controller for including due to code control system is at least one, so Step S601 in embodiments of the present invention can also be wrapped after the coded command that coding controller receives that master controller is sent It includes:
Coding controller determines the number for the coding controller for including in code control system.
To when with multiple cascade coding controllers, be conducive to control of the master controller to each coding controller.
In the specific implementation, a coding controller in code control system is connected by control terminal with master controller When, in embodiments of the present invention, the coding controller being connected with master controller can be determined as first order coding controller;
Also, it in embodiments of the present invention, determines the number for the coding controller for including in code control system, can have Body includes:
First order coding controller determines whether control terminal is connected with other coding controllers;
When first order coding controller determines that control terminal is not connected with other coding controllers, determine in code control system Including a coding controller;
When first order coding controller determines that control terminal is connected with other coding controllers, first order coding controller from Itself start to be followed successively by cascade each coding controller and be encoded, and determines the coding controller for including in code control system Number.
To when master controller is electrically connected with coding controller, can be realized to each by first order coding controller The coding work of coding controller.
In the specific implementation, coding controller receives volume of the master controller by wireless signal transmission by wireless receiver When code instruction, in embodiments of the present invention, determines the number for the coding controller for including in code control system, can specifically wrap It includes:
The coding controller for receiving coded command determines whether control terminal connects other coding controllers;
When the coding controller for receiving coded command determines that control terminal is not connected with other coding controllers, coding is determined It include a coding controller in control system;
When the coding controller for receiving coded command determines that control terminal connects other coding controllers, according to default rule After then determining first order coding controller, first order coding controller is followed successively by cascade each coding controller and is compiled Code, and determine the number for the coding controller for including in code control system.
To, in master controller with each coding controller without being electrically connected when, can be realized by first order coding controller To the coding work of each coding controller.
Specifically, in embodiments of the present invention, when the control terminal of coding controller includes two control interfaces, rule are preset Can be specially then:
It, will wherein if be not connected with other coding controllers there are one of two coding controllers control interface Any one coding controller be determined as first order coding controller.
To can determine that first order coding controller by simple method, improve code efficiency.
For example, when there are cascade three coding controllers, it is denoted as coding controller 1, coding controller 2 respectively and compiles Code controller 3;Master controller has wireless transmitting function, at this time after master controller emits coded command, coding controller 1-3 Coded command can be received, for three coding controllers, can determine whether be connected with other volumes at its control interface respectively Code controller.Wherein, for coding controller 2, it is found that two control interface is respectively connected with other coding controllers, institute With coding controller 2 is not determined to first order coding controller;For coding controller 1, it is found that only there are one controls to connect Mouthful other coding controllers are connected with, meanwhile, coding controller 3 there are one control interface it is again seen that be only connected with other volumes Code controller, then at this point it is possible to any one in coding controller 1 and coding controller 3 is determined as first order coding Controller.If coding controller 1 is determined as first order coding controller, coding controller 1 can be each coding-control Device assigns a coding, such as 1,2 and 3, or letter A, B and C, or is the combination of number and letter, or is it His character, does not limit herein, and in order to distinguish each coding controller, each coding is controlled convenient for master controller or remote system Each solar components of device connection processed carry out control and data analysis.
It should be noted that in embodiments of the present invention, if there are when cascade multiple coding controllers, each coding-control When being encoded to each solar components connected to it, which is independent from each other device, can't interfere with each other; That is, when there are cascade two coding controllers, it is denoted as coding controller 1 and coding controller 2, coding control respectively Device 1 and coding controller 2 processed respectively encode the solar components that it is connected, and coding controller 1 and coding controller 2 Cataloged procedure will not interfere with each other, be independent from each other, so as to greatly improve the efficiency of coding.
In the specific implementation, in embodiments of the present invention, one group of data output end of coding controller includes:One son is compiled When code output end, solar components send feedback signal to coding controller, specifically include:Solar components are by being correspondingly connected with Data output end in subdata output end sent to coding controller and carry the feedback signal of coding;
Or, one group of data output end of coding controller includes:When multiple sub- coding output ends, solar components are to coding Controller sends feedback signal, can specifically include:Solar components pass through wherein one in the data output end that is correspondingly connected with Height encodes output end to coding controller feedback encoding, by the subdata output end in the data output end that is correspondingly connected with to Coding controller sends feedback signal.
It is thus possible to improve the processing speed of the coding to feedback signal and feedback, and then improve the efficiency of coding.
Specifically, in order to improve the accuracy of coding, current encoded solar components are received in coding controller After the feedback signal of transmission, it is also necessary to be verified to coding, therefore, in embodiments of the present invention, further include:
Coding controller determines the coding of current encoded solar components feedback;
Coding controller according to being pre-configured agreement, it is determined that assign the codings of current encoded solar components with it is anti- Whether the coding of feedback is identical;
If when identical, coding controller is determined completes coding to current encoded solar components.
Specifically, if current encoded solar components are first solar components, in coding controller according to pre- Configuration protocol, it is determined that assign current encoded solar components coding with feedback coding whether phase simultaneously as Coding controller directly sends coding by sub- coding output end to first solar components, so checking procedure at this time It is:Coding controller directly the coding of feedback and will pass through sub- coding after the coding for determining first solar components feedback The coding that output end is sent is compared, if identical, coding is correct, if it is different, then code error, needs again to first Solar components are encoded.
It should be noted that current encoded solar components, which can be understood as current solar components, receives coding And by code storage.But in a practical situation, it is possible that the coding of storage encodes inconsistent feelings with what is received Condition can so lead to code error, be reduced so as to cause coding accuracy.
In order to avoid the appearance of this problem, need to carry out data check to encoded solar components, that is to say, that Coding controller carries out the coding stored in solar components with the coding that should assign current encoded solar components Comparison, if the two is identical, coding is correct, completes coding, if the two is different, code error needs to re-start above-mentioned The step of S604, until coding is correct, until completing coding.Therefore, the solar components of coding are completed, it can be understood as coding Controller completes checking procedure, determines that the coding of current encoded solar components storage is correct.In this way, substantially increasing coding Accuracy, avoid mistake appearance.
In addition, coding controller completes the coding of each solar components according to the agreement configured between master controller, with Keep the coding between each solar components different, so as to position the position of each solar components, and to each solar components Working condition be monitored, in order to the maintenance to each solar components.
Certainly, in order to realize more functions, the coding of each solar components can also be handled.For example, in order to The destruction of outer bound pair code control system is avoided, coding can also be done at encryption when being encoded to each solar components Reason;In another example in order to the clearly information such as manufacturer of each solar components, manufacturer can also will be increased in coding Mark (such as vendor name, code name information).Certainly, it is merely illustrative, is not limited in practical situations above-mentioned herein Two examples.
Below just in conjunction with specific embodiments when, embodiment that the present invention will be described in detail provide above-mentioned coding method.
Embodiment one:There are one coding controllers, coding controller, and there are one group of data to export for tool in code control system End, and this group of data output end includes that a son encodes output end and two sub- data output ends, it is in parallel with subdata output end There are three solar components for connection.In conjunction with method flow diagram shown in Fig. 7.
S701, master controller send coded command;
S702, coding controller receive coded command;
S703, coding controller send the first coding control signal by subdata output end to each solar components, lead to It crosses son coding output end and sends the first coding;
S704, with coding controller there are first solar components of physical connection to receive the first coding control signal Later, the first code storage that will be received;
S705, first solar components, which are sent by subdata output end to coding controller, carries the anti-of the first coding Present message;
S706, coding controller determine the carried in feedback message first coding and pass through after receiving feedback message Whether the first coding that son coding output end is sent is identical;If so, executing step S707;If it is not, then returning to step S703;
S707, coding controller, which are sent by subdata output end to first solar components, carries the of the first coding Two coding control signals;
After S708, first solar components receive the second coding control signal, it will be stored according to agreement is pre-configured First coding carry out processing generate second coding after, by home address line by second coding be sent to second solar energy group Part;
S709, second solar components are by the second code storage;
S710, second solar components, which are sent by subdata output end to coding controller, carries the anti-of the second coding Present message;
S711, coding controller are after receiving feedback message, according to agreement is pre-configured, determines and are carried in feedback message Whether the second coding and the coding that should assign second solar components are identical;If so, thening follow the steps S712;If it is not, then Return to step S707;
S712, coding controller, which are sent by subdata output end to second solar components, carries the of the second coding Three coding control signals;
After S713, second solar components receive third coding control signal, it will be stored according to agreement is pre-configured Second coding carry out processing generate third coding after, by home address line by third coding be sent to third solar energy group Part;
S714, third solar components are by third code storage;
S715, third solar components, which are sent by subdata output end to coding controller, carries the anti-of third coding Present message;
S716, coding controller are after receiving feedback message, according to agreement is pre-configured, determines and are carried in feedback message Whether third coding and the coding that should assign third solar components are identical;If so, thening follow the steps S717;If it is not, then Return to step S712;
S717, coding controller determine that each solar components of connection complete coding.
Embodiment two:There are two concatenated coding controllers for tool in code control system, are denoted as coding controller 1 respectively and compile Code controller 2, and coding controller 1 be electrically connected with master controller or master controller have wireless transmitting function when, determine coding Controller 1 is first order coding controller;Each coding controller all has two groups of data output ends, and every group of data output end Including two sub- data output ends and two son coding output ends;Two son coding output ends are denoted as sub- coding output end 1 respectively With sub- coding output end 2, wherein sub- coding output end 1 is encoded for sending, and sub- coding output end 2 is used for feedback encoding;Every group In data output end, two solar components are parallel to subdata output end, and are series at two son coding output ends.In conjunction with figure Method flow diagram shown in 8.
S801, master controller send coded command;
S802, coding controller 1/2 receive coded command;
S803, coding controller 1 determine the number and number of cascade coding controller;
S804, coding controller 1/2 send the first coding control signal by subdata output end to each solar components, The first coding is sent by sub- coding output end 1;
S805, with coding controller 1/2 there are each first solar components of physical connection to receive the first coding control After signal processed, by the first code storage;
S806, each first solar components are sent by subdata output end to the coding controller being correspondingly connected with anti- Feedforward information passes through the first coding of sub- coding output end 2 feedback;
S807, coding controller 1/2 upon reception of the feedback information, determine and encode the first of the feedback of output end 2 by son Whether coding and the first coding sent by sub- coding output end 1 are identical;If so, executing step S808;If it is not, then returning to step Rapid S804;
S808, coding controller 1/2 are sent to two first solar components by subdata output end carry respectively Second coding control signal of the first coding;
After S809, first solar components receive the second coding control signal, according to pre-configuration agreement to storage The first coding after processing generates the second coding, send second to second solar components by home address line and compile Code;
S810, each second solar components are by the second code storage;
S811, each second solar components are sent by sub- coding output end 2 to the coding controller being correspondingly connected with Feedback information passes through the second coding of sub- coding output end 2 feedback;
S812, coding controller 1/2 upon reception of the feedback information, according to agreement is pre-configured, determine defeated by son coding Whether the second coding that outlet 2 is fed back and the coding that should assign second solar components are identical;If so, thening follow the steps S813;If it is not, then returning to step S808;
S813, coding controller 1/2 determine that each solar components of connection complete coding.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of code device of solar components, is applied to Coding controller in code control system, since the operation principle of the code device and a kind of aforementioned work of coding method are former Manage similar, the specific implementation mode of code device can be found in the embodiment of aforementioned encoding methods, and overlaps will not be repeated.
Specifically, code device provided in an embodiment of the present invention, as shown in figure 9, may include:
Receiving unit 901, the coded command for receiving master controller transmission;
Transmission unit 902 passes through sub- coding output end for sending the first coding control signal by subdata output end Coding is sent, so as to have the solar components of physical connection according to the first coding by sub- coding output end and coding controller After control signal handles coding, feedback signal is sent to coding controller;It is received in determination current encoded When the feedback signal that solar components are sent, second is sent to current encoded solar components by subdata output end and compiled Code control signal so that current encoded solar components are according to the second coding control signal, according to be pre-configured agreement to from The coding of body generated after being handled it is newly encoded, and by internal address wire by it is newly encoded be transmitted to it is current encoded too The adjacent next solar components of positive energy component so that the next solar energy adjacent with current encoded solar components Component to it is newly encoded handle rear send feedback signal to coding controller;Wherein, it is carried in the second coding control signal There is the current encoded solar components coding of itself;
Determination unit 903 is used to determine whether to receive the feedback signal that current encoded solar components are sent; When determining the feedback signal for not receiving current encoded solar components transmission, each solar components being correspondingly connected with are determined Complete coding.
Optionally, in embodiments of the present invention, after the coded command that coding controller receives that master controller is sent, really Order member 903 is additionally operable to determine the number for the coding controller for including in code control system.
Optionally, in embodiments of the present invention, receive feedback signal that current encoded solar components are sent it Afterwards, determination unit 903 are additionally operable to determine the coding of current encoded solar components feedback;According to agreement is pre-configured, determine Whether the coding that current encoded solar components should be assigned is identical as the coding of feedback;If when identical, determining to current Encoded solar components complete coding.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of code device of solar components, is applied to Coding controller in code control system, since the operation principle of the code device and a kind of aforementioned work of coding method are former Manage similar, the specific implementation mode of code device can be found in the embodiment of aforementioned encoding methods, and overlaps will not be repeated.
Specifically, above-mentioned code device provided in an embodiment of the present invention may include as shown in Figure 10:
Memory 1001, for storing program instruction;
Processor 1002 is executed for calling the program instruction stored in memory according to the program of acquisition:
Receive the coded command that master controller is sent;
The first coding control signal is sent by subdata output end, is sent and is encoded by sub- coding output end, so that logical The solar components of son coding output end and coding controller with physical connection are crossed according to the first coding control signal to coding After being handled, feedback signal is sent to coding controller;
Determine receive feedback signal that current encoded solar components are sent when, by subdata output end to Current encoded solar components send the second coding control signal, so that current encoded solar components are according to second Coding control signal generates address that is newly encoded, and passing through inside according to being pre-configured after agreement handles the coding of itself Line is transmitted to the next solar components adjacent with current encoded solar components by newly encoded so that with currently compiled Next solar components that the solar components of code are adjacent feed back newly encoded rear sent to coding controller handle Signal;
When determination does not receive the feedback signal that current encoded solar components are sent, determination is correspondingly connected with each Solar components complete coding;
Wherein, the current encoded solar components codings of itself is carried in the second coding control signal.
Can be that centre buries device (CPU), specially it should be pointed out that the processor 1002 referred in the embodiment of the present invention With integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Complex Programmable Logic Devices (Complex Programmable Logic Device, CPLD).
Also, the memory 1001 referred in the embodiment of the present invention may include read-only memory (ROM) and arbitrary access Memory (RAM), and provide the program instruction stored in memory and data to processor.In embodiments of the present invention, it stores Device can be used for storing the program of either method provided in an embodiment of the present invention.
Processor is by the program instruction for calling memory to store, and processor according to the program instruction of acquisition for executing sheet The either method that inventive embodiments provide.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of computer storage media, and computer storage is situated between Matter is stored with computer executable instructions, and computer executable instructions are provided in an embodiment of the present invention for making computer execute State coding method.
Computer storage media can be any usable medium or data storage device that computer can access, including but Be not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.), optical memory (such as CD, DVD, BD, HVD etc.) and semiconductor memory (such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid-state Hard disk (SSD)) etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
An embodiment of the present invention provides a kind of coding controller, code control system and coding methods, by being controlled to coding The setting of device and solar components processed can transmit various control signals by subdata output end, be exported by sub- coding End transmission coding, can improve the precision of signal transmission, convenient for the acquisition and transmission to related data, improve the processing speed of data Degree;And may be implemented to be connected to data output end each solar components carry out autocoding, save a large amount of manpowers and Material resources substantially increase the efficiency of coding so that cataloged procedure is both simple and quick.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (18)

1. a kind of coding controller, which is characterized in that the coding controller has data output end and control terminal;
The data output end, for connecting the coding controller and solar components;
The data output end is at least one group, and data output end described in every group includes:It is at least one to be used for transmission various controls The subdata output end of signal processed and at least one son coding output end for sending coding;
The control terminal at least is used to receive the coded command of master controller transmission;
The coding controller, for after receiving the coded command, by the subdata output end to the sun Energy component sends coding control signal, is sent and is encoded to the solar components by the sub- coding output end, completes to institute Solar components are stated to be encoded.
2. coding controller as described in claim 1, which is characterized in that the control terminal further includes:Wireless receiver is used for Receive coded command of the master controller by wireless signal transmission.
3. a kind of code control system of solar components, which is characterized in that including:It is at least one as claimed in claim 1 or 2 Coding controller, the multiple solar components and master controller that are connected with the coding controller;
Each solar components are connected in parallel to the subdata output end of the coding controller;
The solar components include:Address wire;Described address line, for each described of the subdata output end will to be connected in parallel to Solar components are connected to the son coding output end with group data output end with the subdata output end, and are adjacent The solar components send coding;
The master controller, for sending coded command to the coding controller, so that the coding controller is receiving After the coded command, by the subdata output end and the sub- coding output end, complete to be correspondingly connected with it is each it is described too The coding of positive energy component.
4. code control system as claimed in claim 3, which is characterized in that the coding controller is exported with multi-group data End;
Each solar components are divided into multigroup;Each solar components series connection for including in every group of solar components connects It is connected to the sub- coding output end, is connected in parallel to the subdata output end;Wherein, the sub- coding output end and the son Data output end belongs to same group of data output end;
Solar components described in one group are correspondingly connected with data output end described in one group.
5. code control system as claimed in claim 3, which is characterized in that the coding controller has multiple;
Each coding controller is cascaded by control terminal.
6. a kind of coding method, which is characterized in that for such as claim 3-5 any one of them solar components coding-controls Coding controller in system;The coding method includes:
Receive the coded command that master controller is sent;
The first coding control signal is sent by subdata output end, is sent and is encoded by sub- coding output end, so as to pass through institute Stating sub- coding output end and the coding controller, there are the solar components of physical connection to be believed according to first coding-control After number handling the coding, feedback signal is sent to the coding controller;
Determine receive feedback signal that current encoded solar components are sent when, by subdata output end to current Encoded solar components send the second coding control signal, so that current encoded solar components are according to described second Coding control signal generates address that is newly encoded, and passing through inside according to being pre-configured after agreement handles the coding of itself Line is transmitted to the next solar components adjacent with current encoded solar components by newly encoded so that with currently compiled The adjacent next solar components of solar components of code are to the newly encoded backward coding controller handle Send feedback signal;
When determination does not receive the feedback signal that current encoded solar components are sent, determination is correspondingly connected with each described Solar components complete coding;
Wherein, the current encoded solar components codings of itself is carried in second coding control signal.
7. coding method as claimed in claim 6, which is characterized in that receive the coding that master controller is sent in coding controller After instruction, further include:
Determine the number for the coding controller for including in the code control system.
8. coding method as claimed in claim 7, which is characterized in that a coding controller in code control system When being connected with the master controller by control terminal, the coding controller being connected with the master controller is determined as first Grade coding controller;
The number for determining the coding controller for including in the code control system, specifically includes:
The first order coding controller determines whether control terminal is connected with other coding controllers;
When the first order coding controller determines that the control terminal is not connected with other coding controllers, the coding control is determined It include a coding controller in system processed;
When the first order coding controller determines that the control terminal is connected with other coding controllers, the first order coding Controller is followed successively by cascade each coding controller since itself and is encoded, and determines in the code control system and include Coding controller number.
9. coding method as claimed in claim 7, which is characterized in that the coding controller receives institute by wireless receiver When stating coded command of the master controller by wireless signal transmission, the coding controller for including in the code control system is determined Number, specifically include:
The coding controller for receiving the coded command determines whether control terminal connects other coding controllers;
When the coding controller for receiving the coded command determines that control terminal is not connected with other described coding controllers, Determine in the code control system to include a coding controller;
When the coding controller for receiving the coded command determines that control terminal connects other described coding controllers, press After determining first order coding controller according to preset rules, the first order coding controller is followed successively by cascade each volume Code controller is encoded, and determines the number for the coding controller for including in the code control system.
10. coding method as claimed in claim 9, which is characterized in that the control terminal of the coding controller includes two controls When interface processed, the preset rules are specially:
If be not connected with other described coding controllers there are one of two coding controllers control interface, Any one coding controller therein is then determined as the first order coding controller.
11. coding method as claimed in claim 6, which is characterized in that one group of data output end packet of the coding controller It includes:When one sub- coding output end, the solar components send the method tool of feedback signal to the coding controller Body is:
By the subdata output end in the data output end that is correspondingly connected with volume is carried to coding controller transmission The feedback signal of code.
12. coding method as claimed in claim 6, which is characterized in that one group of data output end packet of the coding controller It includes:When multiple sub- coding output ends, the solar components send the method tool of feedback signal to the coding controller Body is:
It is fed back to the coding controller by the sub- coding output end one of in the data output end that is correspondingly connected with Coding sends feedback letter by the subdata output end in the data output end that is correspondingly connected with to the coding controller Number.
13. such as claim 6-12 any one of them coding methods, which is characterized in that receive current encoded solar energy After the feedback signal that component is sent, further include:
Determine the coding of current encoded solar components feedback;
According to be pre-configured agreement, it is determined that assign current encoded solar components coding with feed back coding whether phase Together;
If when identical, determining and completing coding to current encoded solar components.
14. a kind of code device, which is characterized in that including:
Receiving unit, the coded command for receiving master controller transmission;
Transmission unit is sent by sub- coding output end and is compiled for sending the first coding control signal by subdata output end Code, so as to have the solar components of physical connection according to described the by the sub- coding output end and the coding controller After one coding control signal handles the coding, feedback signal is sent to the coding controller;It is received determining When the feedback signal sent to current encoded solar components, by subdata output end to current encoded solar energy Component sends the second coding control signal, so that current encoded solar components are according to second coding control signal, According to be pre-configured after agreement handles the coding of itself generate it is newly encoded, and by internal address wire by newly encoded transmission To the next solar components adjacent with current encoded solar components so that with current encoded solar components Adjacent next solar components to it is described it is newly encoded handle rear send feedback signal to the coding controller;Its In, the current encoded solar components codings of itself is carried in second coding control signal;
Determination unit is used to determine whether to receive the feedback signal that current encoded solar components are sent;It is determining not When receiving the feedback signal that current encoded solar components are sent, determine that each solar components being correspondingly connected with are complete At coding.
15. code device as claimed in claim 14, which is characterized in that receive the volume that master controller is sent in coding controller After code instruction, the determination unit is additionally operable to determine the number for the coding controller for including in the code control system.
16. code device as claimed in claim 14, which is characterized in that receive current encoded solar components and send Feedback signal after, the determination unit is additionally operable to determine the coding of current encoded solar components feedback;According to pre- Configuration protocol, it is determined that whether the coding for assigning current encoded solar components is identical as the coding of feedback;If identical When, it determines and coding is completed to current encoded solar components.
17. a kind of code device, which is characterized in that including:
Memory, for storing program instruction;
Processor is executed for calling the program instruction stored in the memory according to the program of acquisition:
Receive the coded command that master controller is sent;
The first coding control signal is sent by subdata output end, is sent and is encoded by sub- coding output end, so as to pass through institute Stating sub- coding output end and the coding controller, there are the solar components of physical connection to be believed according to first coding-control After number handling the coding, feedback signal is sent to the coding controller;
Determine receive feedback signal that current encoded solar components are sent when, by subdata output end to current Encoded solar components send the second coding control signal, so that current encoded solar components are according to described second Coding control signal generates address that is newly encoded, and passing through inside according to being pre-configured after agreement handles the coding of itself Line is transmitted to the next solar components adjacent with current encoded solar components by newly encoded so that with currently compiled The adjacent next solar components of solar components of code are to the newly encoded backward coding controller handle Send feedback signal;
When determination does not receive the feedback signal that current encoded solar components are sent, determination is correspondingly connected with each described Solar components complete coding;
Wherein, the current encoded solar components codings of itself is carried in second coding control signal.
18. a kind of computer storage media, which is characterized in that the computer storage media is stored with the executable finger of computer It enables, the computer executable instructions are for making the computer perform claim require 6 to 13 any one of them coding methods.
CN201810757679.7A 2018-07-11 2018-07-11 Coding controller, coding control system and coding method Pending CN108628232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810757679.7A CN108628232A (en) 2018-07-11 2018-07-11 Coding controller, coding control system and coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810757679.7A CN108628232A (en) 2018-07-11 2018-07-11 Coding controller, coding control system and coding method

Publications (1)

Publication Number Publication Date
CN108628232A true CN108628232A (en) 2018-10-09

Family

ID=63689874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810757679.7A Pending CN108628232A (en) 2018-07-11 2018-07-11 Coding controller, coding control system and coding method

Country Status (1)

Country Link
CN (1) CN108628232A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354181A (en) * 2011-08-03 2012-02-15 韦自力 Control system based on field bus and method for addressing addresses for bus equipment
CN103454687A (en) * 2013-09-11 2013-12-18 东华理工大学 Three-dimensional electrical resistivity data measurement network system and addressing method thereof
CN107276632A (en) * 2017-06-23 2017-10-20 江汉大学 A kind of alignment system and method
CN208334977U (en) * 2018-07-11 2019-01-04 汉能移动能源控股集团有限公司 A kind of code control system of coding controller and solar components

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354181A (en) * 2011-08-03 2012-02-15 韦自力 Control system based on field bus and method for addressing addresses for bus equipment
CN103454687A (en) * 2013-09-11 2013-12-18 东华理工大学 Three-dimensional electrical resistivity data measurement network system and addressing method thereof
CN107276632A (en) * 2017-06-23 2017-10-20 江汉大学 A kind of alignment system and method
CN208334977U (en) * 2018-07-11 2019-01-04 汉能移动能源控股集团有限公司 A kind of code control system of coding controller and solar components

Similar Documents

Publication Publication Date Title
CN105049151A (en) Method for controlling serial port communication and communication serial port
CN107819659B (en) Intelligent cascade communication network based on SPI
CN111767068B (en) Equipment for carrying out batch upgrading on communication modules and batch upgrading system
CN109286404A (en) A kind of Polar code encoding method and device
CN106878285B (en) Communication method applied to programming and testing system of anti-fuse device
CN103647759A (en) Negotiation method and apparatus of maximum segment size (MSS)
CN108234081A (en) Coding method and device
CN104268112A (en) Method and device for connecting ADB devices
KR102159698B1 (en) Linear motor system and driving method thereof
CN208334977U (en) A kind of code control system of coding controller and solar components
CN108471343B (en) Method and device for determining communication check code, and communication check method and system
CN104375496A (en) Distributed control system and control method implemented by same
CN110912836A (en) Method, control device, storage medium, and system for forwarding data by forwarding device
CN104767664B (en) Method, apparatus and system of a kind of ring-type communication network increase and decrease from node
CN105160282A (en) Machine type selecting system and method and domestic appliance
CN108628232A (en) Coding controller, coding control system and coding method
CN105119957A (en) Information transmission method and device used for intelligent device
CN208334976U (en) A kind of code control system of coding controller and solar components
JP6920511B2 (en) Mesh network signal transmission method and its remote control system
CN107864199A (en) The realization device of Internet of Things communication means, device and Internet of Things Network Communication
CN108919712A (en) Coding controller, coding control system and coding method
CN104683130A (en) Method for configuring stacking port and equipment
CN108111222A (en) infrared emission control device and method
CN110032537B (en) Address writing method, address writing device and computer readable storage medium
CN107404319A (en) Data receiver method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201223

Address after: No.31 Yanqi street, Yanqi Economic Development Zone, Huairou District, Beijing

Applicant after: Beijing Huihong Technology Co.,Ltd.

Address before: Room 107, building 2, Olympic Village street, Chaoyang District, Beijing

Applicant before: HANERGY MOBILE ENERGY HOLDING GROUP Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211110

Address after: 101499 No. 31, Yanqi street, Yanqi Economic Development Zone, Huairou District, Beijing

Applicant after: Dongjun new energy Co.,Ltd.

Address before: 101499 No. 31, Yanqi street, Yanqi Economic Development Zone, Huairou District, Beijing

Applicant before: Beijing Huihong Technology Co.,Ltd.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181009

WD01 Invention patent application deemed withdrawn after publication