Devices that support the creation of control logic and methods that support the creation of control logic.

VN105082AActive Publication Date: 2024-08-26MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
VN1202402605
Authority / Receiving Office
VN · VN
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2024-08-26
Estimated Expiration
2041-11-18

AI Technical Summary

Technical Problem

Existing methods for creating control logic for new control devices are time-consuming and labor-intensive, as they fail to effectively reuse control logic from previous devices due to the inability to convert control logic drawings and consider operational differences beyond command differences.

Method used

A control logic creation support device that includes control logic analysis, command conversion, input/output processing conversion, and instruction alignment means to convert and arrange instructions for the new device, reducing the need for manual intervention and time.

Benefits of technology

This approach significantly reduces the time and effort required to reuse control logic across different control devices by automating the conversion and alignment of instructions, enabling efficient adaptation to new devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure VN1202402605_0
    Figure VN1202402605_0
Patent Text Reader

Abstract

The invention relates to a device for generating control logic (100) for generating the control logic of a reusable target control device from the control logic of a reusable source control device, including: a means of analyzing control logic (1) for obtaining at least the type of command, position, and connection information on the control logic drawing of the reusable source control device; a means of converting command (2) for converting the command of the reusable source control device into the command of the reusable target control device; a means of converting input / output processing (3) for extracting the difference between the input / output processing of the reusable source control device and the reusable target control device and changing the converted command in the means of converting command or adding new commands based on the extracted difference;and the means of arranging commands (4) to arrange commands so that they do not overlap, according to the size of each command output from the input / output processing conversion means.;
Need to check novelty before this filing date? Find Prior Art

Description

Control logic creation support device and control logic creation support method

[0001] The present application relates to a control logic creation support device and a control logic creation support method.

[0002] When replacing a control device, it becomes necessary to create a program for the new control device. In this case, a program creation device is known that considers the reuse of programs from previous control devices, determines whether commands used in the past can be used in the new control device, and converts them into commands for the new control device (see, for example, Patent Document 1).

[0003] JP 2019-16037 A

[0004] However, while the programming device described in Patent Document 1 can convert the commands of a program that runs within a control device, it cannot reuse the control logic (drawings), making it time-consuming to create the drawings. Furthermore, it was necessary to change the control logic in consideration of operational differences in the control device other than command differences (for example, operational differences at the time of input and output of the control device).

[0005] The present application has been made to solve the above-mentioned problems, and aims to reduce the time and effort required when reusing the control logic of a different control device.

[0006] The control logic creation support device disclosed in the present application is a control logic creation support device that creates the control logic of a second control device from the control logic of a first control device, and is characterized by comprising: a control logic analysis means that acquires information on at least the type, position, and connection of instructions in the control logic drawing of the first control device; an instruction conversion means that converts instructions of the first control device into instructions of the second control device based on instruction conversion rules; an input / output processing conversion means that extracts differences in input / output processing between the first control device and the second control device based on input / output processing rules for each type of control device, and modifies the instructions converted by the instruction conversion means or adds new instructions based on the extracted differences; and an instruction alignment means that aligns instructions so that they do not overlap, depending on the size of the instructions output from the input / output processing conversion means.

[0007] The control logic creation support device disclosed in the present application can reduce the time and effort required when reusing the control logic of a different control device.

