A tree-shaped logic software design method of a dual-power automatic change-over switch

An automatic transfer switch, software design technology, applied in software design and other directions, can solve problems such as affecting existing logic security, increasing the workload of testing, and large new logic code, so as to reduce test work, easy to modify, and code amount. reduced effect

Active Publication Date: 2019-05-28
SCHNEIDER WINGOAL TIANJIN ELECTRIC EQUIP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

According to different application scenarios, different conversion logics need to be included, and the conversion logics are mutually included and intricate
If it is necessary to increase the workload of writing new logic codes, it will often affect the security of existing logic and increase the workload of testing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A tree-shaped logic software design method of a dual-power automatic change-over switch
  • A tree-shaped logic software design method of a dual-power automatic change-over switch
  • A tree-shaped logic software design method of a dual-power automatic change-over switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 1 A schematic diagram of the container structure of the tree logic software design method provided by the embodiment of the present invention; figure 2 In the tree logic software design method provided by the embodiment of the present invention, the tree structure diagram of the working mode and the working state container object of the dual power supply switch; image 3 A schematic flow chart of a tree-structured scheduling algorithm in the tree-type logic software design method provided by the embodiment of the present invention; as Figure 1~3 As shown, the present embodiment provides a tree-type logic software design method for a dual-power automatic transfer switch, and the design method includes the following steps:

[0034] S1. Design container structure

[0035] The design of the container structure includes the design of the container linked list structure, the design of the container adding method, the design of the container deleting method and the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a tree-shaped logic software design method of a dual-power automatic change-over switch. The design method comprises the following steps that the design method comprises the following steps of: S1, designing a container structure, wherein S101, the container linked list comprises a linked list structure realized by using a template; different types of container objects canbe received by specifying different template parameters, and each container object holds pointers of the front container object and the rear container object so as to form a linked list structure, S102, designing a container adding method, S103, designing a container deleting method and S104, designing a traversal algorithm; S2, four classes are created according to the dual-power-supply workingmode, each working mode comprises multiple working states, the working states are abstracted into container classes, objects are created for each container class and added to the corresponding workingmode, and a top-down tree-shaped structure is finally formed by the same class; And S3, designing a scheduling algorithm of a tree structure. The logic structure is clear, the later modification riskis reduced, and the test workload is reduced.

Description

technical field [0001] The invention belongs to the technical field of industrial control software for dual power switches, in particular to a tree logic software design method for dual power automatic transfer switches. Background technique [0002] Dual power automatic transfer switches are used to automatically switch load circuits from one power source to another. According to different application scenarios, different conversion logics need to be included, and the conversion logics are mutually included and intricate. If it is necessary to increase the workload of new logic code writing, it will often affect the security of existing logic and increase the workload of testing. [0003] Therefore, based on these problems, it is of great practical significance to provide a tree logic software design method for dual power automatic transfer switches with clear logical structure, simple and efficient code, reduced risk of later modification, and reduced testing workload. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/20
Inventor 张凌华谢勇王莉李松泽熊艳王锟左光焜
Owner SCHNEIDER WINGOAL TIANJIN ELECTRIC EQUIP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products