Power conversion device, power conversion method, and method for manufacturing a power conversion device
By designing a power conversion device including a power conversion circuit, a program storage unit, an extension program acquisition unit and a control unit, the problem of insufficient programming ease and device expansion in the prior art is solved, and more efficient power is achieved Conversion control.
Patent Information
- Application Number
- CN202080105424.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-09
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-10-09
AI Technical Summary
There are shortcomings in the existing power conversion device taking into account both the ease of programming and the expansion of the device, and it is difficult to effectively improve the balance between the two.
A power conversion device is designed, which includes a power conversion circuit, a program storage unit, an extended program acquisition unit and a control unit. By acquiring the extension program and storing it in the extension program storage unit, the control unit sequentially calls and executes two or more execution target modules from a plurality of program modules based on the sequence data, and controls the power conversion circuit based on the execution result. When the execution target module called is an extension module, the extension program of the extension program storage unit is included in the extension module to be executed.
The ease of programming and the expansion of the device are achieved, and the expansion and flexibility of the device can be improved without complicating the programming process.
Smart Images

Figure CN116235401B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a power conversion device, a power conversion method, and a method for manufacturing a power conversion device. Background Art
[0002] Patent document 1 discloses a power conversion device comprising: a module holding unit storing a plurality of program modules; a sequence holding unit storing sequence data indicating the execution order of the plurality of program modules; and a control unit controlling a power conversion circuit according to a control program including the plurality of program modules.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2019-128930 Summary of the invention
[0006] Problems to be solved by the invention
[0007] An object of the present disclosure is to provide a power conversion device that is effective in achieving both ease of programming and improvement of device expandability.
[0008] Technical Solution
[0009] An electric power conversion device according to one aspect of the present disclosure comprises: an electric power conversion circuit for converting primary-side electric power into secondary-side electric power; a program storage unit for storing a plurality of program modules and sequence data; an extended program acquisition unit for acquiring an extended program and storing it in the extended program storage unit; and a control unit for sequentially calling and executing two or more execution target modules from a plurality of program modules based on the sequence data, and controlling the electric power conversion circuit based on the execution result, wherein the plurality of program modules include an extension module, and when the called execution target module is an extension module, the control unit includes the extension program of the extension program storage unit in the extension module for execution.
[0010] Another aspect of the power conversion method disclosed herein includes: obtaining an extension program and storing it in an extension program storage unit, wherein the extension program determines the content of an extension module whose content is undetermined among a plurality of program modules stored in the program storage unit; and based on sequence data stored in the program storage unit, sequentially calling and executing two or more execution target modules from the plurality of program modules, controlling a power conversion circuit based on the execution result, and when the called execution target module is an extension module, including the extension program of the extension program storage unit in the extension module for execution.
[0011] A method for manufacturing an electric power conversion device according to another aspect of the present disclosure includes: generating an extension program based on source code, the extension program determining the content of an extension module whose content is undetermined among a plurality of program modules stored in the electric power conversion device; generating sequence data of a plurality of program modules based on a block diagram in which a plurality of functional blocks corresponding to the plurality of program modules are arranged and interconnected; and storing the extension program and the sequence data in the electric power conversion device.
[0012] A method for manufacturing a power conversion device according to another aspect of the present disclosure includes: generating an extension program based on source code, the extension program determining the content of an extension module whose content is undetermined among a plurality of program modules stored in the power conversion device; and storing the extension program in an extension program storage unit that is referenced when executing the extension module during a process in which the power conversion device sequentially executes the plurality of program modules based on pre-set sequence data.
[0013] Effects of the Invention
[0014] According to the present disclosure, it is possible to provide a power conversion device that is effective in achieving both ease of programming and improvement in device expandability. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram showing an example of the configuration of a power conversion system.
[0016] Figure 2 This is a table showing an example of sequence data.
[0017] Figure 3 This is a table showing an example of the correspondence between program modules and terminals.
[0018] Figure 4 is a schematic diagram illustrating an example of a user interface for generating sequence data.
[0019] Figure 5 FIG. 4 is a schematic diagram illustrating an example of a user interface for generating an extension program.
[0020] Figure 6 It is a schematic diagram showing a modified example of the power conversion device.
[0021] Figure 7 It is a schematic diagram which shows an example of a basic screen.
[0022] Figure 8 This is a table showing examples of message display objects.
[0023] Fig. 9 This is a table showing examples of parameter setting objects.
[0024] Fig.10 This is a table showing menu selection objects by example.
[0025] Fig.11 It is a schematic diagram showing an example of the hardware configuration of the control circuit.
[0026] Fig.12 This is a flowchart illustrating an example of a process of generating an expansion program by a program editing device.
[0027] Fig.13 This is a flowchart showing, by way of example, a sequence data generation process performed by a program editing device.
[0028] Fig.14 1 is a flowchart illustrating an example of a process of acquiring sequence data and an extended program by a power conversion device.
[0029] Fig.15 This is a flowchart showing an example of a process of acquiring guidance data by the power conversion device.
[0030] Fig.16 This is a flowchart illustrating an operation guidance process by a wizard of a power conversion device.
[0031] Fig.17 This is a flowchart showing an example of a control process performed by the power conversion device. DETAILED DESCRIPTION
[0032] Hereinafter, the embodiments will be described in detail with reference to the drawings. In the description, the same elements or elements having the same functions are denoted by the same reference numerals, and repeated descriptions are omitted.
[0033] 〔Power conversion system〕
[0034] The power conversion system 1 of the present embodiment is a system that controls the load 92 by converting power between a power source 91 and the load 92. Specific examples of the load 92 include motors of electric devices. Specific examples of electric devices include any device driven by a motor, such as an electric pump, an electric crane, and an elevator.
[0035] The motor may be a synchronous motor or an induction motor. Specific examples of synchronous motors include permanent magnet synchronous motors and synchronous reluctance motors. Specific examples of permanent magnet synchronous motors include SPM (Surface Permanent Magnet) motors and IPM (Interior Permanent Magnet) motors. The motor may also be a DC motor.
[0036] like Figure 1As shown, the power conversion system 1 includes a power conversion device 2, a program editing device 3, and a keypad 4. The power conversion device 2 converts the power (primary side power) of the power source 91 into a driving power (secondary side power) and supplies it to the load 92. The primary side power and the secondary side power can be alternating current or direct current. As an example, the primary side power and the secondary side power are both three-phase alternating current.
[0037] The program editing device 3 is a computer used for editing a program in the power conversion device 2 , and is connected to the power conversion device 2 as necessary.
[0038] The keypad 4 is an HMI (Human Machine Interface) device for inputting various operations on the power conversion device 2, such as setting control parameters, and has a display device such as a liquid crystal monitor and an input device such as an input key (keyset). The display device and the input device can be integrated into a so-called touch panel. In addition, the input device can be a sound input device such as a microphone.
[0039] The power conversion device 2 includes a power conversion circuit 20 and a control circuit 100. The power conversion circuit 20 switches on / off a plurality of switching elements to convert primary-side power into secondary-side power, and supplies the secondary-side power to a load 92. The power conversion circuit 20 is, for example, a voltage-source inverter, and applies a secondary-side voltage according to a voltage command to the load 92.
[0040] For example, the power conversion circuit 20 includes power input terminals 26R, 26S, 26T, power output terminals 27U, 27V, 27W, a conversion circuit 21, a smoothing capacitor 22, an inverter circuit 23, and a current sensor 24. The power input terminals 26R, 26S, 26T are respectively connected to the three phases (e.g., R phase, S phase, and T phase) of the power source 91. The power output terminals 27U, 27V, 27W are respectively connected to the three phases (e.g., U phase, V phase, and W phase) of the load 92.
[0041] The conversion circuit 21 is, for example, a diode bridge circuit or a PWM conversion circuit, and converts the power input to the power input terminals 26R, 26S, and 26T into direct current. The smoothing capacitor 22 smoothes the direct current.
[0042] The inverter circuit 23 converts the DC power into the driving power and outputs it to the power output terminals 27U, 27V, and 27W. For example, the inverter circuit 23 has a plurality of switch elements 25, and performs the power conversion by switching the on / off of the plurality of switch elements 25. The switch element 25 is, for example, a thyristor, a power MOSFET (Metal Oxide Semiconductor Field Effect Transistor), or an IGBT (Insulated Gate Bipolar Transistor), and switches on / off according to a gate drive signal.
[0043] The current sensor 24 detects the current flowing between the inverter circuit 23 and the power output terminals 27U, 27V, 27W. For example, the current sensor 24 can be configured to detect the current of all phases (U phase, V phase and W phase) of the three-phase AC, or can be configured to detect the current of any two phases of the three-phase AC. As long as the zero-phase current is not generated, the total current of the U phase, V phase and W phase is zero, so when the current of two phases is detected, the information of the current of all phases can also be obtained.
[0044] The structure of the power conversion circuit 20 shown above is only an example, and can be changed arbitrarily as long as the drive power can be supplied to the load 92. For example, the power conversion circuit 20 can be a current-type inverter. The current-type inverter outputs the drive current according to the current instruction to the load 92. In the case where the power of the power source is direct current, the power conversion circuit 20 may not have the conversion circuit 21. In the case where the power supplied to the load is direct current, the power conversion circuit 20 may be a thyristor Leonard circuit. The power conversion circuit 20 may also be a matrix conversion circuit that performs bidirectional power conversion between the power source power and the drive power without undergoing direct current conversion.
[0045] The control circuit 100 controls the power conversion circuit 20 to supply driving power to the load 92. For example, when the power conversion circuit 20 is a voltage-type inverter, the control circuit 100 controls the power conversion circuit 20 to apply a driving voltage according to a voltage instruction to the load 92. When the power conversion circuit 20 is a current-type inverter, the control circuit 100 controls the power conversion circuit 20 to supply a driving current according to a current instruction to the load 92.
[0046] As described above, although power conversion based on instructions is set as a basic function, depending on the application / environment, a higher level of control may be required for the power conversion device 2. The required control varies greatly depending on the control target, so it is ideal to be able to easily edit the control program according to the control target. Therefore, the control program is divided into a plurality of program modules and sequence data representing the execution process thereof and stored in the power conversion device 2, thereby enabling easy program editing based on editing of the sequence data. However, there is also a need for higher level program editing that cannot be covered by editing the sequence data alone.
[0047] In this regard, the control circuit 100 is configured to execute the following process: when the called execution target module is an expansion module, the expansion program of the expansion program storage unit is included in the expansion module for execution: the expansion program is obtained and stored in the expansion program storage unit, and the expansion program determines the content of the expansion module whose content is undetermined among multiple program modules stored in the program storage unit; and based on the sequence data stored in the program storage unit, two or more execution target modules are sequentially called and executed from the multiple program modules, and the power conversion circuit is controlled based on the execution result.
[0048] According to this configuration, the target program is sequentially called and executed from a plurality of program modules according to the sequence data, and when the expansion module is called, the expansion program in the expansion program storage unit is executed as a part of the expansion module. Therefore, in the entire program that can be easily produced by changing the sequence of the existing program modules, the partially encoded expansion program can be easily embedded. Therefore, it is possible to achieve a balance between the ease of programming and the improvement of the extensibility of the device.
[0049] Hereinafter, regarding the case where the power conversion device 2 is a PWM voltage-source inverter device, the configuration of the control circuit 100 is more specifically illustrated. The control circuit 100 includes a PWM control unit 111, a program storage unit 120, a sequence acquisition unit 112, an extended program acquisition unit 113, an extended program storage unit 114, an input variable storage unit 115, an output variable storage unit 116, and a control unit 118.
[0050] The PWM control unit 111 controls the power conversion circuit 20 so that the secondary side voltage according to the voltage command is applied to the load 92. For example, the PWM control unit 111 switches the on / off of each of the plurality of switching elements 25 within a control cycle of the carrier frequency, and generates a secondary side voltage equivalent to the voltage command according to the ratio of the on period / off period of each switching element 25 in one cycle. The calculation method of the on period / off period of each switching element 25 is not particularly limited, and may be a well-known triangular wave comparison method or a space vector modulation method. For example, the PWM control unit 111 switches the on / off of each switching element 25 by outputting the above-mentioned gate drive signal.
[0051] The program storage unit 120 includes a module storage unit 122 storing a plurality of program modules and a sequence storage unit 121 storing the above-mentioned sequence data. The above-mentioned plurality of program modules are programs subdivided into constituent elements of the control program. By changing the execution process of the plurality of program modules, the content of the control program can be changed. The module storage unit 122 can establish a correspondence between the content of the control program and a plurality of function blocks and store the plurality of program blocks, and the plurality of function blocks are pre-defined in a manner that can be represented by an input / output relationship of information between two or more blocks.
[0052] Each of the plurality of function blocks represents a collective process including acquisition of calculation data, calculation based on the calculation data, and output of result data obtained by the calculation, by schematizing the process as one block having an input terminal for calculation data and an output terminal for result data.
[0053] A function block that obtains calculation data from other function blocks among the plurality of function blocks has an input terminal for obtaining the calculation data. On the other hand, a function block that directly obtains calculation data from a sensor or the like without passing through a function block does not have an input terminal for obtaining the calculation data. A function block that outputs result data to other function blocks among the plurality of function blocks has an output terminal for outputting the result data. On the other hand, a function block that directly outputs result data to the PWM control unit 111 or the like without passing through other function blocks does not have an output terminal for outputting the result data. Therefore, the plurality of function blocks may include an input-type function block having only an input terminal, an output-type function block having only an output terminal, and an input / output-type function block having both an input terminal and an output terminal.
[0054] like Figure 2As shown in the example, the module storage unit 122 can store multiple program modules in correspondence with any terminal in multiple function blocks (an input terminal or an output terminal in any function block). Hereinafter, a program module corresponding to an input terminal is sometimes referred to as an "input program module", and a program module corresponding to an output terminal is sometimes referred to as an "output program module". The above-mentioned operation of the function block can be embedded in the input program module or the output program module. A part of the above-mentioned operation can be embedded in the input program module, and the remaining part of the above-mentioned operation can be embedded in the output program module.
[0055] like Figure 2 As shown, the plurality of program modules include one or more standard modules, expansion modules, expansion input modules, expansion output modules and expansion verification modules.
[0056] The one or more standard modules are program modules that instruct execution of processing preset as standard functions of the power conversion device 2. The one or more standard modules may include an input standard module as an input program module and an output standard module as an output program module. Hereinafter, a functional block that establishes a correspondence between at least a standard module and an input terminal or an output terminal is referred to as a "standard block".
[0057] The expansion module is a program module that instructs the execution of the above expansion program (the expansion program of the expansion program storage unit 114 described later). For example, the expansion module is an input program module, and corresponds to the input terminal of any one of the multiple functional blocks. Hereinafter, the functional block corresponding to the expansion module is referred to as an "expansion block". The expansion module can also correspond to the output terminal of the expansion block.
[0058] The extended input module is a program module that stores the result data output by other function blocks in input variables (input variables of the input variable storage unit 115 described later) referenced by the extended program. The extended input module is an input program module that corresponds to the input terminal of any one of the multiple function blocks. Hereinafter, the function block in which the extended input module corresponds to the input terminal is referred to as an "extension input block".
[0059] The extended output module is a program module that reads out output variables (output variables of the output variable storage unit 116 described later) storing data generated by executing the extended program and outputs them to other function blocks. The extended output module is an output program module that corresponds to an output terminal of any one of the plurality of function blocks. Hereinafter, a function block in which an extended output module corresponds to an output terminal is referred to as an "extension output block".
[0060] The extension verification module is a program module that outputs to other functional blocks whether the extension program is executed without error. For example, the extension verification module is associated with the output terminal of the extension block.
[0061] The sequence data stored in the sequence storage unit 121 is data that sets two or more of the plurality of program modules as modules for constituting the control program (hereinafter referred to as "execution target modules") and determines which execution target module is executed in the execution order. As described above, when the plurality of program modules are respectively associated with any of the terminals in the plurality of function blocks, Figure 3 As shown, the identification information of the terminals can be determined according to the execution order. The sequence acquisition unit 112 acquires the sequence data from the program editing device 3 and stores it in the sequence storage unit 121 .
[0062] As described above, when a plurality of program modules are associated with a plurality of function blocks in the module storage unit 122 , the program editing device 3 can generate sequence data based on a block diagram in which the plurality of function blocks are arranged and connected to each other.
[0063] For example, the program editing device 3 will Figure 4 The sequence generation screen 200 shown as an example in FIG. 1 is displayed on a display device such as a liquid crystal monitor. The sequence generation screen 200 includes a block window 201 and a sequence registration button 202 .
[0064] The block window 201 is a window for creating the above block diagram by arranging and connecting a plurality of function blocks. The program editing device 3 arranges the function block specified by the user at the position specified by the user in the block window 201. In addition, the output terminal and the input terminal specified by the user are connected by links in the block window 201.
[0065] Figure 4 The diagram shows a state where a block diagram including a plurality of standard blocks 210A, 210B, 210C, 210D, 210E, and 210F, an expansion block 250 , an expansion input block 260 , and an expansion output block 270 is created.
[0066] The standard blocks 210A and 210B are input / output type blocks, each having an input terminal 211 and an output terminal 221. The standard block 210C is an input / output type block, having two input terminals 211 and 212 and an output terminal 221.
[0067] The input terminals 211 of the standard blocks 210A and 210B are connected to the output terminals of other standard blocks (not shown). The output terminal 221 of the standard block 210A is connected to the input terminal 211 of the standard block 210C, and the output terminal 221 of the standard block 210B is connected to the input terminal 212 of the standard block 210C. Thus, the processing results of the standard blocks 210A and 210B are input to the standard block 210C, and the processing by the standard block 210C is performed based on these results.
[0068] The output terminal 221 of the standard block 210C is connected to the input terminal 261 of the extended input block 260 . This indicates that the processing result by the standard block 210 is input to the extended input block 260 .
[0069] The extended input block 260 is, for example, an input type block, and has an input terminal 261. As described above, the extended input block 260 is a block in which an extended input module is associated with the input terminal 261. Therefore, inputting the processing result based on the standard block 210C to the extended input block 260 means storing the processing result based on the standard block 210C in the above-mentioned input variable.
[0070] The standard block 210D is an output type block and has an output terminal 221. The standard block 210D outputs, for example, a determination result of whether a predetermined condition is satisfied to the output terminal 221. The output terminal 221 of the standard block 210D is connected to the input terminal 251 of the expansion block 250. This indicates that the processing result of the standard block 210D is input to the expansion block 250.
[0071] The expansion block 250 is, for example, an input / output type block, and has an input terminal 251 and an output terminal 252. As described above, the expansion block 250 is a block in which the expansion module is associated with the input terminal 251, and the expansion verification module is associated with the output terminal 252. Therefore, inputting the processing result of the standard block 210D into the expansion block 250 means starting the expansion program according to the processing result of the standard block 210D. The output terminal 252 of the expansion block 250 is connected to the input terminal 211 of the standard block 210E. Thus, it means that the error verification result based on the expansion verification module is input to the standard block 210E.
[0072] The standard block 210E is an input type block and has an input terminal 211 .
[0073] The standard block 210E displays the data input to the input terminal 211 on a display device, for example.
[0074] The expansion output block 270 is, for example, an output type block, and has an output terminal 271. As described above, the expansion output block 270 is a block in which an expansion output module and an output terminal 271 are associated with each other.
[0075] The standard block 210F is an input / output type block, and has an input terminal 211 and an output terminal 221. The output terminal 271 of the extended output block 270 is connected to the input terminal 211 of the standard block 210F. This indicates that the processing result based on the extended output block 270 (the output variable read by the extended output module) is input to the standard block 210F. The output terminal 221 of the standard block 210F is connected to the input terminal of another standard block not shown.
[0076] The sequence registration button 202 is a button for instructing generation / registration of sequence data based on the block diagram of the block window 201. When the sequence registration button 202 is operated, the program editing device 3 generates sequence data based on the block diagram of the block window 201. For example, the program editing device 3 generates sequence data based on the arrangement order of terminals along the information flow represented by the connection relationship between the function blocks.
[0077] It should be noted that the information flow from the standard block 210A to the input terminal 211 of the standard block 210C is parallel to the information flow from the standard block 210B to the input terminal 212 of the standard block 210C. Therefore, there is no order along the information flow between the terminal of the standard block 210A and the terminal of the standard block 210B. In this case, the program editing device 3 determines the arrangement order of the terminals, for example, based on the configuration in the block window 201. As an example, the program editing device 3 determines the arrangement order of the terminals in the following manner: the flow of the lower information in the information flow arranged up and down is executed after the upper information flow. By following this rule, the output terminal 221 of the standard block 210D is positioned after the input terminal 261 of the extended input block 260. In addition, the output terminal 271 of the extended output block 270 is positioned after the input terminal 211 of the standard block 210E.
[0078] The program editing device 3 transmits the sequence data generated in this manner to the control circuit 100 . The sequence data transmitted to the control circuit 100 is acquired by the sequence acquisition unit 112 and stored in the sequence storage unit 121 .
[0079] return Figure 1 The expansion program acquisition unit 113 acquires the expansion program from the program editing device 3 and stores it in the expansion program storage unit 114. For example, the expansion program is an executable program described in a machine language that can be recognized by the control circuit 100.
[0080] The program editing device 3 can generate an extended program based on the source code. For example, the program editing device 3 displays the extended program on the display device. Figure 5 The expansion program generation screen 300 is shown as an example in FIG. The expansion program generation screen 300 has a code window 301 and an expansion program registration button 302 .
[0081] The coding window 301 is an editing window for displaying the source code input by the user. The source code is described according to the coding rule that the operation is performed based on at least the input variables and the operation result is stored in the output variables.
[0082] The extended program registration button 302 is a button for instructing the generation / registration of an extended program based on the source code of the coding window 301. When the extended program registration button 302 is operated, the program editing device 3 converts the source code of the coding window 301 into the above-mentioned machine language to generate an extended program. The program editing device 3 sends the generated extended program to the control circuit 100. The extended program sent to the control circuit 100 is acquired by the extended program acquisition unit 113 and stored in the extended program storage unit 114.
[0083] return Figure 1 , the input variable storage unit 115 stores the above-mentioned input variables. For the input variables, the data stored by the above-mentioned extended input module is performed. The input variable storage unit 115 can store multiple input variables. In this case, it is possible to log in to an extended program that performs operations based on multiple input variables. When the input variable storage unit 115 stores multiple input variables, the module storage unit 122 can store multiple extended input modules corresponding to the multiple input variables respectively. Multiple extended input modules can be respectively corresponding to multiple extended input blocks.
[0084] The output variable storage unit 116 stores the above-mentioned output variables. For the output variables, data generated by executing the above-mentioned extension program is stored. The output variable storage unit 116 can store multiple output variables. In this case, multiple numerical values generated by the extension program during the operation process can be stored in multiple output variables and used. In the case where the output variable storage unit 116 stores multiple output variables, the module storage unit 122 can store multiple expansion output modules corresponding to the multiple output variables respectively. Multiple expansion output modules can be respectively corresponding to multiple expansion output blocks.
[0085] The control unit 118 sequentially calls and executes the above-mentioned two or more execution target modules of the module storage unit 122 one by one based on the sequence data of the sequence storage unit 121, and controls the power conversion circuit 20 based on the execution results. For example, the control unit 118 controls the power conversion circuit 20 based on a series of execution results of the two or more execution target modules. For example, the control unit 118 generates a voltage command based on the above series of execution results, and outputs it to the PWM control unit 111. Thus, the control of the power conversion circuit 20 based on the above series of execution results is performed.
[0086] When the called execution target module is an extended input module, the control unit 118 acquires input data and stores it in the input variables of the input variable storage unit 115. For example, the control unit 118 acquires the execution result of the previously executed output standard module and stores it in the input variables of the input variable storage unit 115.
[0087] When the called execution target module is an extension module, the control unit 118 includes the extension program of the extension program storage unit 114 in the extension module for execution. As described above, the extension module is a program module that instructs the execution of the extension program of the extension program storage unit 114. Therefore, the execution of the extension module includes the execution of the extension program. For example, the control unit 118 executes the extension program based on the input variables of the input variable storage unit 115. In addition, the control unit 118 stores the output data obtained by executing the extension program in the output variables of the output variable storage unit 116. When the called execution target module is an extension output module, the control unit 118 reads the output variables of the output variable storage unit 116. The control unit 118 causes the input standard module executed later to obtain the read output variables.
[0088] The control unit 118 executes two or more execution target modules in the process specified by the sequence data, and repeatedly executes the execution in a predetermined control cycle to control the power conversion circuit 20 based on a series of execution results.
[0089] The control circuit 100 may further include a parameter storage unit 119. The parameter storage unit 119 stores one or more control parameters set using the keypad 4. As specific examples of the control parameters, various numerical parameters such as control gains and filter time constants may be listed. The control parameter may be on / off of the feedforward control, or a mode number specifying any one of a plurality of control modes. The control parameter may be a type number specifying the type of motor as a control target.
[0090] When the control circuit 100 further includes a parameter storage unit 119, the control unit 118 may also control the power conversion circuit 20 based on one or more control parameters stored in the parameter storage unit 119. For example, the control unit 118 may execute at least one of the plurality of program modules based on one or more control parameters stored in the parameter storage unit 119.
[0091] When the control unit 118 controls the power conversion circuit 20 based on one or more control parameters, it is necessary to appropriately set one or more control parameters through the keypad 4 before controlling the power conversion circuit 20. Of course, it is also necessary to appropriately set hardware such as wiring between devices. In order to promote reliable execution of these, it is effective to add a wizard function to the power conversion device 2 that guides appropriate operation input through dialogue.
[0092] However, the user operation procedure required for initial setting or troubleshooting of the power conversion device may change depending on the content of the entire program. If the user operation procedure changes, the content of the wizard that guides the operation input also needs to be changed.
[0093] In this regard, the control circuit 100 may be configured to further execute: acquiring a plurality of screen objects and storing them in a screen object storage unit, wherein the plurality of screen objects respectively determine the display content of the wizard screen for guiding the operation input and the processing content corresponding to the operation input according to the guidance; and selecting a screen object of the display target from the plurality of screen objects in the screen object storage unit based on the actual operation input, and displaying the wizard screen based on the screen object of the display target. In this way, the content of the wizard can be easily changed according to the content change of the entire program.
[0094] For example, Figure 6 As shown, the control circuit 100 may further include a screen object acquisition unit 131 , a screen object storage unit 132 , and a wizard execution unit 133 .
[0095] The screen object acquisition unit 131 acquires a plurality of screen objects that respectively determine the display content of the wizard screen and the processing content corresponding to the operation input according to the guidance, and stores them in the screen object storage unit 132. For example, the plurality of screen objects respectively associate one or more processing contents with a predetermined operation input.
[0096] At least one of the processing contents of each of the plurality of screen objects includes at least a screen transition processing. The screen transition processing is a processing for changing the wizard screen. As a specific example of the screen transition processing, the following processing can be cited: a wizard screen based on the object itself is changed to a wizard screen based on a screen object of a preset transition destination. Closing the wizard screen based on the object itself to complete the wizard processing is also equivalent to a transition to a state where the wizard screen is not displayed, and is therefore included in the screen transition processing. As such, the screen transition processing without a transition destination is sometimes referred to as the "last screen transition processing" below.
[0097] The wizard execution unit 133 selects a screen object to be displayed from the plurality of screen objects in the screen object storage unit 132 based on the actual operation input, and displays a wizard screen based on the screen object to be displayed. For example, the wizard execution unit 133 selects the first screen object to be displayed from the plurality of screen objects based on the operation input instructing the start of the wizard. For example, the wizard execution unit 133 selects the first screen object to be displayed based on the preset initial selection condition. A specific example of the initial selection condition is shown below.
[0098] Example 1) A screen object indicated by predetermined identification information is selected.
[0099] Example 2) Select the screen object with the smallest identification number.
[0100] When the actual operation input corresponds to the screen transition process of the current display target screen object, the wizard execution unit 133 selects the next display target screen object from the plurality of screen objects based on the screen transition process, and changes the current wizard screen to a wizard screen based on the next display target screen object. When the screen transition process is the last screen transition process, the wizard execution unit 133 closes the current wizard screen and completes the wizard process.
[0101] In order to make the screen object easier to create, the control circuit 100 may be configured to synthesize the display content based on the screen object on a pre-prepared basic screen and display it. For example, the control circuit 100 further includes a basic screen storage unit 134 .
[0102] The basic screen storage unit 134 stores a pre-prepared basic screen. For example, the basic screen storage unit 134 stores data that determines the shape, size, and layout of the basic screen. In this case, the wizard execution unit 133 synthesizes the display content based on the screen object of the display target on the basic screen of the basic screen storage unit 134 and displays the wizard screen.
[0103] The basic screen storage unit 134 can store a plurality of basic screens. In this case, the plurality of screen objects each include: basic designation data that designates any one of the plurality of basic screens; and content data that designates the content to be synthesized into the designated basic screen. The wizard execution unit 133 selects any one of the plurality of basic screens based on the basic designation data of the screen object of the display target, synthesizes the display content designated by the content data of the screen object of the display target into the selected basic screen, and displays the wizard screen.
[0104] The plurality of basic screens each have a message area for displaying a message to the user, and the content data of each of the plurality of screen objects may include message data for determining the message to the user. In this case, the wizard execution unit 133 synthesizes the message determined by the message data of the screen object of the display target into the message area of the selected basic screen, and displays the wizard screen.
[0105] The message data may be any data as long as it can display the message, for example, it may be image data or text data. Specific examples of the multiple basic screens stored in the basic screen storage unit 134 include: Figure 7 Message display type screen 510, parameter setting type screen 520, menu selection type screen 530, etc. are shown in FIG.
[0106] The message display type screen 510 is a screen that displays a message for the user. The message display type screen 510 has a message area 511. The plurality of screen objects may include a message object that specifies the message display type screen 510 by basic designation data. The content data of the message object includes the above-mentioned message data. In the case where the screen object of the display target is a message object, the wizard execution unit 133 selects the message display type screen 510 based on the basic designation data, synthesizes the message determined by the message data into the message area 511 of the message display type screen 510, and displays the wizard screen. As an example, the illustrated message display type screen 510 shows a state in which the following message is synthesized into the message area 511, which message requests that the specified device be connected to any one of the input / output ports of the power conversion device 2, and the Enter key is pressed.
[0107] The parameter setting screen 520 has a message area 521 and a parameter setting area 522. The plurality of screen objects may include a parameter setting object that specifies the parameter setting screen 520 by the basic designation data. The content data of the parameter setting object includes the above-mentioned message data and parameter designation data. The parameter designation data is data that specifies any one of more than one control parameters.
[0108] When the screen object of the display target is a parameter setting object, the wizard execution unit 133 selects the parameter setting screen 520 based on the basic designation data, and synthesizes the message specified by the message data into the message area 521 of the parameter setting screen 520. Furthermore, the wizard execution unit 133 synthesizes the setting part of the control parameter specified by the parameter designation data into the parameter setting area 522, and displays the wizard screen. For example, the wizard execution unit 133 generates an input form for the parameter based on the input condition of the control parameter specified by the parameter designation data, and synthesizes the setting part including the generated input form into the parameter setting area 522.
[0109] As a specific example of an input condition, it is possible to list inputting a numerical value within a range of a specified lower limit value and an upper limit value. In this case, the wizard execution unit 133, for example, generates an input form, which arranges a message prompting a lower limit value and an upper limit value and a numerical input column. As another example of an input condition, it is possible to list: inputting a pre-set initial value unless specified by the user. In this case, the wizard execution unit 133 generates an input form with an initial value pre-set in the numerical input column. As another example of an input condition, it is possible to list: inputting any one of the pre-set options. In this case, the wizard execution unit 133 generates an input form for selecting the pre-set option.
[0110] As an example, the parameter setting screen 520 shown in the figure shows the following state: a message requesting to input a value of a certain parameter and press the Enter key is synthesized in the message area 521, and a setting part including an input field in which a numerical input bar for the parameter is arranged and a message prompting the lower limit value and upper limit value of the parameter is synthesized in the parameter setting area 522.
[0111] The menu selection type screen 530 has a message area 531 and a menu selection area 532. A plurality of screen objects may include a menu selection object that specifies the menu selection type screen 530 by the base specifying data. The content data of the menu selection object includes the above-mentioned message data and item data.
[0112] Item data is data that identifies one or more items to be displayed to the user as options. Item data may identify each item in any data form as long as the content of each item can be displayed. For example, item data may identify each item in image data or in text data.
[0113] When the screen object of the display target is a menu selection object, the wizard execution unit 133 selects the menu selection type screen 530 based on the basic designation data, and synthesizes the message specified by the message data in the message area 531 of the menu selection type screen 530. In addition, the wizard execution unit 133 synthesizes one or more items specified by the item data in the menu selection area 532, and displays the wizard screen. As an example, the illustrated menu selection type screen 530 shows the following state: four items are synthesized in the menu selection area 532 in a state of being arranged in a vertical manner, and a message requesting to select any of the four items and press the Enter key is synthesized in the message area 531.
[0114] In order to facilitate the description of the processing content in the creation of the screen object, the control circuit 100 may be configured to execute the processing specified in the screen object in one or more pre-prepared wizard processes. For example, the control circuit 100 may further include a wizard process storage unit 135. The wizard process storage unit 135 stores one or more pre-prepared wizard processes.
[0115] At least one of the plurality of screen objects may further include processing designation data for establishing a correspondence between an operation input according to the guidance and at least one of the one or more wizard processes. In the case where the screen object of the display target includes the processing designation data, the wizard execution unit 133 executes any one of the one or more wizard processes based on the actual operation input and the processing designation data. For example, the one or more wizard processes include a screen transition process for transitioning the current wizard screen to a wizard screen based on any one of the plurality of screen objects.
[0116] At least one of the plurality of screen objects may include screen transition designation data for establishing a correspondence between an operation input according to the guidance and a screen transition process as processing designation data. When the screen object of the display target includes the screen transition designation data, the wizard execution unit 133 executes the screen transition process based on the actual operation input and the screen transition designation data.
[0117] Figure 8 This is a table showing an example of a message object including screen transition designation data. Figure 8 The message object 410 shown in FIG. 4 includes an object ID 411 , base designation data 417 , content data 413 , trigger designation data 414 , and screen transition designation data 416 .
[0118] The object ID 411 is identification information (e.g., identification number) of the message object 410. The base designation data 417 is data for designating any one of the plurality of base screens as described above, and designates the message display type screen 510. The content data 413 is data for designating the contents to be synthesized to the message display type screen 510 as described above, and includes the message data 412. The message data 412 is data for designating the message to be synthesized in the message area 521 as described above.
[0119] The trigger designation data 414 is data that designates an operation input that serves as a trigger for processing. In the illustrated example, an operation on the Enter key is designated. The screen transition designation data 416 designates a transition to a wizard screen based on any one of a plurality of screen objects as a wizard process corresponding to the operation input designated by the trigger designation data 414. In the illustrated example, a transition to a wizard screen based on a screen object having an object ID of "object 2" is designated.
[0120] When the screen object to be displayed is the message object 410, the wizard execution unit 133 synthesizes the message specified by the message data 412 into the message area 511 of the message display type screen 510 specified by the base designation data 417, and displays the wizard screen. When the enter key specified by the trigger designation data 414 is pressed, the wizard execution unit 133 executes a transition to a wizard screen based on "object 2" specified by the screen transition designation data 416.
[0121] One or more wizard processes may include a parameter change process for changing the control parameter based on the input content of the setting part of the control parameter in the parameter setting area. The parameter setting object may include change process designation data for establishing a correspondence between the operation input according to the guide and the parameter change process. When the screen object of the display target is the parameter setting object, the wizard execution unit 133 executes the parameter change process based on the actual operation input and the change process designation data.
[0122] Fig. 9 This is a table showing an example of a parameter setting object including change process designation data. Fig. 9 The parameter setting object 420 shown in FIG. 4 includes an object ID 421, base designation data 429, content data 423, trigger designation data 425, change process designation data 427, and screen transition designation data 428. The object ID 421 is identification information (e.g., identification number) of the parameter setting object 420. The base designation data 429 is data for designating any one of the plurality of base screens as described above, and designates the parameter setting type screen 520.
[0123] Content data 423 is data for specifying the contents to be synthesized in parameter setting type screen 520 as described above, and includes message data 422 and parameter specifying data 424. Message data 422 is data for specifying the message to be synthesized in message area 521 as described above. Parameter specifying data 424 is data for specifying any one of the one or more control parameters as described above.
[0124] The trigger designation data 425 is data that designates an operation input that becomes a trigger for a process. In the illustrated example, an operation on the enter key is designated. The change process designation data 427 designates a process of acquiring an input value to the parameter setting area 522 to change a control parameter as a wizard process corresponding to the operation input designated by the trigger designation data 425. The screen transition designation data 428 designates a transition to a wizard screen based on any one of a plurality of screen objects as a wizard process corresponding to the operation input designated by the trigger designation data 425. In the illustrated example, a transition to a wizard screen based on a screen object having an object ID of "object 3" is designated.
[0125] When the screen object of the display target is the parameter setting object 420, the wizard execution unit 133 synthesizes the message specified by the message data 422 into the message area 521 of the parameter setting type screen 520 specified by the basic designation data 429. In addition, the wizard execution unit 133 synthesizes the setting part of the control parameter specified by the parameter designation data 424 into the message area 521 of the parameter setting type screen 520, and displays the wizard screen.
[0126] When the enter key specified by the trigger designation data 425 is pressed, the wizard execution unit 133 sequentially executes the parameter change process specified by the change process designation data 427 and the screen transition process specified by the screen transition designation data 428. For example, the wizard execution unit 133 obtains the input value to the parameter setting area 522, changes the value of the control parameter specified by the parameter designation data 424 to the obtained input value, and stores the change result in the parameter storage unit 119. When the input value of the control parameter determined for the upper limit value exceeds the upper limit value, the wizard execution unit 133 may change the value of the control parameter to the upper limit value. When the input value of the control parameter determined for the lower limit value is lower than the lower limit value, the wizard execution unit 133 may change the value of the control parameter to the lower limit value. Thereafter, the wizard execution unit 133 executes the transition to the wizard screen based on the "object 3" specified by the screen transition designation data 428.
[0127] The menu selection object may also include item correspondence data that establishes a correspondence between any one of the more than one wizard processes and each of the more than one items. When the screen object of the display target is a menu selection object, the wizard execution unit 133 executes any one of the more than one wizard processes based on the item selected in the menu selection area and the item correspondence data.
[0128] Fig.10 This is a table showing, by way of example, a menu selection object including item correspondence data. Fig.10 The menu selection object 430 shown in 4 includes an object ID 431 , basic designation data 438 , content data 433 , trigger designation data 435 , and item correspondence data 437 .
[0129] The object ID 431 is identification information (for example, identification number) of the parameter setting object 420 . The base designation data 438 is data for designating any one of the plurality of base screens as described above, and designates the menu selection type screen 530 .
[0130] Content data 433 is data for specifying the contents to be synthesized in menu selection type screen 530 as described above, and includes message data 432 and item data 434. Message data 432 is data for specifying the message to be synthesized in message area 531 as described above. Item data 434 is data for showing one or more items as options to the user as described above. In the example shown in the figure, four items are specified. Trigger designation data 435 is data for specifying an operation input that becomes a trigger for processing. In the example shown in the figure, an operation on the enter key is specified.
[0131] The item correspondence data 437 associates any one of the one or more wizard processes with each of the one or more items specified by the item data 434. In the illustrated example, a transition to a wizard screen based on a screen object with an object ID of "object 4" is associated with item 1. A transition to a wizard screen based on a screen object with an object ID of "object 5" is associated with item 2. A transition to a wizard screen based on a screen object with an object ID of "object 6" is associated with item 3. A transition to a wizard screen based on a screen object with an object ID of "object 7" is associated with item 4.
[0132] The processing associated with each item by the item association data 437 is executed when the enter key designated by the trigger designation data 435 is pressed. Therefore, in the menu selection object 430, the item association data 437 is also an example of the processing designation data described above.
[0133] When the screen object of the display target is the menu selection object 430, the wizard execution unit 133 synthesizes the message specified by the message data 432 into the message area 531 of the menu selection type screen 530 specified by the basic designation data 438. In addition, the wizard execution unit 133 synthesizes one or more items specified by the item data 434 into the menu selection area 532 of the menu selection type screen 530, and displays the wizard screen.
[0134] When the enter key designated by the trigger designation data 435 is pressed, the wizard execution unit 133 selects the item selected in the menu selection area 532. Hereinafter, the item selected at this timing is referred to as a "selected item".
[0135] The wizard execution unit 133 executes a wizard process corresponding to the selected completed item in the item data 434. For example, when the selected completed item is "item 1", the wizard execution unit 133 executes a transition to a wizard screen based on "object 4". When the selected completed item is "item 2", the wizard execution unit 133 executes a transition to a wizard screen based on "object 5". When the selected completed item is "item 3", the wizard execution unit 133 executes a transition to a wizard screen based on "object 6". When the selected completed item is "item 4", the wizard execution unit 133 executes a transition to a wizard screen based on "object 7".
[0136] The control circuit 100 may be configured to synthesize a preset name in the parameter setting area 522 for each of the one or more control parameters, or may be configured to change the name to be synthesized in the parameter setting area 522 for each of the one or more control parameters. Figure 6As shown, the control circuit 100 may further include a parameter name storage unit 141 , a designated name acquisition unit 142 , and a designated name storage unit 143 .
[0137] The parameter name storage unit 141 stores a preset name for each of the one or more control parameters. Hereinafter, the name stored in the parameter name storage unit 141 is sometimes referred to as an "initial name". The designated name acquisition unit 142 acquires name designation data for designating a user-designated name for any one of the one or more control parameters and stores the data in the designated name storage unit 143.
[0138] The wizard execution unit 133 synthesizes the user-specified name into the parameter setting area 522 when the specified name storage unit 143 stores name designation data for the control parameter specified by the parameter designation data 424; and synthesizes the initial name into the parameter setting area 522 when the specified name storage unit 143 does not store name designation data for the control parameter.
[0139] The control circuit 100 may be configured to combine preset attributes for each of one or more control parameters in the parameter setting area 522. Here, the attribute of the parameter refers to, for example, which physical quantity is used as a value expressed in which unit in the control.
[0140] The one or more control parameters may include fixed attribute parameters whose attributes cannot be changed and free parameters whose attributes can be changed. As specific examples of fixed attribute parameters, parameters that are already used in standard modules based on pre-set attributes can be listed. As specific examples of free parameters, parameters that are not used in standard modules can be listed.
[0141] The control circuit 100 may be configured to be able to change the attributes of the free parameters. For example, the control circuit 100 may further include a fixed attribute storage unit 151, an additional attribute acquisition unit 152, and an additional attribute storage unit 153. The fixed attribute storage unit 151 stores the attributes of the fixed attribute parameters. The additional attribute acquisition unit 152 acquires the attribute designation data that designates the attributes of the free parameters and stores it in the additional attribute storage unit 153.
[0142] When the control parameter specified by the parameter specifying data 424 is a fixed attribute parameter, the wizard execution unit 133 combines the display of the attribute stored in the fixed attribute storage unit 151 in the parameter setting area 522. Furthermore, when the control parameter specified by the parameter specifying data 424 is a free parameter, the wizard execution unit 133 combines the display of the attribute stored in the additional attribute storage unit 153 in the parameter setting area 522.
[0143] The control circuit 100 may be configured to change the input condition for each of one or more control parameters. For example, the control circuit 100 may further include a setting condition storage unit 161 , an additional condition acquisition unit 162 , and an additional condition storage unit 163 .
[0144] The setting condition storage unit 161 stores the pre-set input condition for each of the one or more control parameters. Hereinafter, the input condition stored in the setting condition storage unit 161 is sometimes referred to as "initial input condition". The additional condition acquisition unit 162 acquires input condition designation data for designating an input condition for any one of the one or more control parameters and stores it in the additional condition storage unit 163.
[0145] When the input condition designation data for the control parameter specified by the parameter designation data 424 is stored in the additional condition storage unit 163, the wizard execution unit 133 generates the input form based on the input condition specified by the input condition designation data. When the input condition designation data for the control parameter specified by the parameter designation data 424 is not stored in the additional condition storage unit 163, the wizard execution unit 133 generates the input form based on the initial input condition.
[0146] Fig.11 1 is a schematic diagram showing an example of the hardware configuration of the control circuit 100. Fig.11 As shown, the control circuit 100 includes one or more processors 191, a memory 192, a storage 193, an input / output port 194, a switch control circuit 195, a communication port 196, and a communication port 197. The memory 193 has a storage medium that can be read by a computer, such as a non-volatile semiconductor memory. The memory 193 stores a program that enables the control circuit 100 to execute a control method, and the control method executes the following process: an extended program is acquired and stored in the extended program storage unit 114, and the extended program determines the content of the extended module whose content is not determined among the multiple program modules stored in the program storage unit 120; and based on the sequence data stored in the program storage unit 120, two or more execution target modules are sequentially called and executed from the multiple program modules, and the power conversion circuit 20 is controlled based on the execution result. When the called execution target module is an extended module, the extended program of the extended program storage unit 114 is included in the extended module for execution. For example, the memory 193 stores a program for enabling the control circuit 100 to constitute the above-mentioned functional parts.
[0147] The memory 192 temporarily stores the program loaded from the storage medium of the storage 193 and the calculation results obtained by the processor 191. The processor 191 cooperates with the memory 192 to execute the above program, thereby constituting the functional parts of the control circuit 100. The input / output port 194 inputs / outputs electrical signals with the current sensor 24 according to the instructions from the processor 191. The switch control circuit 195 switches the connection and disconnection of the plurality of switch elements 25 in the inverter circuit 23 according to the instructions from the processor 191, thereby outputting the above driving power to the load 92. The communication port 196 communicates information with the program editing device 3 according to the instructions from the processor 191. The communication port 197 communicates information with the keypad 4 according to the instructions from the processor 191.
[0148] It should be noted that the control circuit 100 is not necessarily limited to the one in which each function is constituted by a program. For example, the control circuit 100 may also constitute at least a part of its functions by a dedicated logic circuit or an ASIC (Application Specific Integrated Circuit) in which the dedicated logic circuit is integrated.
[0149] The program editing device 3 may include a plurality of computers that can communicate with each other. For example, the program editing device 3 may include: a first editing computer for generating sequence data and an extended program; and a second editing computer for sending the sequence data and the extended program generated by the first editing computer to the control circuit 100. The first editing computer may be remotely arranged relative to the second editing computer, or may be configured to communicate with the second editing computer via a wide area network such as the Internet. The first editing computer may have a function of generating an extended program, and the second editing computer may have a function of generating sequence data. The first editing computer may have a function of generating both sequence data and an extended program, and the second editing computer may also have a function of generating sequence data.
[0150] 〔Control process〕
[0151] Next, as an example of a power conversion method, a power conversion process performed by the power conversion system 1 is illustrated. The process includes: acquiring an extended program and storing it in an extended program storage unit 114, the extended program determining the content of an extended module whose content is undetermined among a plurality of program modules stored in a module storage unit 122; and sequentially calling and executing two or more execution target modules from a plurality of program modules based on sequence data stored in a sequence storage unit 121, controlling the power conversion circuit 20 based on the execution result, and when the called execution target module is an extended module, including the extended program in the extended program storage unit 114 in the extended module for execution. In the following, the power conversion process performed by the power conversion system 1 is divided into: a generation process of an extended program and sequence data performed by the program editing device 3; a registration process of an extended program and sequence data performed by the control circuit 100; a registration process of wizard data performed by the control circuit 100; a wizard processing process performed by the control circuit 100; and a control process performed by the control circuit 100, and each process is illustrated in detail.
[0152] (Extensions and sequence data generation process)
[0153] The process includes: generating an extension program based on source code, the extension program determining the content of an extension module whose content is undetermined among multiple program modules stored in the power conversion device 2 (module storage unit 122); and storing the extension program in the extension program storage unit 114 that is referenced when executing the extension module during the process in which the power conversion device 2 executes multiple program modules in sequence based on pre-set sequence data.
[0154] The process may further include: generating sequence data of the plurality of program modules based on a block diagram in which a plurality of function blocks respectively corresponding to the plurality of program modules are arranged and connected to each other; and storing the sequence data in the sequence storage unit 121 of the power conversion device 2 .
[0155] Through these processes, the power conversion device 2 that performs desired control is completed, and therefore, it can be said that these processes constitute a part of the method for manufacturing the power conversion device 2. Hereinafter, the process of generating an extended program and the process of generating sequence data are separately exemplified.
[0156] Fig.12 FIG. 1 is a flowchart illustrating the process of generating an extension program. Fig.12 As shown, the program editing device 3 first executes steps S01 and S02. Step S01 includes displaying the extended program generation screen 300 on a display device such as a liquid crystal monitor. Step S02 includes confirming whether the source code is input in the coding window 301 through an input device such as a keyboard.
[0157] When it is determined in step S02 that source code is input in the coding window 301, the program editing device 3 executes step S03. Step S03 includes updating the display of the coding window 301 to reflect the input source code.
[0158] Next, the program editing device 3 executes step S04. If it is determined in step S02 that no source code is input in the coding window 301, the program editing device 3 executes step S04 instead of step S03. Step S04 includes confirming whether an instruction to generate an expansion program based on the operation of the expansion program registration button 302 is input.
[0159] If it is determined in step S04 that the command to generate the expansion program has not been input, the program editing device 3 returns the process to step S02. Thereafter, the display of the coding window 301 continues to be updated according to the input of the source code until the command to generate the expansion program is input.
[0160] If it is determined in step S04 that the command to generate the extended program is input, the program editing device 3 executes step S05. Step S05 includes confirming whether the source code displayed in the coding window 301 satisfies the coding rule of performing calculations based on the input variables and storing the calculation results in the output variables.
[0161] If it is determined in step S05 that the source code does not satisfy the coding rules, the program editing device 3 executes step S06. Step S06 includes displaying an error message on the display device notifying that the coding rules are not satisfied. Thereafter, the program editing device 3 returns the process to step S02.
[0162] If it is determined in step S05 that the source code satisfies the coding rule, the program editing device 3 executes steps S07 and S08. Step S07 includes converting the source code of the coding window 301 into the above-mentioned machine language to generate an extended program. Step S08 includes sending the generated extended program to the control circuit 100. Accordingly, the extended program acquisition unit 113 acquires the extended program and stores it in the extended program storage unit 114. As described above, sending the generated extended program to the control circuit 100 is an example of storing the extended program in the extended program storage unit 114. As described above, the generation process of the extended program is completed.
[0163] Fig.13 This is a flowchart illustrating the process of generating sequence data.
[0164] like Fig.13As shown, the program editing device 3 first executes steps S11 and S12. Step S11 includes displaying the sequence generation screen 200 on a display device such as a liquid crystal monitor. Step S12 includes confirming whether the editing input for the block diagram of the block window 201 is completed through an input device such as a keyboard. As specific examples of editing input, the addition of function blocks, the movement of function blocks, and the connection between function blocks (connection of output terminals and input terminals) can be listed.
[0165] When it is determined in step S12 that the edit input for the block diagram is completed, the program editing device 3 executes step S13. Step S13 includes updating the display of the block window 201 so as to reflect the edit input in the block diagram.
[0166] Next, the program editing device 3 executes step S14. If it is determined in step S12 that the edit input for the block diagram is not completed, the program editing device 3 executes step S14 instead of step S13. Step S14 includes confirming whether a sequence data generation instruction based on the operation of the sequence registration button 202 is input.
[0167] If it is determined in step S14 that a sequence data generation instruction has not been input, the program editing device 3 returns the process to step S12. Thereafter, the display of the block window 201 continues to be updated according to the edit input of the block diagram until a sequence data generation instruction is input.
[0168] When it is determined in step S14 that a sequence data generation instruction is input, the program editing device 3 executes steps S15 and S16. Step S15 includes generating sequence data based on the block diagram of the block window 201. Step S16 includes sending the generated sequence data to the control circuit 100. Accordingly, the sequence acquisition unit 112 acquires the sequence data and stores it in the sequence storage unit 121. As described above, sending the generated sequence data to the control circuit 100 is an example of storing the sequence data in the sequence storage unit 121. The above is the completion of the sequence data generation process.
[0169] (Login process for extensions and sequence data)
[0170] Fig.14 FIG. 2 is a flowchart showing an example of the registration process of the expansion program and sequence data performed by the control circuit 100. Fig.14 As shown, the control circuit 100 first executes step S21 . In step S21 , the expansion program acquisition unit 113 confirms whether the expansion program is transmitted from the program editing device 3 .
[0171] If it is determined in step S21 that the extended program has not been transmitted, the control circuit 100 executes step S22 . In step S22 , the sequence acquisition unit 112 confirms whether sequence data has been transmitted from the program editing device 3 .
[0172] If it is determined in step S22 that the sequence data has not been transmitted, the control circuit 100 returns the process to step S21. Thereafter, the control circuit 100 waits for the expansion program or sequence data to be transmitted from the program editing device 3.
[0173] If it is determined in step S21 that the expansion program has been transmitted, the control circuit 100 executes step S23 . In step S23 , the expansion program acquisition unit 113 acquires the expansion program transmitted from the program editing device 3 and stores it in the expansion program storage unit 114 .
[0174] When it is determined in step S22 that the sequence data has been transmitted, the control circuit 100 executes step S24 . In step S24 , the sequence acquisition unit 112 acquires the sequence data transmitted from the program editing device 3 and stores it in the sequence storage unit 121 .
[0175] After executing step S23 or step S24, the control circuit 100 returns the process to step S21. The control circuit 100 repeats the above process.
[0176] (Wizard data registration process)
[0177] Fig.15 FIG. 2 is a flowchart showing, by way of example, a registration process of guide data performed by the control circuit 100. Fig.15 As shown, the control circuit 100 first executes step S31. In step S31, the screen object acquisition unit 131 confirms whether the screen object is sent from the program editing device 3.
[0178] If it is determined in step S31 that the screen object has not been transmitted, the control circuit 100 executes step S32. In step S32, the additional attribute acquisition unit 152 confirms whether the attribute designation data is transmitted from the program editing device 3.
[0179] If it is determined in step S32 that the attribute designation data has not been transmitted, the control circuit 100 executes step S33. In step S33, the designated name acquisition unit 142 confirms whether the name designation data has been transmitted from the program editing device 3.
[0180] If it is determined in step S33 that the name designation data has not been transmitted, the control circuit 100 executes step S34. In step S34, the additional condition acquisition unit 162 confirms whether the input condition designation data has been transmitted from the program editing device 3.
[0181] If it is determined in step S34 that the input condition specifying data has not been transmitted, the control circuit 100 returns the process to step S31. Thereafter, the control circuit 100 waits for the screen object, attribute specifying data, name specifying data, or input condition specifying data to be transmitted from the program editing device 3.
[0182] If it is determined in step S31 that the screen object has been transmitted, the control circuit 100 executes step S35 . In step S35 , the screen object acquisition unit 131 acquires the screen object and stores it in the screen object storage unit 132 .
[0183] If it is determined in step S32 that the attribute designation data has been transmitted, the control circuit 100 executes step S36 . In step S36 , the additional attribute acquisition unit 152 acquires the attribute designation data and stores it in the additional attribute storage unit 153 .
[0184] If it is determined in step S33 that the name designation data has been transmitted, the control circuit 100 executes step S37 . In step S37 , the designated name acquisition unit 142 acquires the name designation data and stores it in the designated name storage unit 143 .
[0185] If it is determined in step S34 that the input condition designation data has been transmitted, the control circuit 100 executes step S38 . In step S38 , the additional condition acquisition unit 162 acquires the input condition designation data and stores it in the additional condition storage unit 163 .
[0186] After executing step S35, step S36, step S37 or step S38, the control circuit 100 returns the process to step S31. The control circuit 100 repeats the above process.
[0187] (Wizard Processing)
[0188] This process is a process in which the control circuit 100 guides the user's operation input through a dialog-based wizard according to the wizard data. Fig.16 As shown, the control circuit 100 first executes steps S41, S42, S43, S44, S45, and S46.
[0189] In step S41, the wizard execution unit 133 waits for a wizard start command to be inputted to the keypad 4. In step S42, the wizard execution unit 133 selects the first display target screen object from the plurality of screen objects in the screen object storage unit 132 based on the initial selection condition. In step S43, the wizard execution unit 133 generates a wizard screen based on the display target screen object. In step S44, the wizard execution unit 133 waits for an operation input (hereinafter referred to as "trigger input") that triggers the processing.
[0190] In step S45, the wizard execution unit 133 executes the first wizard process among the one or more wizard processes associated with the trigger input in the screen object of the display target. In step S46, it is confirmed whether the wizard execution unit 133 has executed all the wizard processes.
[0191] If it is determined in step S46 that there is a wizard process that has not been executed, the control circuit 100 executes step S47. In step S47, the wizard execution unit 133 executes the next wizard process corresponding to the trigger input. After that, the control circuit 100 returns the process to step S46. Thereafter, one or more wizard processes corresponding to the trigger input are executed in sequence until all wizard processes are completed.
[0192] When the guidance processing is a screen transition processing other than the last screen transition processing, the guidance execution unit 133 selects a screen object of a transition destination based on the screen transition designation data.
[0193] If it is determined in step S46 that all wizard processing has been executed, the control circuit 100 executes step S48. In step S48, the wizard execution unit 133 confirms whether it is in the wizard completion state where there is no screen object of the transition destination. For example, if the wizard execution unit 133 selects the screen object of the transition destination through the screen transition destination processing, it is determined that it is not in the wizard completion state, and the control circuit 100 returns the processing to step S43. Therefore, in step S43, a wizard screen based on the screen object of the transition destination is generated. Thereafter, the transition of the wizard screen and the wizard processing in each screen wizard screen are repeated until it is determined in step S48 that it is in the wizard completion state.
[0194] When it is determined in step S48 that the wizard is in the wizard completion state, the wizard execution unit 133 completes the guidance based on the operation input of the wizard.
[0195] (Control Process)
[0196] This process includes sequentially calling and executing two or more execution target modules from a plurality of program modules in the module storage unit 122 based on the sequence data stored in the sequence storage unit 121 , and controlling the power conversion circuit 20 based on the execution results.
[0197] like Fig.17As shown, the control circuit 100 first executes steps S51, S52, and S53. In step S51, the control unit 118 calls the first execution target module from the plurality of program modules in the module storage unit 122 based on the sequence data in the sequence storage unit 121. In step S52, the control unit 118 executes the execution target module. In step S53, the control unit 118 confirms whether the execution of all program modules included in the sequence data has been completed.
[0198] If it is determined in step S53 that there is an unexecuted program module remaining, the control circuit 100 executes step S54. In step S54, the control unit 118 calls the next execution target module from the plurality of program modules in the module storage unit 122 based on the sequence data in the sequence storage unit 121. Thereafter, the control circuit 100 returns the process to step S52. Thereafter, the calling and execution of the execution target module are repeated until the execution of all the program modules included in the sequence data is completed.
[0199] In the case where the called execution target module is an extension module, the control unit 118 includes the extension program of the extension program storage unit 114 in the extension module for execution. For example, in the case where the called execution target module is an extension input module, the control unit 118 obtains input data and stores it in the input variables of the input variable storage unit 115. For example, the control unit 118 obtains the execution result of the previously executed output standard module and stores it in the input variables of the input variable storage unit 115. In the case where the called execution target module is an extension module, the control unit 118 executes the extension program based on the input variables of the input variable storage unit 115. In addition, the control unit 118 stores the output data obtained by executing the extension program in the output variables of the output variable storage unit 116. In the case where the called execution target module is an extension output module, the control unit 118 reads the output variables of the output variable storage unit 116, and causes the input standard module executed later to obtain the read output variables.
[0200] If it is determined in step S53 that the execution of all program modules is completed, the control circuit 100 executes step S55. In step S55, the control unit 118 controls the power conversion circuit 20 based on a series of execution results of all program modules included in the sequence data. For example, the control unit 118 generates a voltage command by executing all program modules, and outputs the generated voltage command to the PWM control unit 111. Thus, the control of the power conversion circuit 20 based on a series of execution results is executed. After that, the control circuit 100 returns the processing to step S51. The control circuit 100 repeats the above process in a predetermined control cycle.
[0201] [Effects of the present embodiment]
[0202] As described above, the power conversion device 2 includes: a power conversion circuit 20, which converts primary-side power into secondary-side power; a program storage unit 120, which stores multiple program modules and sequence data; an extended program acquisition unit 113, which acquires the extended program and stores it in the extended program storage unit 114; and a control unit 118, which, based on the sequence data, sequentially calls and executes two or more execution target modules from multiple program modules, and controls the power conversion circuit 20 based on the execution results. The multiple program modules include an extension module. When the called execution target module is an extension module, the control unit 118 includes the extension program of the extension program storage unit 114 in the extension module for execution.
[0203] According to the power conversion device 2, the target program is sequentially called and executed from a plurality of program modules according to the sequence data, and when the expansion module is called, the expansion program of the expansion program storage unit 114 is executed as a part of the expansion module. Therefore, in the entire program that can be easily constructed by determining the sequence of the existing program modules, the partially encoded expansion program can be easily embedded. Therefore, the power conversion device 2 is effective in taking into account both the ease of programming and the improvement of the expandability of the device.
[0204] Alternatively, the power conversion device 2 further includes an input variable storage unit 115 for storing input variables, and the plurality of program modules further include an extended input module. When the called execution target module is an extended input module, the control unit 118 acquires input data and stores it in the input variables of the input variable storage unit 115. When the called execution target module is an extended module, the control unit 118 executes the extended program based on the input variables of the input variable storage unit 115. In this case, the processing of transferring input data to the extended program is modularized separately from the extended module, thereby making it easy for the entire program to adapt to the number and type of input data required by the extended program.
[0205] Alternatively, the power conversion device 2 further includes an output variable storage unit 116 for storing output variables, and the plurality of program modules further include an extended output module. When the called execution target module is an extended module, the control unit 118 stores the output data obtained by executing the extended program in the output variables of the output variable storage unit 116. When the called execution target module is an extended output module, the control unit 118 reads the output variables of the output variable storage unit 116. In this case, the process of obtaining the output data obtained by executing the extended program is modularized separately from the extended module, thereby making it easy for the entire program to adapt to the number and type of output data of the extended program.
[0206] Alternatively, the power conversion device 2 further includes: a screen object acquisition unit 131, which acquires a plurality of screen objects and stores them in a screen object storage unit 132, wherein the plurality of screen objects respectively determine the display content of the wizard screen for guiding the operation input and the processing content corresponding to the operation input according to the guidance; and a wizard execution unit 133, which selects a screen object of a display target from the plurality of screen objects in the screen object storage unit based on the actual operation input, and displays the wizard screen based on the screen object of the display target.
[0207] The user operation process required in the initial setting or troubleshooting of the power conversion device may sometimes change depending on the content of the entire program. If the user operation process changes, the content of the wizard that guides the operation input also needs to be changed. In this regard, according to the following structure, the content of the wizard can be easily changed: a plurality of screen objects each including the display content of the wizard screen and the processing content corresponding to the operation input are acquired and stored in the screen object storage unit 132, a screen object of the display target is selected from the plurality of screen objects in the screen object storage unit 132, and the wizard screen is displayed based on the screen object of the display target.
[0208] Alternatively, the power conversion device 2 further includes a basic screen storage unit 134 for storing a basic screen, and the wizard execution unit 133 synthesizes the display content of the screen object based on the display target into the basic screen of the basic screen storage unit, and displays the wizard screen. In this case, by preparing the basic screen in advance, only the content to be synthesized in the basic screen can be included in the screen object, so the content of the screen object can be simplified. Therefore, the content of the wizard can be changed more easily.
[0209] Alternatively, the basic screen storage unit 134 stores a plurality of basic screens including a basic screen, and the plurality of screen objects each include basic designation data for designating any one of the plurality of basic screens and content data for synthesizing content to the designated basic screen, and the wizard execution unit 133 selects any one of the plurality of basic screens based on the basic designation data of the screen object of the display target, synthesizes the display content designated by the content data of the screen object of the display target into the selected basic screen, and displays the wizard screen. In this case, a plurality of basic screens can be selected, thereby achieving a balance between ease of changing the content of the wizard and more diverse operation guidance.
[0210] Alternatively, each of the plurality of basic screens may have a message area for displaying a message to the user, and each of the content data of the plurality of screen objects may include message data for the message to the user, and the wizard execution unit 133 may synthesize the message determined by the message data of the screen object of the display target into the message area of the selected basic screen, and display the wizard screen. In this case, by including the message to the user as the basic type of the wizard screen, it is possible to achieve a balance between the ease of changing the content of the wizard and the reliability of the operation guidance.
[0211] Alternatively, the power conversion device 2 may further include a parameter storage unit 119 storing one or more control parameters, the control unit 118 may further control the power conversion circuit 20 based on the one or more control parameters stored in the parameter storage unit 119, the plurality of basic screens may include a parameter setting type screen further including a parameter setting area, the plurality of screen objects may include a parameter setting object, the basic designation data of the parameter setting object may designate the parameter setting type screen, the content data of the parameter setting object may include parameter designation data designating any one of the one or more control parameters, and when the screen object of the display target is the parameter setting object, the wizard execution unit 133 may select the parameter setting type screen based on the basic designation data, synthesize the setting unit of the control parameter designated by the parameter designation data into the parameter setting area, and display the wizard screen. In this case, by simply inputting information designating the parameter setting type screen and the control parameter of the setting target, a wizard screen for parameter setting may be easily generated.
[0212] Alternatively, the power conversion device 2 further includes: a parameter name storage unit 141 storing initial names of one or more control parameters; and a designated name acquisition unit 142 acquiring name designation data for designating a user-designated name for any one of the one or more control parameters and storing the data in the designated name storage unit 143, wherein the wizard execution unit 133 synthesizes the user-designated name in the parameter setting area when the designated name storage unit 143 stores name designation data for the control parameter designated by the parameter designation data, and synthesizes the initial name in the parameter setting area when the designated name storage unit 143 does not store name designation data for the control parameter. In this case, by flexibly changing the parameter name in the parameter setting area, a wizard screen that promotes more accurate parameter input can be easily generated.
[0213] Alternatively, one or more control parameters may include fixed attribute parameters whose attributes cannot be changed and free parameters whose attributes can be changed, and the power conversion device 2 may further include: a fixed attribute storage unit 151 for storing the attributes of the fixed attribute parameters; and an additional attribute acquisition unit 152 for acquiring attribute designation data for designating the attributes of the free parameters and storing the data in an additional attribute storage unit 153, wherein when the control parameter designated by the parameter designation data is a fixed attribute parameter, the wizard execution unit 133 synthesizes the display of the attributes stored in the fixed attribute storage unit 151 in the parameter setting area, and when the control parameter designated by the parameter designation data is a free parameter, the wizard execution unit 133 synthesizes the display of the attributes stored in the additional attribute storage unit 153 in the parameter setting area. In this case, the attributes of both the fixed attribute parameters and the free parameters are clearly indicated in the parameter setting area, thereby generating a wizard screen that promotes more accurate parameter input.
[0214] Alternatively, the plurality of basic screens may include a menu selection type screen having a menu selection area, the plurality of screen objects may include a menu selection object, the basic designation data of the menu selection object may designate the menu selection type screen, and the content data of the menu selection object may include item data for determining one or more items to be displayed to the user as options. When the screen object of the display target is the menu selection object, the wizard execution unit 133 may select the menu selection type screen based on the basic designation data, synthesize one or more items designated by the item data into the menu selection area, and display the wizard screen. In this case, the wizard screen of the item selection type may be easily added by simply inputting information of the designated item. Thus, it is possible to further seek a balance between the ease of changing the content of the wizard and more diverse operation guidance.
[0215] Alternatively, the power conversion device 2 further includes a wizard processing storage unit 135 storing one or more wizard processing, and at least one of the plurality of screen objects further includes processing designation data for establishing a correspondence between an operation input according to the guide and at least one wizard processing stored in the wizard processing storage unit 135. When the screen object of the display target includes the processing designation data, the wizard execution unit 133 executes any one of the one or more wizard processing based on the actual operation input and the processing designation data. In this case, the wizard processing can be easily configured at any position in the scene along the transition of the wizard screen. Therefore, a wizard that executes a desired processing along the scene can be easily generated.
[0216] Alternatively, one or more wizard processes may include screen transition processing for converting the current wizard screen into a wizard screen based on any one of a plurality of screen objects, at least one of the plurality of screen objects includes screen transition designation data for establishing a correspondence between the operation input according to the guide and the screen transition processing as the processing designation data, and when the screen object of the display target includes the screen transition designation data, the wizard execution unit 133 executes the screen transition processing based on the actual operation input and the screen transition designation data. In this case, a branch corresponding to the operation input can be easily configured at an arbitrary position in the scene. Therefore, a wizard that divides the scene according to the operation input can be easily generated.
[0217] Alternatively, the power conversion device 2 further includes a wizard processing storage unit 135, which stores a parameter change process for changing the control parameter based on the input content to the setting unit of the control parameter in the parameter setting area, and the parameter setting object includes change process designation data for establishing a correspondence between the operation input according to the guide and the parameter change process. When the screen object of the display target is the parameter setting object, the wizard execution unit executes the parameter change process based on the actual operation input and the change process designation data. In this case, based on the input content to the setting unit of the control parameter in the parameter setting area, a wizard for changing the control parameter can be easily generated.
[0218] Alternatively, the power conversion device 2 further includes a wizard processing storage unit 135 for storing one or more wizard processing, and the menu selection object further includes item correspondence data for establishing a correspondence between any one of the one or more wizard processing and each of the one or more items, and when the screen object of the display target is the menu selection object, the wizard execution unit 133 executes any one of the one or more wizard processing based on the item selected in the menu selection area and the item correspondence data. In this case, a wizard that changes the processing content according to the selected item can be easily generated.
[0219] As mentioned above, although embodiment was described, this disclosure is not necessarily limited to the said embodiment, Various changes can be made within the range which does not deviate from the summary.
[0220] Description of Reference Numerals
[0221] 2: Power conversion device
[0222] 20: Power conversion circuit
[0223] 113: Extension acquisition unit
[0224] 114: Extension program storage unit
[0225] 115: Input variable storage unit
[0226] 116: Output variable storage unit
[0227] 118: Control Department
[0228] 119: Parameter storage unit
[0229] 120: Program storage unit
[0230] 131: Screen object acquisition unit
[0231] 132: Screen object storage unit
[0232] 133: Wizard Execution Department
[0233] 134: Basic screen storage unit
[0234] 135: Wizard Processing Storage Unit
[0235] 141: Parameter name storage unit
[0236] 142: Designated name acquisition unit
[0237] 143: Designated name storage unit
[0238] 151: Fixed attribute storage unit
[0239] 152: Added attribute acquisition section
[0240] 153: Additional attribute storage unit
[0241] 412, 422, 432: Message data
[0242] 413, 423, 433: Content data
[0243] 416, 428: Screen transition specified data
[0244] 417, 429, 438: Basic specified data
[0245] 420: Parameter setting object
[0246] 424: Parameter specifies data
[0247] 427: Change processing specified data
[0248] 430: Menu selection object
[0249] 434: Project Data
[0250] 437: Project corresponding data
[0251] 511, 521, 531: Message area
[0252] 520: Parameter setting screen
[0253] 522: Parameter setting area
[0254] 530: Menu selection screen
[0255] 532: Menu selection area
Claims
1. A power conversion device comprising: A power conversion circuit converts primary-side power into secondary-side power; A program storage unit for storing a plurality of program modules and sequence data; an extension program acquisition unit, which acquires the extension program and stores it in the extension program storage unit; and a control unit, based on the sequence data, sequentially calling and executing two or more execution target modules from the plurality of program modules, and controlling the power conversion circuit based on the execution result; The plurality of program modules include an expansion module, When the called execution target module is the expansion module, the control unit includes the expansion program in the expansion program storage unit in the expansion module for execution.
2. The power conversion device according to claim 1, wherein: Also available: An input variable storage unit stores input variables. The plurality of program modules also includes an expansion input module, When the called execution target module is the expansion input module, the control unit acquires input data and stores the input data in the input variable of the input variable storage unit. When the called execution target module is the expansion module, the control unit executes the expansion program based on the input variable of the input variable storage unit.
3. The power conversion device according to claim 1 or 2, wherein: Also available: An output variable storage unit stores output variables. The plurality of program modules also includes an expansion output module, When the called execution target module is the expansion module, the control unit stores output data obtained by executing the expansion program in the output variable of the output variable storage unit. When the called execution target module is the expansion output module, the control unit reads the output variable from the output variable storage unit.
4. The power conversion device according to claim 1, wherein: Also available: A screen object acquisition unit, which acquires a plurality of screen objects and stores them in a screen object storage unit, wherein the plurality of screen objects respectively determine display contents of a wizard screen for guiding operation input and processing contents corresponding to the operation input according to the guidance; as well as The wizard execution unit selects a display target screen object from a plurality of screen objects in the screen object storage unit based on actual operation input, and displays a wizard screen based on the display target screen object.
5. The power conversion device according to claim 4, wherein: Also available: The basic screen storage unit stores the basic screen. The guidance execution unit synthesizes display contents based on the screen object of the display target with the base screen of the base screen storage unit, and displays the guidance screen.
6. The power conversion device according to claim 5, wherein: The basic screen storage unit stores a plurality of basic screens including the basic screen. The plurality of screen objects each include base designation data that designates any one of the plurality of base screens and content data that designates content to be synthesized for the designated base screen. The wizard execution unit selects any one of the plurality of base screens based on the base designation data of the display target screen object, synthesizes display content designated by content data of the display target screen object with the selected base screen, and displays the wizard screen.
7. The power conversion device according to claim 6, wherein: The plurality of basic screens each have a message area for displaying a message to a user, The content data of each of the plurality of screen objects includes message data that determines a message to a user, The guidance execution unit synthesizes a message specified by the message data of the screen object of the display target in the message area of the selection completed basic screen, and displays the guidance screen.
8. The power conversion device according to claim 6, wherein: Also available: A parameter storage unit stores one or more control parameters. The control unit further controls the power conversion circuit based on the one or more control parameters stored in the parameter storage unit, The plurality of basic screens include a parameter setting type screen further having a parameter setting area, The plurality of screen objects include a parameter setting object, The basic designation data of the parameter setting object designates the parameter setting type screen, The content data of the parameter setting object includes parameter designation data designating any one of the one or more control parameters, When the screen object of the display target is the parameter setting object, the wizard execution unit selects the parameter setting type screen based on the basic designation data, synthesizes the setting unit of the control parameter specified by the parameter designation data into the parameter setting area, and displays the wizard screen.
9. The power conversion device according to claim 8, wherein: Also available: a parameter name storage unit for storing initial names of the one or more control parameters; and a designated name acquisition unit that acquires name designation data that designates a user-designated name for any one of the one or more control parameters and stores the data in the designated name storage unit, When the name designation data for the control parameter specified by the parameter designation data is stored in the designated name storage unit, the wizard execution unit synthesizes the user-specified name into the parameter setting area; when the name designation data for the control parameter is not stored in the designated name storage unit, the wizard execution unit synthesizes the initial name into the parameter setting area.
10. The power conversion device according to claim 8, wherein: The one or more control parameters include fixed parameters whose attributes cannot be changed and free parameters whose attributes can be changed. The power conversion device further comprises: a fixed attribute storage unit for storing the attributes of the attribute fixed parameters; and an additional attribute acquisition unit that acquires attribute designation data that designates the attribute of the free parameter and stores the data in the additional attribute storage unit, When the control parameter designated by the parameter designation data is the attribute fixed parameter, the wizard execution unit combines the display of the attribute stored in the fixed attribute storage unit with the parameter setting area, When the control parameter designated by the parameter designation data is the free parameter, the wizard execution unit combines a display of the attribute stored in the additional attribute storage unit with the parameter setting area.
11. The power conversion device according to any one of claims 6 to 10, wherein: The plurality of basic screens include a menu selection type screen having a menu selection area, The plurality of screen objects include a menu selection object, The basic designation data of the menu selection object designates the menu selection type screen, The content data of the menu selection object includes item data defining one or more items to be presented to the user as options, When the display target screen object is the menu selection object, the wizard execution unit selects the menu selection type screen based on the basic designation data, synthesizes the one or more items designated by the item data into the menu selection area, and displays the wizard screen.
12. The power conversion device according to claim 4, wherein: Also available: A wizard process storage unit stores one or more wizard processes. At least one of the plurality of screen objects further includes processing designation data for establishing a correspondence between an operation input according to the guidance and at least one of the one or more wizard processes. When the screen object of the display target includes the process designation data, the wizard execution unit executes any one of the one or more wizard processes based on the actual operation input and the process designation data.
13. The power conversion device according to claim 12, wherein: The one or more wizard processes include a screen transition process of causing a current wizard screen to transition to a wizard screen based on any one of the plurality of screen objects. At least one of the plurality of screen objects includes screen transition designation data for establishing a correspondence between an operation input according to the guidance and the screen transition process as the process designation data, In a case where the screen object of the display target includes the screen transition designation data, the wizard execution unit executes the screen transition process based on the actual operation input and the screen transition designation data.
14. The power conversion device according to any one of claims 8 to 10, wherein: Also available: a wizard process storage unit for storing a parameter change process for changing the control parameter based on the input content of the setting unit of the control parameter in the parameter setting area; The parameter setting object includes change processing designation data for establishing a correspondence between the operation input according to the guidance and the parameter change processing, When the screen object of the display target is the parameter setting object, the wizard execution unit executes the parameter change process based on the actual operation input and the change process designation data.
15. The power conversion device according to claim 11, wherein: Also available: A wizard process storage unit stores one or more wizard processes. The menu selection object further includes item correspondence data that establishes a correspondence between any one of the more than one wizard processes and each of the more than one items. When the screen object of the display target is the menu selection object, the guidance execution unit executes any one of the one or more guidance processes based on the item selected in the menu selection area and the item correspondence data.
16. A method for converting electric power, comprising: Acquire an expansion program and store it in an expansion program storage unit, wherein the expansion program determines the content of an expansion module whose content is undetermined among a plurality of program modules stored in the program storage unit; as well as Based on the sequence data stored in the program storage unit, two or more execution target modules are sequentially called and executed from the plurality of program modules, and the power conversion circuit is controlled based on the execution results. When the called execution target module is an expansion module, the expansion program in the expansion program storage unit is included in the expansion module and executed.
17. A method for manufacturing a power conversion device, comprising: generating an expansion program based on the source code, the expansion program determining the content of an expansion module whose content is undetermined among a plurality of program modules stored in the power conversion device; Based on a block diagram in which a plurality of function blocks corresponding to the plurality of program modules including the expansion module are arranged and connected to each other, sequence data of the plurality of program modules is generated, the sequence data including: when an execution target module called from the plurality of program modules is the expansion module, the expansion program is included in the expansion module for execution; as well as The expansion program and the sequence data are stored in a power conversion device.
18. A method for manufacturing a power conversion device, comprising: generating an expansion program based on the source code, the expansion program determining the content of an expansion module whose content is undetermined among a plurality of program modules stored in the power conversion device; as well as In a process in which the power conversion device sequentially executes the plurality of program modules based on preset sequence data, the expansion program is stored in an expansion program storage unit that is referenced when the expansion module is executed.
Citation Information
Patent Citations
Power conversion system, programming support device, programming support method, program, and storage medium
JP2019128930A
Power conversion system, programming support apparatus, programming support method, and storage medium
CN110061609A