[0008] 1 is a diagram illustrating a processing flow of the control logic creation support device according to the first embodiment. FIG. 2 is a functional configuration diagram of the control logic creation support device according to the first embodiment. FIG. 3 is a flowchart illustrating a processing procedure of the control logic creation support device according to the first embodiment. FIG. 4 is a flowchart illustrating the operation of the control logic analysis means of the control logic creation support device according to the first embodiment. FIG. 5 is a diagram illustrating an example of an image of data stored in source control logic data of the control logic creation support device according to the first embodiment. FIG. 6 is a diagram illustrating an example of an image of a database of connection lines of the control logic creation support device according to the first embodiment. FIG. 7 is a flowchart illustrating the operation of the instruction conversion means of the control logic creation support device according to the first embodiment. FIG. 8 is a diagram illustrating an example of an image of a control device information database of the control logic creation support device according to the first embodiment. FIG. 9 is a diagram illustrating an example of an image of an instruction conversion rule database of the control logic creation support device according to the first embodiment. FIG. 10 is a diagram illustrating an example of an image of instruction data of destination control logic data after instruction conversion has been performed by the control logic creation support device according to the first embodiment. FIG. 11 is a diagram illustrating an example of an image of connection line data of destination control logic data after instruction conversion has been performed by the control logic creation support device according to the first embodiment. FIG. 1 is a diagram showing an example of an image of instruction data of converted logic data after input / output processing conversion of the control logic creation support device according to embodiment 1. FIG. 2 is a diagram showing an example of an image of connection line data of converted logic data after input / output processing conversion of the control logic creation support device according to embodiment 1. FIG. 3 is a flowchart explaining the operation of an instruction alignment means of the control logic creation support device according to embodiment 1. FIG. 4 is a diagram showing an example of an image of an instruction symbol definition database of the control logic creation support device according to embodiment 1. FIG. 5 is a functional configuration diagram of a control logic creation support device according to embodiment 2. FIG. 6 is a flowchart explaining the operation of a drawing division means of the control logic creation support device according to embodiment 2. FIG. 7 is a functional configuration diagram of a control logic creation support device according to embodiment 3.1 is a flowchart illustrating the operation of an instruction rule registration means of the control logic creation support device according to embodiment 3. FIG. 2 is a functional configuration diagram of the control logic creation support device according to embodiment 4. FIG. 3 is a diagram illustrating an example of an image of an instruction conversion rule database of the control logic creation support device according to embodiment 4. FIG. 4 is a diagram illustrating an example of an image of converted control logic data of the control logic creation support device according to embodiment 4. FIG. 5 is a flowchart illustrating the operation of a key confirmation instruction list output means of the control logic creation support device according to embodiment 4. FIG. 6 is a functional configuration diagram of the control logic creation support device according to embodiment 5. FIG. 7 is a flowchart illustrating the operation of an operation definition conversion means of the control logic creation support device according to embodiment 5. FIG. 8 is a diagram illustrating an example of an image of a control logic operation definition to be reused in the control logic creation support device according to embodiment 5. FIG. 9 is a diagram illustrating an example of an image of a control logic operation rule database of the control logic creation support device according to embodiment 5. FIG. 10 is a diagram illustrating an example of an image of converted control logic to be reused in the control logic creation support device according to embodiment 5. FIG. 11 is a diagram illustrating an example of a hardware configuration of the control logic creation support device according to the embodiments.

[0009] Hereinafter, preferred embodiments of the control logic creation support device according to the present application will be described with reference to the drawings. Note that the same reference numerals are used to designate the same contents and corresponding parts, and detailed descriptions thereof will be omitted. Similarly, in the following embodiments, redundant descriptions of components with the same reference numerals will be omitted.

[0010] First Embodiment The following describes the first embodiment. Fig. 1 is a diagram simply explaining the processing flow of a control logic creation support device when creating a control logic drawing 52 to be used from a control logic drawing 51 to be used.

[0011] A control logic analysis means 1 acquires the type, position, connection information, etc. of instructions in the source control logic diagram 51, and an instruction conversion means 2 converts the instructions of the source control device into instructions for the destination control device based on the instruction conversion rules. An input / output processing conversion means 3 then extracts differences in input / output processing from the input / output processing rules for each control device and information on the types of control devices used by the source and destination, and reflects these differences in the control logic. An instruction alignment means 4 aligns the positions of instructions from the results of these conversions, generates the destination logic, and creates the destination logic diagram 52.

[0012] FIG. 2 is a functional configuration diagram illustrating the process flow and data flow of the control logic creation support device. The relationship between each functional component and each data and database is as follows: (1) Control logic analysis means 1 that analyzes instruction information, etc., of a source control logic drawing 51. (2) Source control logic data 53 output from the control logic analysis means 1. (3) Instruction conversion rule database 54 that stores instruction conversion rules according to the type of control device. (4) Control device information database 55 that stores information on the source and destination control devices. (5) Instruction conversion means 2 that converts instructions based on the source control logic data 53 using information from the instruction conversion rule database 54 and the control device information database 55. (6) Input / output processing database 57 that stores input / output processing rules for each control device. (7) Input / output processing conversion means 3 that converts input / output processing based on information from the control device information database 55 and the input / output processing database 57 using the source control logic data 53. (8) Destination control logic data 56 that is output from the instruction conversion means 2 and the input / output processing conversion means 3. (9) An instruction sorting means 4 sorts each instruction in the information of the converted control logic data 56 based on the instruction symbol definition database 58.

