Modular controller customization method and controller
Through the modular controller customization method, functional modules are selected and spliced according to user needs, which solves the difficulty of multi-controller configuration and maintenance in the existing technology, achieves flexible and efficient controller customization, and reduces costs and maintenance requirements. .
Patent Information
- Application Number
- CN202410162737.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-08-27
AI Technical Summary
Existing industrial controllers need to be configured with multiple controllers to adapt to different control objects, which increases costs and maintenance difficulty, and users require frequent maintenance, which affects normal use.
Adopting a modular controller customization method, select and splice corresponding functional modules according to user needs, including setting modules, button modules, voltage stabilizing modules, low-voltage input modules, relay modules, etc., through a seven-pin plug connector and seven-hole plug-in slots to realize splicing and communication between modules, and configure master-slave communication protocols to achieve customized functions.
It realizes rapid customization of the controller according to user needs, reduces costs and maintenance difficulties, and improves the flexibility and efficiency of the controller.
Smart Images

Figure CN118550219A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of controller design, and in particular relates to a modular controller customization method and a controller. Background Art
[0002] A controller is a device that changes the wiring of the main circuit or control circuit and the resistance value in the circuit in a predetermined order to control the start, speed regulation, braking and reversal of the motor. It is composed of a program counter, an instruction register, an instruction decoder, a timing generator and an operation controller. It is the "decision-making body" that issues commands, that is, it coordinates and directs the operation of the entire computer system.
[0003] Industrial controller refers to the controller that has become a serialized and standardized product. It is a type of automatic instrument. The main task of current process control is to maintain the stability of production, so many control systems are designed to keep certain parameters constant. This control system is called a constant value system, and it is often called a regulation system in process control. Therefore, the controller used in the regulation system is also customarily called a regulator. Controllers that combine the three basic control functions of proportional, integral, and differential are all called regulators.
[0004] Industrial controllers have a wide range of applications, such as controllers for controlling pumps. In the current industrial control settings, multiple controllers need to be set up for the controlled objects to control different object parameters, such as liquid level control, temperature control, humidity control, and relay control. This requires the configuration of several controllers, which increases the cost and the difficulty of control. At the same time, the controllers need to be frequently maintained, which increases the workload of users and delays their normal use. Summary of the invention
[0005] In view of the defects in the prior art, the present invention provides a modular controller customization method, which aims to solve the problem in the prior art that different control objects need to be configured with several corresponding controllers, which increases the cost and the difficulty of control. At the same time, the controller needs to be maintained frequently, which increases the user's workload and delays the user's normal use.
[0006] The technical solution provided by the present invention is: a modular controller customization method, the method comprising the following steps: According to the user's customized requirements, obtain the hardware requirements of the controller to be generated; According to the obtained hardware requirements of the controller to be generated, select corresponding functional modules that match the hardware requirements; A plurality of selected functional modules are installed on a controller housing in a splicing manner, and the controller housing is provided with a module installation structure matching the functional modules.
[0007] As an improved solution, the functional module includes a setting module, a button module, a voltage stabilizing module, a low voltage input module and a relay module; Each of the functional modules is configured with a number of functional modules.
[0008] As an improved solution, the functional modules include an analog output module, an analog input module, a 485 communication module, an LCD interface module, a WIFI module, an isolation input module, an LCD interface module, a transistor module, a 4G module, an Internet of Things module and a PAC module.
[0009] As an improved solution, the step of installing the selected functional modules on the controller housing in a splicing manner, wherein the controller housing is provided with a mounting structure matching the functional modules, specifically comprises the following steps: According to the user's customized needs, one functional module is selected from the functional modules as the module host, and one or more functional modules are selected as the module slaves, wherein the functional modules serving as the module host include a setting module, a key module, and a low-voltage module, and any functional module can serve as a module slave; After selecting the module host and the module slave, controlling to configure corresponding software programs in the module host and the module slave respectively; The module master and the module slave are installed in series in the controller housing in a cascaded manner of functional modules.
[0010] As an improved solution, the method further includes the following steps after the step of serially installing the module master and the module slave in the controller housing in a cascaded manner of functional modules: A corresponding master-slave communication protocol is configured in the software program of each of the functional modules.
[0011] As an improved solution, the functional module includes a circuit board body, on which a plug connector, a plug slot, a mounting hole and a plurality of circuit elements are provided; The plug connector and the plug slot are used to realize splicing with adjacent functional modules, and the plug connector adopts a seven-pin plug connector, and the plug slot adopts a seven-hole plug slot, and the seven-pin plug connector and the seven-hole plug slot are arranged correspondingly and adapted to each other; The mounting hole is used for inserting and welding the functional module.
[0012] As an improved solution, the module mounting structure includes a plate rib arranged on the controller housing for fixing the functional module, and two plate ribs are arranged opposite to each other. A number of module fixing holes for the functional module are arranged on the two plate ribs respectively, and the spacing between two adjacent module fixing holes is 5.13mm, and the spacing between the module fixing holes on the two plate ribs is 44mm.
[0013] Another object of the present invention is to provide a controller, comprising a controller housing, wherein a module mounting structure is provided in the controller housing, and a plurality of customized functional modules are spliced and mounted on the module mounting structure; The functional modules include a setting module, a button module, a voltage stabilizing module, a low voltage input module and a relay module; wherein each of the functional modules is configured with a number of functional modules; Functional modules include analog output module, analog input module, 485 communication module, LCD interface module, WIFI module, isolation input module, LCD interface module, transistor module, 4G module, Internet of Things module and PAC module.
[0014] As an improved solution, one of the setting module, the key module and the low-voltage module is selected as the module host; The setting module, button module, voltage stabilization module, low voltage input module and relay module can all be used as module slaves; The module host and the module slave interact with each other through a master-slave communication protocol that complies with cascade communication.
[0015] As an improved solution, the functional module includes a circuit board body, on which a plug connector, a plug slot, a mounting hole and a plurality of circuit elements are provided; The plug connector and the plug slot are used to realize splicing with adjacent functional modules, and the plug connector adopts a seven-pin plug connector, and the plug slot adopts a seven-hole plug slot, and the seven-pin plug connector and the seven-hole plug slot are arranged correspondingly and adapted to each other; The mounting hole is used for inserting and welding the functional module.
[0016] In an embodiment of the present invention, various hardware requirements of the controller to be generated are obtained according to the user's customized requirements; corresponding functional modules matching the various hardware requirements are selected according to the obtained hardware requirements of the controller to be generated; several selected functional modules are installed on the controller housing in a splicing manner, and a module mounting structure matching the functional modules is provided on the controller housing, so that according to the customer's customized requirements, the functional modules are customized, the communication protocols are customized, and the functional modules are quickly spliced to achieve rapid product customization. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0018] Figure 1 It is a flow chart of the implementation of the modular controller customization method provided by the present invention; Figure 2 It is a structural schematic diagram of the module installation structure provided by the present invention; Figure 3 It is a structural block diagram of the functional module provided by the present invention; Figure 4a and Figure 4b It is a schematic diagram of a circuit board of a setting module provided by the present invention; Figure 5a and Figure 5b It is a schematic diagram of a circuit board of a key module provided by the present invention; Figure 6 It is a schematic diagram of a circuit board of a low-voltage membrane group provided by the present invention; Figure 7a and Figure 7b It is a schematic diagram of a circuit board of a relay module provided by the present invention; Figure 8a and Figure 8b It is a schematic diagram of a circuit board of a voltage stabilizing module provided by the present invention; Fig. 9 It is a schematic diagram of a circuit board of the optical coupling isolation module provided by the present invention; Fig.10 It is a schematic diagram of a circuit board of the analog input module provided by the present invention; Fig.11 It is a schematic diagram of a circuit board of the analog output module provided by the present invention; Fig.12 It is a schematic diagram of a circuit board of a WiFi module provided by the present invention; Fig.13 It is an implementation flow chart provided by the present invention for installing several selected functional modules on a controller housing in a splicing manner. DETAILED DESCRIPTION
[0019] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
[0020] Figure 1The following is a flowchart of the modular controller customization method provided by the present invention, which specifically includes the following steps: In step S101, various hardware requirements of the controller to be generated are obtained according to the user's customized requirements; Among them, in view of the fact that the current selection of controllers is relatively single and cannot meet the needs of more scenarios, a quick splicing solution of controllers that matches the user's customized needs is proposed. The customized needs are selected according to the actual working scenarios, such as liquid level control, analog output control and other control scenarios.
[0021] The realization of obtaining various hardware requirements of the control to be generated can be achieved through a software program, specifically in the following manner: (1) Store the specific parameters and pictures of each functional module in the system in advance; (2) Obtaining customized requirements from users through human-computer interaction input, such as what target needs to be controlled, how many output channels are required, etc.; (3) The background data program automatically identifies and analyzes the input customized requirements and generates the hardware requirements for the controller to be generated, specifically how many functional modules are needed, which one serves as the module host, which one serves as the module slave, and so on.
[0022] In step S102, according to the acquired hardware requirements of the controller to be generated, a corresponding functional module matching each hardware requirement is selected; In this step, after obtaining various hardware requirements, corresponding functional module selection schemes can be obtained for each hardware requirement, and multiple options can be provided to the user for the user to choose from. For example, the combination of functional modules can match the various hardware requirements. Multiple schemes can be provided to the user, and the user makes a selection on the corresponding human-computer interaction interface.
[0023] In step S103, several selected functional modules are installed on a controller housing in a splicing manner, and a module installation structure matching the functional modules is provided on the controller housing.
[0024] In this step, several selected functional modules are spliced on the controller housing in a quick splicing manner, and corresponding software programs and communication protocols are configured to realize various functions of the controller. Among them, the module installation structure can be implemented in multiple ways, and one implementation method is given below: like Figure 2As shown, the module mounting structure includes a plate rib 2 arranged on the controller housing 1 for fixing the functional module, and two plate ribs 2 are relatively arranged, and a plurality of module fixing holes 3 for the functional module are arranged on the two plate ribs 2 respectively, and the spacing between two adjacent module fixing holes 3 is 5.13mm, and the error is 0.1, and the spacing between the module fixing holes 3 on the two plate ribs 2 is 44mm; the hole spacing between adjacent module fixing holes 3 is adapted to the spacing between the mounting holes on the functional module, and the module fixing holes 3 are arranged to facilitate the connection and fixation of the functional module.
[0025] In an embodiment of the present invention, the functional module includes a setting module, a key module, a voltage stabilization module, a low voltage input module and a relay module; Among them, each functional module is configured with several functional modules, including analog output module, analog input module, 485 communication module, LCD interface module, WIFI module, isolation input module, LCD interface module, transistor module, 4G module, Internet of Things module and PAC module; Among them, the functions of the above-mentioned functional modules on each module are conventionally implemented. For example, the 4G module realizes the communication of the 4G network, and the Internet of Things module realizes the interconnection of the Internet of Things. They will not be repeated here. The various functional modules can be set on the functional module in a plug-in and welding manner. The setting of the functional module realizes the various functions of the controller.
[0026] In this embodiment, if Figure 3 As shown, the functional module comprises a circuit board body 4, on which a plug connector 5, a plug slot 6, a mounting hole 7 and a plurality of circuit components are provided; The plug connector 5 and the plug slot 6 are used to realize the splicing with the adjacent functional modules, and the plug connector 5 adopts a seven-pin plug connector, and the plug slot 6 adopts a seven-hole plug slot, and the seven-pin plug connector and the seven-hole plug slot are arranged correspondingly and adapted to each other; The mounting hole 7 is used for plugging and welding the functional module. Correspondingly, a welding point or plug-in point matching the functional module is provided on the functional module. Several groups of functional modules and specific plate structures of the functional modules are given below for illustration: (1) Set up the module, such as Figure 4a and Figure 4b As shown: It has 1 OLED1.3 slot, 1 0.56 digital tube, 4-digit digital tube with or without colon; 4 independent buttons, 4 green indicator lights; Expandable functions: 1-5 pin programmable independent module; 1 clock module; 1 remote control module; 1 bus socket; Of course Figure 4a and Figure 4bThe contents of the plug connector 5 and the plug slot 6 are not given, and are not intended to limit the present invention. (2) Key module, taking 8 keys as an example, Figure 5a and Figure 5b As shown: Function: 8 buttons, 8 red indicator lights, 8 green indicator lights, 1 buzzer; Expandable functions: 1-5 pin programmable independent module; 1 clock module; 1 remote control module; 2 bus sockets; (3) Low voltage modules, such as Figure 6 As shown; Function: It has 4 input and output interfaces; Expandable functionality: Isolation input module X4 channels; LCD screen interface x1; Analog input module X4 channels; Analog output module X4 channels; 485 module x1; WIFI module x1; 4G module x1; (4) Relay modules, such as Figure 7a and Figure 7b As shown: Function: With 3 output interfaces; Expandable functionality: 1-3 relays are optional; (5) Voltage stabilizing module, such as Figure 8a and Figure 8b As shown: Attributes: Internal and external output type Function: Comprehensive 12W, output DC12V500MA DC5V2A isolation 5V 200MA Expandable functionality: External output, DC12V, DC5V; (6) Optocoupler isolation module, such as Fig. 9 As shown: Attributes: Plug-in module Function: 220V input signal, isolated input, isolated output, pulse output (7) Analog input module, such as Fig.10 As shown, Attributes: Plug-in module Function: 0-5V, NTC10K, 0-10V, 0-20MA; input module (8) Analog output module, such as Fig.11 As shown, Attributes: Plug-in module Function: 0-5V, 0-10V, 0-20MA output module; (9) WiFi module, such as Fig.12 As shown, Attributes: Plug-in module Function: Can connect to WIFI signal and communicate with MCU Extended function: can connect to various IoT platforms and servers. The above only gives several common functional modules and functional modules, which are not intended to limit the present invention.
[0027] In the embodiment of the present invention, Fig.13 As shown, the steps of installing the selected functional modules on the controller housing in a splicing manner specifically include the following steps: In step S201, according to the user's customized requirements, a functional module is selected from the functional modules as the module master, and one or more functional modules are selected as the module slaves, wherein the functional modules serving as the module master include a setting module, a key module, and a low-voltage module, and any functional module can serve as a module slave; In step S202, after the module host and the module slave are selected, the corresponding software programs are configured in the module host and the module slave respectively; Among them, the software program implements various software functions of the module host and the module slave in order to realize the functions of the entire controller, which will not be repeated here.
[0028] In step S203, the module master and the module slave are installed in series in the controller housing in a cascaded manner of functional modules.
[0029] In this embodiment, after selecting the module master and the module slave, a corresponding master-slave communication protocol is configured in the software program of each of the functional modules; The master-slave communication protocol can use a common round-robin method to achieve communication interaction, and the power supply and round-robin signal sending and receiving are achieved through the above-mentioned plug connector 5 and plug slot 6.
[0030] As a specific embodiment of the present invention, the functional module serving as the module host can also change the resistance welding method on its circuit board to achieve a change in the properties of the master-slave module. For example, when welding horizontally, it is the module host, and when welding vertically, it changes to the module slave. This will not be repeated here.
[0031] In the embodiment of the present invention, based on the above Figure 1 The controller formed by the modular customization method of the controller includes a controller housing, and a module installation structure is provided in the controller housing, such as Figure 2 As shown, a number of customized functional modules are spliced and installed on the module installation structure; The functional modules include a setting module, a button module, a voltage stabilizing module, a low voltage input module and a relay module; wherein each of the functional modules is configured with a number of functional modules; Functional modules include analog output module, analog input module, 485 communication module, LCD interface module, WIFI module, isolation input module, LCD interface module, transistor module, 4G module, Internet of Things module and PAC module.
[0032] Among them, one is selected from the setting module, the button module and the low-voltage module as the module host; The setting module, button module, voltage regulator module, low voltage input module and relay module can all be used as module slaves; The module host and the module slave interact with each other through the master-slave communication protocol that complies with the cascade communication.
[0033] In this embodiment, if Figure 3 As shown, the functional module includes a circuit board body, on which a plug connector, a plug slot, a mounting hole and a plurality of circuit elements are provided; The plug connector and the plug slot are used to realize the splicing with the adjacent functional modules, and the plug connector adopts a seven-pin plug connector, and the plug slot adopts a seven-hole plug slot, and the seven-pin plug connector and the seven-hole plug slot are arranged correspondingly and adapted to each other; The mounting holes are used for plugging and welding the functional modules.
[0034] In an embodiment of the present invention, various hardware requirements of the controller to be generated are obtained according to the user's customized requirements; corresponding functional modules matching the various hardware requirements are selected according to the obtained hardware requirements of the controller to be generated; several selected functional modules are installed on the controller housing in a splicing manner, and a module mounting structure matching the functional modules is provided on the controller housing, so that according to the customer's customized requirements, the functional modules are customized, the communication protocols are customized, and the functional modules are quickly spliced to achieve rapid product customization.
[0035] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some or all of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and should all be included in the scope of the claims and specification of the present invention.
Claims
1. A modular controller customization method, It is characterized in that The method comprises the following steps: According to the user's customized requirements, obtain the hardware requirements of the controller to be generated; According to the obtained hardware requirements of the controller to be generated, select corresponding functional modules that match the hardware requirements; A plurality of selected functional modules are installed on a controller housing in a splicing manner, and the controller housing is provided with a module installation structure matching the functional modules.
2. The modular controller customization method according to claim 1, It is characterized in that The functional modules include a setting module, a button module, a voltage stabilization module, a low voltage input module and a relay module; Each of the functional modules is configured with a number of functional modules.
3. The modular controller customization method according to claim 2, It is characterized in that The functional modules include an analog output module, an analog input module, a 485 communication module, an LCD interface module, a WIFI module, an isolation input module, an LCD interface module, a transistor module, a 4G module, an Internet of Things module and a PAC module.
4. The modular customization method of the controller according to claim 3, It is characterized in that The step of installing the selected functional modules on the controller housing in a splicing manner, wherein the controller housing is provided with a mounting structure matching the functional modules, specifically comprises the following steps: According to the user's customized needs, one functional module is selected from the functional modules as the module host, and one or more functional modules are selected as the module slaves, wherein the functional modules serving as the module host include a setting module, a key module, and a low-voltage module, and any functional module can serve as a module slave; After selecting the module host and the module slave, controlling to configure corresponding software programs in the module host and the module slave respectively; The module master and the module slave are installed in series in the controller housing in a cascaded manner of functional modules.
5. The modular customization method of the controller according to claim 4, It is characterized in that After the step of installing the module master and the module slave in series in the controller housing in a cascaded manner of functional modules, the method further includes the following steps: A corresponding master-slave communication protocol is configured in the software program of each of the functional modules.
6. The modular customization method of the controller according to claim 5, It is characterized in that The functional module includes a circuit board body, on which a plug connector, a plug slot, a mounting hole and a plurality of circuit elements are provided; The plug connector and the plug slot are used to realize splicing with adjacent functional modules, and the plug connector adopts a seven-pin plug connector, and the plug slot adopts a seven-hole plug slot, and the seven-pin plug connector and the seven-hole plug slot are arranged correspondingly and adapted to each other; The mounting hole is used for inserting and welding the functional module.
7. The modular customization method of the controller according to claim 6, It is characterized in that The module mounting structure includes a plate rib arranged on the controller housing for fixing the functional module, and two plate ribs are arranged opposite to each other. A plurality of module fixing holes for the functional module are arranged on the two plate ribs respectively, and the spacing between two adjacent module fixing holes is 5.13 mm, and the spacing between the module fixing holes on the two plate ribs is 44 mm.
8. A controller, comprising a controller housing, It is characterized in that A module installation structure is provided in the controller housing, and a plurality of customized functional modules are spliced and installed on the module installation structure; The functional modules include a setting module, a button module, a voltage stabilizing module, a low voltage input module and a relay module; wherein each of the functional modules is configured with a number of functional modules; Functional modules include analog output module, analog input module, 485 communication module, LCD interface module, WIFI module, isolation input module, LCD interface module, transistor module, 4G module, Internet of Things module and PAC module.
9. The controller according to claim 8, It is characterized in that Selecting one from the setting module, the button module and the low-voltage module as a module host; The setting module, button module, voltage stabilization module, low voltage input module and relay module can all be used as module slaves; The module host and the module slave interact with each other through a master-slave communication protocol that complies with cascade communication.
10. The controller according to claim 8, It is characterized in that The functional module includes a circuit board body, on which a plug connector, a plug slot, a mounting hole and a plurality of circuit elements are provided; The plug connector and the plug slot are used to realize splicing with adjacent functional modules, and the plug connector adopts a seven-pin plug connector, and the plug slot adopts a seven-hole plug slot, and the seven-pin plug connector and the seven-hole plug slot are arranged correspondingly and adapted to each other; The mounting hole is used for inserting and welding the functional module.