[0013] The processing procedure of each means in the first embodiment will be explained based on the flowchart in Figure 3. First, the control logic analysis means 1 is executed (step S1), and if an error is found, the user is notified of the error and the process ends (step S5). If there is no error, the instruction conversion means 2 is executed (step S2). If an error is found in the instruction conversion means 2, the user is notified of the error and the process ends (step S5). If there is no error, the input / output processing conversion means 3 is executed (step S3). If an error is found in the input / output processing conversion means 3, the user is notified of the error and the process ends (step S5). If there is no error, the instruction alignment means 4 is executed (step S4). If there is an error in the instruction alignment means 4, the user is notified and the process ends (step S5); if there is no error, the process ends.

[0014] The operation of each means constituting the above-described process flow will be described in detail below in relation to the data flow. [Control Logic Analysis Means] The operation of the control logic analysis means 1 will be described based on the flowchart in FIG. 4. All components on the source control logic drawing are acquired (step S11), and data for the acquired components is acquired and stored in a database (step S12). It is determined whether the acquired components are commands (step S13). If they are commands, their positions, command types, and parameters are acquired (step S14). The acquired data is then stored in the source control logic data 53, which is a database (DB) (step S15). An example of the data stored in the source control logic data 53 is shown in FIG. 5. An ID is assigned to each command, and the type, XY coordinate position, and parameter values ​​are stored for each command. Furthermore, for components that are not commands, it is determined whether they are connection lines (step S16). If they are connection lines, the connection destination, connection source, start position, and end position are acquired (step S17), and stored in the database (DB) (step S18). In this embodiment, the connection line information is also stored in the source control logic data 53, which is the same data that stores the commands. An example of the image of the database of connection lines is shown in Fig. 6. The operations from step S13 to step S18 are repeated until the number of registered parts becomes 0 (step S19). If it is not possible to repeat the operations, an error is output (step S20).

[0015] [Instruction Conversion Means] The operation of the instruction conversion means 2 will be described based on the flowchart in FIG. 7. The types of source and destination control devices are obtained from the control device information database 55 (step S21). An example of the control device information database 55 is shown in FIG. 8. Next, information on all instructions is obtained from the source control logic data 53 (step S22). Conversion processing is performed for the obtained number of instructions (step S23). The corresponding instructions are searched for in the instruction conversion rule database 54, and a conversion rule is obtained (step S24). An example of the instruction conversion rule database 54 is shown in FIG. 9. If a conversion rule exists (step S25), conversion is performed according to the rule, and the result is stored in the destination control logic data 56 (step S26). At this time, if the instruction conversion is not one-to-one but an additional instruction is added (step S27), connecting lines are added to the added instructions, and the destinations of the existing connecting lines are changed and stored in the destination control logic data 56 (step S28). If a conversion rule does not exist (step S25), an error symbol is registered (step S29), and an error output is issued (step S30). 10 and 11 show examples of the converted control logic data 56. The source instruction is a limited addition instruction, but the converted instruction is an addition instruction with upper and lower limits, so the number of instructions has increased.

[0016] [Input / Output Processing Conversion Means] The operation of the input / output processing conversion means 3 will be explained based on the flowchart in Fig. 12. The types of source and destination control devices are obtained from the control device information database 55 (step S31). Next, the input / output processing rules for each control device are obtained from the input / output processing database 57 (step S32). An example of the input / output processing database 57 is shown in Fig. 13. If no input / output processing exists (step S33), an error is output and the process ends. If input / output processing exists, it is determined whether there is a difference in the input / output processing (step S34), and if there is no difference, the process ends.

[0017] If there is a difference, the input / output instructions are obtained from the converted control logic data 56 after the execution of the instruction conversion means 2 (step S35), and the next process (steps S37 to S39) is repeated for the number of instructions (step S36). The instructions are changed to ones that can compensate for the difference in input / output processing, or instructions are added, and the instructions are re-registered in the converted control logic data 56 (step S37). If an instruction is added, a connection line is added (step S38), similar to the process of the instruction conversion means 2, and the information is registered in the converted control logic data 56 (step S39). An example of the converted control logic data 56 after the execution of this means is shown in Figures 14 and 15. In the source, engineering value conversion was performed in the processing within the control device, but in the destination, engineering value conversion is not performed in the processing of the control device. Therefore, an instruction to perform engineering value conversion for instruction n is added in the control logic, and the number of connection lines is increased accordingly.

[0018] [Instruction Alignment Means] The operation of the instruction alignment means 4 will be described with reference to the flowchart in Figure 16. As with the instruction conversion means 2, the types of source and destination control devices are obtained from the control device information database 55 (step S41). Next, based on the information about the control devices, the definitions of instruction symbols are read from the instruction symbol definition database 58 (step S42). An example of the instruction symbol definition database 58 is shown in Figure 17. Instructions are read from the destination control logic data 56 after the input / output processing conversion means 3 has been implemented, and the size of the instruction on the drawing is obtained from the instruction type and instruction symbol definition. Position information is also obtained, and a calculation is made to determine whether symbols overlap for all instructions (step S44). Based on the result, a process is carried out to eliminate overlaps for the number of overlaps (step S45).

[0019] To eliminate overlaps, if the vertical or horizontal relationship with other commands is reversed, the execution order of the commands may be changed. Therefore, when shifting a command in the X direction, all commands following that position are also shifted to prevent this change. The same is done in the Y direction. Also, taking connecting lines into consideration, a certain distance is left between commands. For example, 10 points may be left in both the X and Y directions. After resizing, the symbol at the bottom right is checked to determine whether it fits within the size of the control logic diagram (step S46). If it does not, an error is output. If it does fit, the position information of the command has been changed, and this is reflected in the information of the connecting lines (step S47). Finally, the destination control logic diagram 52 is output based on the position-corrected information (step S48).

[0020] By the processing of the first embodiment as described above, when changing the type of control device due to control device update work or the like, it is no longer necessary to create a new control logic diagram from scratch, or when reusing a control logic diagram, it is no longer necessary to consider which commands can be used as is and which commands need to be changed and reflect these in the diagram, thereby reducing the time and effort required to create a control logic diagram.

[0021] Second Embodiment In the first embodiment, it was stated that an error occurs if the control logic drawing size is exceeded during processing by the instruction alignment means 4. However, in the second embodiment, as shown in Fig. 18, a drawing division means 5 is added to divide the control logic that exceeds the predetermined drawing size onto the next page based on the result of the instruction alignment means 4.

[0022] 19 is a flowchart showing the operation of the diagram division means of the second embodiment. From the converted control logic data 56 reflecting the results of the instruction sorting means 4, instructions that exceed the size of the control logic diagram are detected (step S61). The positions of the oversized instructions are corrected so that they are placed on the next page (step S62). Since connection lines connecting detected instructions to undetected instructions would span pages, all such connection lines are extracted (step S63), and the signal inputs and outputs exchanged between the sheets are placed on their respective sheets, with the connection lines redirected to the instructions, eliminating the cross-page connection lines (step S64). Finally, the destination control logic diagram 52 is output from the data with this information added (step S65).

[0023] By the processing of the second embodiment described above, even if the control logic drawing to be reused contains many instructions, or if there are many differences between the control devices and many instructions are to be added, it is possible to divide the control logic drawing into multiple drawings and output it.

[0024] Third Embodiment In the first embodiment, it was stated that if there is an instruction that has not been registered in the instruction conversion means 2, an error symbol is registered and an error is output. However, in this embodiment, as shown in FIG. 20, a configuration is provided in which an instruction rule registration means 6 that can register a new conversion definition is added.

[0025] The operation of the command rule registration means of the third embodiment will be described with reference to the flowchart of Fig. 21. The operation of the third embodiment is the same as the detailed operation of the command conversion means 2 of the first embodiment, except that it adds a process of determining whether to register an command conversion rule (step S71) and a process of registering the conversion rule in the command conversion rule database (step S72). In the process of registering the conversion rule in the database, the user inputs on the screen what command an error command that could not be converted should be converted into, and the contents are registered in the database. After registration, the command is converted using that information and registered in the database, just as in the first embodiment. Furthermore, since the previously registered information can be used from the next command onwards, there is no need to register the same command conversion rule again.

[0026] By the processing of the third embodiment as described above, even if there are instructions that were not initially anticipated, the conversion rules can be registered in the database later, making it possible to increase the number of patterns for which control logic diagrams can be automatically output.

[0027] Fourth Embodiment The configuration of the fourth embodiment will be described with reference to Fig. 22. The fourth embodiment is configured by adding a priority confirmation command list output means 7 and a priority confirmation command list 59, which is the output of the fourth embodiment, to the third embodiment. A priority confirmation command indicates a command for which testing should be prioritized. Furthermore, a column for storing a priority confirmation flag is added to the command conversion rule database 54 and the converted control logic data 56 so that information for determining which commands are priority confirmation commands can be stored. Fig. 23 shows an example of an image of the expanded command conversion rule database 54, and Fig. 24 shows an example of an image of the converted control logic data 56.

[0028] The operation of the fourth embodiment will now be described. The priority confirmation flag in the command conversion rule database 54 is set when the command conversion rule is registered. When the command conversion means 2 converts commands and registers them in the database, the priority confirmation flag information for the command conversion rule is also registered in the converted control logic data 56. The operation of the priority confirmation command list output means 7 will now be described with reference to the flowchart in Figure 25. Commands for which priority confirmation flags are set are extracted from the converted control logic data 56 that has been processed by the command sorting means 4 (step S81). From the contents of the extracted commands, the type and position of the commands are listed and output (step S82).

[0029] By using the priority confirmation flags through the processing of the fourth embodiment as described above, it is possible to extract the parts that should be tested in particular when operating the converted control logic, thereby making it possible to improve the efficiency of the test.

[0030] Fifth embodiment The configuration of the fifth embodiment will be described with reference to Fig. 26. The configuration of the fifth embodiment is configured by adding to the configuration of the first embodiment a control logic operation definition 91 to be reused, a control logic operation rule database 93 that collects the rules of control logic operation for each control device, operation definition conversion means 94 that converts the control logic operation definition based on these, and a control logic operation definition 92 to be reused that is the output of that means.

[0031] The operation of the fifth embodiment will be described with reference to FIG. 27. The operation of the fifth embodiment is the same as that of the first embodiment, but with the addition of an operation definition conversion means 94. The operation definition conversion means 94 first imports the source control logic operation definition 91 (step S95). An example of the source control logic operation definition 91 is shown in FIG. 28. This definition defines which control logic is to be operated in what order, with what settings and cycles. Next, the operation definition rules of the source and destination control devices are extracted from the control logic operation rule database 93 (step S96). An example of the control logic operation rule database 93 is shown in FIG. 29. This database compiles, for each control device, information such as whether special settings are available and whether cycle settings are performed by direct numerical input or multiples. The definition is then converted based on the differences in the extracted definition rules (step S97). An example of the converted destination control logic operation definition 92 is shown in FIG. 30.

[0032] By the processing of the fifth embodiment as described above, the operation definition of the control logic is converted together with the conversion of the control logic, thereby reducing the time and effort required for the diversion work.

[0033] FIG. 31 shows an example of hardware for a microcomputer in the control logic creation support device 100. The device is composed of a processor 10 and a storage device 20. The storage device includes a volatile storage device such as a random access memory and a non-volatile auxiliary storage device such as a flash memory. A hard disk auxiliary storage device may be used instead of the flash memory. The processor 10 executes the functions described as means in each embodiment by executing a program input from the storage device 20. In this case, the program is input from the auxiliary storage device to the processor 10 via the volatile storage device. The processor 10 may output data such as calculation results to the volatile storage device of the storage device 20, or may store the data in the auxiliary storage device via the volatile storage device. The databases described in each embodiment may be stored in the auxiliary storage device of the storage device 20.

[0034] In each embodiment, if an error is determined, an error message may be output to a display device connected to the output to warn the operator of the location where the error was output. Also, the progress of the processing of each means may be displayed on the display device.

[0035] Although various exemplary embodiments and examples are described in this application, the various features, aspects, and functions described in one or more embodiments are not limited to the application of a particular embodiment, but may be applied to the embodiments alone or in various combinations. Therefore, countless variations not illustrated are contemplated within the scope of the technology disclosed in this specification. For example, this includes cases where at least one component is modified, added, or omitted, or where at least one component is extracted and combined with components of another embodiment.

[0036] 1: Control logic analysis means, 2: Command conversion means, 3: Input / output processing conversion means, 4: Command alignment means, 5: Drawing division means, 6: Command rule registration means, 7: Key confirmation command list output means, 53: Source control logic data, 54: Command conversion rule database, 55: Control device information database, 56: Destination control logic data, 57: Input / output processing database, 58: Command symbol definition database, 93: Control logic operation rule database, 94: Operation definition conversion means.

Claims

1. A control logic creation support device that creates the control logic of a second control device from the control logic of a first control device, comprising: a control logic analysis means that acquires information on at least the type, position, and connection of instructions in the control logic drawing of the first control device; an instruction conversion means that converts the instructions of the first control device into instructions of the second control device based on instruction conversion rules; an input / output processing conversion means that extracts differences in input / output processing between the first control device and the second control device based on input / output processing rules for each type of control device, and modifies the instructions converted by the instruction conversion means or adds new instructions based on the extracted differences; and an instruction alignment means that aligns instructions so that they do not overlap, depending on the size of the instructions output from the input / output processing conversion means.

2. The control logic creation support device according to claim 1, characterized in that the control logic analysis means acquires information on the destination, origin, start and end positions of connection lines in the logic diagram of the first control device.

3. The control logic creation support device according to claim 1 or 2, characterized in that the instruction alignment means acquires the size of the instruction based on the size of the instruction corresponding to the type of control device and the type of the instruction, and calculates whether or not overlapping of instructions will occur.

4. A control logic creation support device as claimed in any one of claims 1 to 3, characterized in that if the instructions to be aligned in the instruction alignment means exceed a predetermined drawing size, the drawing is divided and created.

5. The control logic creation support device according to any one of claims 1 to 4, further comprising command rule registration means for registering new command rules for commands that cannot be converted by said command conversion means.

6. A control logic creation support device as described in any one of claims 1 to 5, characterized in that when the command conversion means registers the converted command of the second control device, it also registers a priority confirmation flag that prompts confirmation of the command when the control logic of the second control device is executed.

7. A control logic creation support device as described in any one of claims 1 to 6, further comprising an operation definition conversion means for acquiring the operation definition of the control logic operation of the first control device and converting the operation definition based on the difference in operation rules between the first control device and the second control device.

8. A control logic creation support method for creating control logic for a second control device from the control logic of a first control device, comprising: a control logic analysis step for acquiring information on at least the type, position, and connection of instructions in a control logic drawing of the first control device; an instruction conversion step for converting instructions for the first control device into instructions for the second control device based on instruction conversion rules; an input / output processing conversion step for extracting differences in input / output processing between the first control device and the second control device based on input / output processing rules for each type of control device, and modifying the instructions converted in the instruction conversion step or adding new instructions based on the extracted differences; and an instruction alignment step for aligning instructions so that they do not overlap, depending on the size of the instructions output from the input / output processing conversion step.

9. The control logic creation support method according to claim 8, characterized in that the control logic analysis step acquires all components on the control logic drawing of the first control device, acquires data for the number of acquired components, determines whether the acquired components are commands, and if they are commands, acquires at least the position, type of command, and parameters, and if they are not commands, determines whether they are connection lines, and if they are connection lines, acquires at least the connection destination, connection source, start, and end positions.

10. A control logic creation support method as described in claim 9, characterized in that the instruction conversion step converts the acquired instructions of the first control device into instructions of the second control device in accordance with conversion rules, and if the conversion is not one-to-one and instructions are added, connecting lines are added to the number of added instructions.

11. A control logic creation support method as described in claim 10, characterized in that, if there is a difference in the input / output processing rules between the first control device and the second control device, the input / output processing conversion step changes the command converted in the command conversion step to a command that can compensate for the difference in input / output processing.

12. The control logic creation support method according to claim 11, characterized in that the instruction alignment step obtains the size of the instructions on the drawing from the type of instruction processed in the input / output processing conversion step and the symbol definition of the instruction, also obtains position information, calculates whether symbols overlap for all instructions, and, if overlap occurs, performs processing to eliminate the overlap.