# Patent

## Title
Current source converter differential protection method and relay protection device

## Abstract

Embodiments of the present invention disclose a current source converter differential protection method, including: sampling, by a relay protection device, secondary side currents of current transformers on two sides of a protected current source converter, to obtain incomer-side three-phase currents, and outgoer-side three-phase currents; rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current and an outgoer-side output current which are equivalent; converting the incomer-side input current and the outgoer-side output current according to a current ratio of the current transformers on the two sides, to acquire a transient differential current and a transient restraint current; acquiring a differential current and a restraint current according to the transient differential current and the transient restraint current; and achieving differential protection according to the differential current and the restraint current. The embodiments of the present invention further disclose a relay protection device correspondingly.

## Background
FIELD OF THE INVENTION
Embodiments of the present invention relate to the field of power and electron technologies, and in particular to a current source converter differential protection method and a relay protection device.
DESCRIPTION OF RELATED ART
For high-power power electronic converters (sometimes called inverters), according to types of output waveforms, converters having independent controllable topology of output voltage waveforms are called voltage source converter or voltage source inverter (VSC or VSI); similarly, converters having independent controllable topology of output current waveforms are called current source converter or current source inverter (CSC or CSI).
Regarding the discussion about this aspect, reference can be made to Chapter 14 of Power Electronics Handbook ([US] mainly complied by Muhammad H. Rashid, translated by Chen Jianye et al., China Machine Press, 2004).
Large-capacity CSCs are widely applied to power systems, for example, three-phase full bridge controlled rectifiers of large generator self-shunt excitation systems, pumping mode starting devices of large pumped-storage units, i.e., static frequency converters (SFCs), large gas turbine generator starting devices, i.e., Load Commutated Inverters (LCIs), and converters used by some large traction devices.
For the large-capacity CSC devices, a relay protection method for reliably and rapidly judging an internal short circuit fault is often required. A ratio restraint characteristic differential protection method (reference can be made to RELAY PROTECTION PRINCIPLE AND APPLICATION OF MAIN ELECTRICAL EQUIPMENT (2nd Edition) compiled by Professor Wang Weijian Tsinghua University, China Electric Power Press, 2002) is a method for judging an internal short circuit fault in power devices widely applied to power systems, which not only has high protection reliability and rapid movement speed, but also can distinguish whether a short circuit fault occurs inside (called internal fault) or outside (called external fault). An incomer side and an outgoer side of a protected device are respectively mounted with a protection-level current transformer (CT), and the past differential protection method needs to measure and calculate power frequency currents of CTs on two sides. However, for the CSC devices applied in the power systems, it is common that an alternating current at a power frequency is input from the incomer side (grid side) and an alternating current at a frequency ranging greatly is output from the other outgoer side, and the past differential protection method cannot be directly applied to occasions where current frequencies on the two sides are different.
At present, relay protection methods mostly used by the large-capacity CSC devices are: overcurrent protection, overload protection, asymmetrical three phase current protection, current change rate




  (
  
    
      d
      i
    
    
      d
      t
    
  
  )




protection, and so on. The protection methods, compared with differential protection, have an advantage that protection action time is relatively longer. In addition, the protection methods cannot distinguish whether a short circuit fault occurs inside or outside.

SUMMARY OF THE INVENTION
Technical Problem
An objective of the embodiments of the present invention is to provide a current source converter differential protection method and a relay protection device, to solve the problem that the existing differential protection method cannot be applied to current source converters.
Technical Solution
The technical solution adopted by the embodiments of the present invention is:
A current source converter differential protection method, including:
sampling, by a relay protection device, secondary side currents of current transformers on two sides of a protected current source converter, to obtain incomer-side three-phase currents iNa, iNb and iNc, and outgoer-side three-phase currents iMa, iMb and iMc;

rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent;

converting the incomer-side input current and the outgoer-side output current according to a current ratio of the current transformers on the two sides, to acquire a transient differential current idiff and a transient restraint current ires;

acquiring a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current; and

achieving differential protection according to the differential current idiff and the restraint current Ires.

Preferably, the rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent includes:
using hardware rectification, and using a hardware three-phase rectifier bridge inside the relay protection device, to obtain the rectified incomer-side input current iN and outgoer-side output current iM which are equivalent.
Preferably, the rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent includes:
using digital rectification, to obtain an incomer-side input current and an outgoer-side output current which are equivalent according to




   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    N
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    i
                    
                      Na
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nb
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nc
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  
                    N
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    i
                    
                      Na
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nb
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nc
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
      ⁢
      
        
      
      ⁢
      and
      ⁢
      
        

      
      ⁢
      
        {
        
          
            
              
                
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        i
                        
                          Ma
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          Mb
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          
                            M
                            ⁢
                            
                              
                            
                            ⁢
                            c
                          
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        i
                        
                          Ma
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          Mb
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          
                            M
                            ⁢
                            
                              
                            
                            ⁢
                            c
                          
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
          
          ,
          
            
              where
              ⁢
              
                

              
              ⁢
              
                
                  i
                  
                    kj
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            =
            
              {
              
                
                  
                    
                      
                        
                          
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                            ,
                          
                        
                        
                          
                            
                              if
                              ⁢
                              
                                
                              
                              ⁢
                              
                                
                                  i
                                  kj
                                
                                ⁡
                                
                                  (
                                  n
                                  )
                                
                              
                            
                            ≥
                            0
                          
                        
                      
                      
                        
                          
                            0
                            ,
                          
                        
                        
                          
                            
                              if
                              ⁢
                              
                                
                              
                              ⁢
                              
                                
                                  i
                                  kj
                                
                                ⁡
                                
                                  (
                                  n
                                  )
                                
                              
                            
                            <
                            0
                          
                        
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    j
                  
                  =
                  a
                
                ,
                b
                ,
                
                  c
                  ;
                  
                    k
                    =
                    N
                  
                
                ,
                
                  M
                  ;
                  
                    

                  
                  ⁢
                  
                    
                      
                        i
                        
                          kj
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      {
                      
                        
                          
                            
                              
                                
                                  
                                    0
                                    ,
                                  
                                
                                
                                  
                                    
                                      if
                                      ⁢
                                      
                                        
                                      
                                      ⁢
                                      
                                        
                                          i
                                          kj
                                        
                                        ⁡
                                        
                                          (
                                          n
                                          )
                                        
                                      
                                    
                                    >
                                    0
                                  
                                
                              
                              
                                
                                  
                                    
                                      
                                      
                                        
                                          i
                                          kj
                                        
                                        ⁡
                                        
                                          (
                                          n
                                          )
                                        
                                      
                                      
                                    
                                    ,
                                  
                                
                                
                                  
                                    
                                      if
                                      ⁢
                                      
                                        
                                      
                                      ⁢
                                      
                                        
                                          i
                                          kj
                                        
                                        ⁡
                                        
                                          (
                                          n
                                          )
                                        
                                      
                                    
                                    ≤
                                    0
                                  
                                
                              
                            
                            ⁢
                            
                              

                            
                            ⁢
                            j
                          
                          =
                          a
                        
                        ,
                        b
                        ,
                        
                          c
                          ;
                          
                            k
                            =
                            N
                          
                        
                        ,
                        
                          M
                          .
                        
                      
                    
                  
                
              
            
          
        
      
    
  




Preferably, the rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent includes:
obtaining an incomer-side input current and an outgoer-side output current which are equivalent according to



  
    
      
        i
        N
      
      ⁡
      
        (
        n
        )
      
    
    =
    
      
        
          
            
            
              
                i
                Na
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nc
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
      ⁢
      
        
      
      ⁢
      and
    
  




  
    
      
        
          i
          M
        
        ⁡
        
          (
          n
          )
        
      
      =
      
        
          
            
            
              
                i
                Ma
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Mb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                
                  M
                  ⁢
                  
                    
                  
                  ⁢
                  c
                
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
    
    ,
  



wherein the sign n indicates a sampling sequence number.

Preferably, the rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent includes:
acquiring the transient differential current according to




   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    diff
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  
                    diff
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  diff
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      N
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      M
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
      
      ,
    
  




and

acquiring the transient restraint current according to





   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    res
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  -
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
        
          
            
              
                
                  i
                  
                    res
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  -
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
        
          
            
              
                
                  i
                  res
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        N
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  -
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        M
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
      
      ,
    
  




wherein n indicates a sampling sequence number, K1 and K2 are current reduction coefficients, and when nCT,M≦nCT,N,





  {
  
    
      
        
          
            
              K
              1
            
            =
            1
          
        
      
      
        
          
            
              K
              2
            
            =
            
              
                n
                
                  CT
                  ,
                  M
                
              
              /
              
                n
                
                  CT
                  .
                  N
                
              
            
          
        
      
    
    ;
  




and when nCT,M<nCT,N,





  {
  
    
      
        
          
            
              K
              1
            
            =
            
              
                n
                
                  CT
                  ,
                  N
                
              
              /
              
                n
                
                  CT
                  .
                  M
                
              
            
          
        
      
      
        
          
            
              K
              2
            
            =
            1
          
        
      
    
    .
  




Preferably, the acquiring a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current includes:
according to




   
  
    {
    
      
        
          
            
              
                
                  I
                  
                    diff
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        
                          diff
                          +
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
                
              
            
          
        
        
          
            
              
                
                  I
                  
                    diff
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        
                          diff
                          -
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
                
              
            
          
        
        
          
            
              
                
                  I
                  diff
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        diff
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
                
              
            
          
        
      
      ⁢
      
        
      
      ⁢
      and
      ⁢
      
        

      
      ⁢
      
        {
        
          
            
              
                
                  
                    
                      I
                      
                        res
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            +
                          
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      
                        res
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            -
                          
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      res
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                          i
                          res
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          ,
        
      
    
  




performing arithmetic mean functional transformation to obtain the differential current idiff and the restraint current Ires, wherein n or k indicates a sampling sequence number, and w is a data window length.

Preferably, the acquiring a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current includes:
according to




   
  
    {
    
      
        
          
            
              
                
                  I
                  
                    diff
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        
                          diff
                          +
                        
                        2
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
        
        
          
            
              
                
                  I
                  
                    diff
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        
                          diff
                          -
                        
                        2
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
        
        
          
            
              
                
                  I
                  diff
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        diff
                        2
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
        
      
      ⁢
      
        
      
      ⁢
      and
      ⁢
      
        

      
      ⁢
      
        {
        
          
            
              
                
                  
                    
                      I
                      
                        res
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              res
                              +
                            
                            2
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      
                        res
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              res
                              -
                            
                            2
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      res
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            res
                            2
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
            
          
          ,
        
      
    
  




performing root-mean-square functional transformation to obtain the differential current idiff and the restraint current, wherein n or k indicates a sampling sequence number, and w is a data window length.

Preferably, the achieving differential protection according to the differential current idiff and the restraint current Ires includes:
achieving differential protection according to the differential current and the restraint current based on line ratio restraint characteristics or variable-slope ratio restraint characteristics.
Preferably, Idiff+ and Ires+ make up a group of differential current and restraint current, Idiff− and Ires− make up a group of differential current and restraint current, and Idiff and Ires make up a group of differential current and restraint current.
A relay protection device, including: a sampling unit, a rectifier unit, a first acquisition unit, a second acquisition unit and a differential protection unit; wherein
the sampling unit is configured to sample secondary side currents of current transformers on two sides of a protected current source converter, to obtain incomer-side three-phase currents iNa, iNb and iNc, and outgoer-side three-phase currents iMa, iMb and iMc;

the rectifier unit is configured to rectify the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iAr and an outgoer-side output current M which are equivalent;

the first acquisition unit is configured to convert the incomer-side input current and the outgoer-side output current according to a current ratio of the current transformers on the two sides, to acquire a transient differential current idiff and a transient restraint current ires;

the second acquisition unit is configured to acquire a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current; and

the differential protection unit is configured to achieve differential protection according to the differential current idiff and the restraint current Ires.

Preferably, the rectifier unit is configured to:
use hardware rectification, and use a hardware three-phase rectifier bridge inside the relay protection device, to obtain the rectified incomer-side input current iN and outgoer-side output current iM which are equivalent.
Preferably, the rectifier unit is configured to:
use digital rectification, to obtain an incomer-side input current and an outgoer-side output current which are equivalent according to




  {
  
    
      
        
          
            
              
                i
                
                  N
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  i
                  
                    Na
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nb
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nc
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
        
      
      
        
          
            
              
                i
                
                  N
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  i
                  
                    Na
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nb
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nc
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
        
      
    
    ⁢
    
      
    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    i
                    
                      M
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      i
                      
                        Ma
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Mb
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        
                          M
                          ⁢
                          
                            
                          
                          ⁢
                          c
                        
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
          
            
              
                
                  
                    i
                    
                      M
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      i
                      
                        Ma
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Mb
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        
                          M
                          ⁢
                          
                            
                          
                          ⁢
                          c
                        
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        ,
        
          
            wherein
            ⁢
            
              

            
            ⁢
            
              
                i
                
                  kj
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
          
          =
          
            {
            
              
                
                  
                    
                      
                        
                          
                            
                              i
                              kj
                            
                            ⁡
                            
                              (
                              n
                              )
                            
                          
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          ≥
                          0
                        
                      
                    
                    
                      
                        
                          0
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          <
                          0
                        
                      
                    
                  
                  ⁢
                  
                    

                  
                  ⁢
                  j
                
                =
                a
              
              ,
              b
              ,
              
                c
                ;
                
                  k
                  =
                  N
                
              
              ,
              
                M
                ;
                
                  

                
                ⁢
                
                  
                    
                      i
                      
                        kj
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    {
                    
                      
                        
                          
                            
                              
                                
                                  0
                                  ,
                                
                              
                              
                                
                                  
                                    if
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    
                                      
                                        i
                                        kj
                                      
                                      ⁡
                                      
                                        (
                                        n
                                        )
                                      
                                    
                                  
                                  >
                                  0
                                
                              
                            
                            
                              
                                
                                  
                                    
                                    
                                      
                                        i
                                        kj
                                      
                                      ⁡
                                      
                                        (
                                        n
                                        )
                                      
                                    
                                    
                                  
                                  ,
                                
                              
                              
                                
                                  
                                    if
                                    ⁢
                                    
                                      
                                    
                                    ⁢
                                    
                                      
                                        i
                                        kj
                                      
                                      ⁡
                                      
                                        (
                                        n
                                        )
                                      
                                    
                                  
                                  ≤
                                  0
                                
                              
                            
                          
                          ⁢
                          
                            

                          
                          ⁢
                          j
                        
                        =
                        a
                      
                      ,
                      b
                      ,
                      
                        c
                        ;
                        
                          k
                          =
                          N
                        
                      
                      ,
                      
                        M
                        .
                      
                    
                  
                
              
            
          
        
      
    
  




Preferably, the rectifier unit is configured to:
obtain an incomer-side input current and an outgoer-side output current which are equivalent according to



  
    
      
        i
        N
      
      ⁡
      
        (
        n
        )
      
    
    =
    
      
        
          
            
            
              
                i
                Na
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nc
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
      ⁢
      
        
      
      ⁢
      and
    
  




  
    
      
        
          i
          M
        
        ⁡
        
          (
          n
          )
        
      
      =
      
        
          
            
            
              
                i
                Ma
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Mb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                
                  M
                  ⁢
                  
                    
                  
                  ⁢
                  c
                
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
    
    ,
  



wherein the sign n indicates a sampling sequence number.

Preferably, the first acquisition unit is configured to:
acquire the transient differential current according to




  {
  
    
      
        
          
            
              
                i
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  K
                  1
                
                ⁢
                
                  
                    i
                    
                      N
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              -
              
                
                  K
                  2
                
                ⁢
                
                  
                    i
                    
                      M
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
      
        
          
            
              
                i
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  K
                  1
                
                ⁢
                
                  
                    i
                    
                      N
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              -
              
                
                  K
                  2
                
                ⁢
                
                  
                    i
                    
                      M
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
      
        
          
            
              
                i
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  K
                  1
                
                ⁢
                
                  
                    i
                    N
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              -
              
                
                  K
                  2
                
                ⁢
                
                  
                    i
                    M
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
    
    ,
  




and

acquire the transient restraint current according to





  {
  
    
      
        
          
            
              
                i
                
                  res
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                +
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
              2
            
          
        
      
      
        
          
            
              
                i
                
                  res
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                +
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
              2
            
          
        
      
      
        
          
            
              
                i
                res
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      N
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                +
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      M
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
              2
            
          
        
      
    
    ,
  




wherein n indicates a sampling sequence number, K1 and K2 are current reduction coefficients, and when nCT,M≧nCT,N





  {
  
    
      
        
          
            
              K
              1
            
            =
            1
          
        
      
      
        
          
            
              K
              2
            
            =
            
              
                n
                
                  CT
                  ,
                  M
                
              
              /
              
                n
                
                  CT
                  ,
                  N
                
              
            
          
        
      
    
    ;
  




and when nCT,M<nCT,N,





  {
  
    
      
        
          
            
              K
              1
            
            =
            
              
                n
                
                  CT
                  ,
                  N
                
              
              /
              
                n
                
                  CT
                  ,
                  M
                
              
            
          
        
      
      
        
          
            
              K
              2
            
            =
            1
          
        
      
    
    .
  




Preferably, the second acquisition unit is configured to:
according to




  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      diff
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
    
    ⁢
    
      

    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          +
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          -
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        res
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




perform arithmetic mean functional transformation to obtain the differential current idiff and the restraint current Ires, wherein n or k indicates a sampling sequence number, and w is a data window length.

Preferably, the second acquisition unit is configured to:
according to




  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      diff
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
    
    ⁢
    
      

    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            +
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            -
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          res
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




perform root-mean-square functional transformation to obtain the differential current idiff and the restraint current, wherein n or k indicates a sampling sequence number, and w is a data window length.

Preferably, the differential protection unit is configured to:
achieve differential protection according to the differential current and the restraint current based on line ratio restraint characteristics or variable-slope ratio restraint characteristics.
Advantageous Effect
Beneficial effects of the embodiments of the present invention are as follows: the problem that the past current converters cannot achieve differential protection as current frequencies on two sides are different is solved, the problem that relay protection of the past current converters cannot distinguish an internal fault from an external fault is solved, and a rapid relay protection method is provided for the current converters, wherein the method has simple secondary circuit connections, facilitates protection setting calculation, and is easy to use.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic view of one current converter differential protection connection according to an embodiment of the present invention;
FIG. 2 is a schematic view of another current converter differential protection connection according to an embodiment of the present invention;
FIG. 3 is an incomer-side three-phase current waveform actually measured of a certain example of current converter differential protection according to an embodiment of the present invention;
FIG. 4 is an outgoer-side three-phase current waveform actually measured of a certain example of current converter differential protection according to an embodiment of the present invention;
FIG. 5 is a differential current and a restraint current calculated in a certain example of current converter differential protection according to an embodiment of the present invention;
FIG. 6 is a schematic view of a two-line ratio restraint characteristic diagram of current converter differential protection according to an embodiment of the present invention; and
FIG. 7 is a schematic view of a variable-slope ratio restraint characteristic diagram of current converter differential protection according to an embodiment of the present invention.



DETAILED DESCRIPTION OF THE INVENTION
To clearly describe the method of the present invention, specific implementation manners of the present invention are stated herein by taking a SFC of a certain 50 MW pumped storage unit as an example.
The BUS in FIG. 1 is a grid incomer-side bus, CB1 is an incomer-side circuit breaker, CB2 is an outgoer-side circuit breaker, T1 is an incomer-side isolation transformer, T2 is an outgoer-side isolation transformer, NB1 and NB2 are incomer-side rectifier bridges (called network bridges), MB is an outgoer-side inverter bridge (called machine bridge), L is a converter DC reactor, G is a generator motor, CT1-CT5 are three-phase current transformers, and a in the figure indicates a relay protection device. FIG. 2 is different from FIG. 1 in that there is no outgoer-side isolation transformer and there is only one group of incomer-side rectifier bridges. FIG. 1 is a schematic view of a common SFC connection, and FIG. 2 is a common LCI connection.
FIG. 3 shows an incomer-side three-phase current waveform actually measured by a converter in a certain variable frequency starting process, iNa is a-phase current, iNb is b-phase current, and iNc is c-phase current.
FIG. 4 shows an incomer-side three-phase current waveform actually measured by a converter in a certain variable frequency starting process, iMa is a-phase current, iMb is a b-phase current, and iMc is c-phase current.
FIG. 5 shows calculation results for data in FIG. 3 and FIG. 4, wherein Idiff and Ires are a differential current and a restraint current obtained through calculation according to Formula 9 in the embodiments of the present invention.
In FIG. 6, the abscissa Ires is the restraint current, the ordinate Idiff is the differential current, a two-line ratio restraint characteristic curve ABC, above the curve is a differential protection action area, below the curve is a differential protection restraint area, Iop,O is a differential current value corresponding to a starting point A, and Ires,0 is a restraint current value corresponding to an inflection point B.
In FIG. 7, the abscissa Ires is the restraint current, the ordinate idiff is the differential current, a variable-slope ratio restraint characteristic curve ABCD, above the curve is a differential protection action area, below the curve is a differential protection restraint area, Iop,0 is a differential current value corresponding to a starting point A, Kbl1 is a starting ratio differential slope (the slope of the curve at A point), Irated is a rated current of the protected device (which has been converted to a CT secondary value), a is a restraint current multiple in the case of a maximum ratio restraint coefficient, Kbl2 is a maximum ratio differential slope (the slope of the curve at C point), and a CD segment is a line segment.
For example, rated power of a pumped storage generator motor is 50 MW, a rated voltage is 10.5 kV, and a rated power factor is 0.85. A configured SFC is as shown in FIG. 1, an incomer-side bus voltage is 10.5 kV, an incomer transformer T1 is a three-loop transformer with capacity of 4 MVA, a voltage ratio is 10.5 kV/0.7 kV/0.7 kV, and a transformer connection manner is Dd0y1; two rectifier bridges NB1 and NB2 are cascaded on the SFC incomer side, and current ratios of AC-side three-phase current transformers CT2 and CT3 of the rectifier bridges are both 2000 A/1 A; one inverter bridge MB is on the SFC outgoer side, and a current ratio of an AC-side three-phase current transformer CT4 of the inverter bridge is 2000 A/1 A; after output of the inverter bridge, a two-loop transformer T2 with capacity of 4 MVA is connected, a voltage ratio is 1.4 kV/10.5 kV, a transformer connection manner is Yd1, and after output of the transformer, the generator motor G is connected.
Herein, currents on two sides of the SFC, by taking an incomer-side current measured by CT2 and an output-side current measured by CT4 as an example, can achieve differential protection according to the method of the embodiments of the present invention. Similarly, an incomer-side current measured by CT3 and an output-side current measured by CT4 can also achieve differential protection.
Specific steps of the embodiments of the present invention are as follows:
(1) Current Sampling
A relay protection device samples a secondary side current of a current transformer CT2, to obtain a incomer-side three-phase current (CT current secondary value) data sequence iNa(n), iNb(n) and iNc(n); the relay protection device samples a secondary side current of a current transformer CT4, to obtain an outgoer-side three-phase current (CT current secondary value) data sequence iMa (n), iMb(n) and iMc(n). The sign n indicates a sampling sequence number, the subscripts Na, Nb and Nc indicate incomer-side (grid-side) a phase, b phase and c phase, the subscripts Ma, Mb and Mc indicate outgoer-side a phase, b phase and c phase. W is the length of a sampling data window, and in the domestic relay protection device, W is generally set as 24.
FIG. 3 shows an incomer-side three-phase current waveform actually measured in a variable frequency starting process of the pumped-storage unit SFC. FIG. 4 shows an outgoer-side three-phase current waveform actually measured in a variable frequency starting process of the pumped-storage unit SFC. In the variable frequency starting process, the frequency of the incomer-side three-phase current is kept at a power frequency 50 Hz, while the frequency of the outgoer-side three-phase current ranges greatly from low to high and gradually rises to 50 Hz. In the variable frequency starting process, the former stage is a phase commutation process, in which the current is discontinuous, and the latter stage is a load commutation process, in which the current is continuous.
(2) Rectify
It should be noted that there are two rectification methods:
(I) Hardware rectification, that is, a hardware three-phase rectifier bridge is used inside the relay protection device, to obtain the rectified incomer-side input current iN and outgoer-side output current iM which are equivalent; and
(II) Software rectification, also called digital rectification, that is, first values of the incomer-side three-phase current and the outgoer-side three-phase current are obtained through sampling, and then through a calculation method, an incomer-side input current iN and an outgoer-side output current iM which are equivalent are obtained.
In the embodiments of the present invention, digital rectification is respectively performed on the incomer-side (grid-side) three-phase current and the outgoer-side three-phase current. Through the rectification method, a data sequence is obtained according to the following Formula 1 and Formula 2:




  
    
      
        {
        
          
            
              
                
                  
                    i
                    
                      N
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      i
                      
                        Na
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Nb
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Nc
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
          
            
              
                
                  
                    i
                    
                      N
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      i
                      
                        Na
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Nb
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Nc
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        1
      
    
  
  
    
      
        {
        
          
            
              
                
                  
                    
                      
                        i
                        
                          M
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        
                          i
                          
                            Ma
                            +
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                      +
                      
                        
                          i
                          
                            Mb
                            +
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                      +
                      
                        
                          i
                          
                            
                              M
                              ⁢
                              
                                
                              
                              ⁢
                              c
                            
                            +
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        i
                        
                          M
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        
                          i
                          
                            Ma
                            -
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                      +
                      
                        
                          i
                          
                            Mb
                            -
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                      +
                      
                        
                          i
                          
                            
                              M
                              ⁢
                              
                                
                              
                              ⁢
                              c
                            
                            -
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                  
                
              
            
            ⁢
            
              

            
            ⁢
            wherein
          
          ,
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        2
      
    
  
  
    
      
        
          
            i
            
              kj
              +
            
          
          ⁡
          
            (
            n
            )
          
        
        =
        
          {
          
            
              
                
                  
                    
                      
                        
                          
                            i
                            kj
                          
                          ⁡
                          
                            (
                            n
                            )
                          
                        
                        ,
                      
                    
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              i
                              kj
                            
                            ⁡
                            
                              (
                              n
                              )
                            
                          
                        
                        ≥
                        0
                      
                    
                  
                  
                    
                      
                        0
                        ,
                      
                    
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              i
                              kj
                            
                            ⁡
                            
                              (
                              n
                              )
                            
                          
                        
                        <
                        0
                      
                    
                  
                
                ⁢
                
                  

                
                ⁢
                j
              
              =
              a
            
            ,
            b
            ,
            
              c
              ;
              
                

              
              ⁢
              
                k
                =
                N
              
            
            ,
            M
          
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        3
      
    
  
  
    
      
        
          
            i
            
              kj
              -
            
          
          ⁡
          
            (
            n
            )
          
        
        =
        
          {
          
            
              
                
                  
                    
                      
                        0
                        ,
                      
                    
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              i
                              kj
                            
                            ⁡
                            
                              (
                              n
                              )
                            
                          
                        
                        >
                        0
                      
                    
                  
                  
                    
                      
                        
                          
                          
                            
                              i
                              kj
                            
                            ⁡
                            
                              (
                              n
                              )
                            
                          
                          
                        
                        ,
                      
                    
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              i
                              kj
                            
                            ⁡
                            
                              (
                              n
                              )
                            
                          
                        
                        ≤
                        0
                      
                    
                  
                
                ⁢
                
                  

                
                ⁢
                j
              
              =
              a
            
            ,
            b
            ,
            
              c
              ;
              
                

              
              ⁢
              
                k
                =
                N
              
            
            ,
            M
          
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        4
      
    
  




or the digital rectification is performed according to Formula 1′ and Formula 2′, to obtain:





  
    
      
        
          
            i
            N
          
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              
              
                
                  i
                  Na
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
            +
            
              
              
                
                  i
                  Nb
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
            +
            
              
              
                
                  i
                  Nc
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
          
          2
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        
          1
          ′
        
      
    
  
  
    
      
        
          
            i
            M
          
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              
              
                
                  i
                  Ma
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
            +
            
              
              
                
                  i
                  Mb
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
            +
            
              
              
                
                  i
                  
                    M
                    ⁢
                    
                      
                    
                    ⁢
                    c
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
          
          2
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        
          2
          ′
        
      
    
  




After the digital rectification, two side currents are converted to fluctuant DCs. When there is no short circuit fault inside the SFC, a DC flowing into the SFC is approximately equal to that flowing out of the SFC, and when there is a short circuit fault inside the SFC, inflow and outflow are not equal, and an evident differential current will be generated.
It should be noted that in the embodiments of the present invention, + indicates a direction in which a current flows out from an upper bridge arm of a rectifier bridge, and − indicates a direction in which the current flows back from a lower bridge arm of the rectifier bridge.
(3) Calculate a transient differential current and a transient restraint current
A difference of the equivalent two side currents is calculated, to obtain a transient differential current through calculation according to Formula 5; the equivalent two side currents are averaged, to obtain a transient restraint current through calculation according to Formula 6.




  
    
      
        {
        
          
            
              
                
                  
                    i
                    
                      diff
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  -
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    i
                    
                      diff
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  -
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    i
                    diff
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        N
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  -
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        M
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
          
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        5
      
    
  
  
    
      
        {
        
          
            
              
                
                  
                    i
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      
                        K
                        1
                      
                      ⁢
                      
                        
                          i
                          
                            N
                            +
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                    +
                    
                      
                        K
                        2
                      
                      ⁢
                      
                        
                          i
                          
                            M
                            +
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                  
                  2
                
              
            
          
          
            
              
                
                  
                    i
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      
                        K
                        1
                      
                      ⁢
                      
                        
                          i
                          
                            N
                            -
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                    +
                    
                      
                        K
                        2
                      
                      ⁢
                      
                        
                          i
                          
                            M
                            -
                          
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                  
                  2
                
              
            
          
          
            
              
                
                  
                    i
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      
                        K
                        1
                      
                      ⁢
                      
                        
                          i
                          N
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                    +
                    
                      
                        K
                        2
                      
                      ⁢
                      
                        
                          i
                          M
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                    
                  
                  2
                
              
            
          
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        6
      
    
  




K1 and K2 in Formula 5 and Formula 6 are current reduction coefficients, and are related to incomer-side and outgoer-side CT current ratios. Generally, reduction is made to the side where the CT ratio is less. The incomer-side CT current ratio is nCT,N=2000 A/1 A, and the outgoer-side CT current ratio is nCT,M=2000 A/1 A. Referring to Formula 7 above, the current reduction coefficient is: K1=K2=1.

(4) Calculate a differential current and a restraint current
There are two methods for calculating a differential current and a restraint current.
Method 1: arithmetic method. The differential current and the restraint current are:




  
    
      
        {
        
          
            
              
                
                  
                    
                      I
                      
                        diff
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              diff
                              +
                            
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      
                        diff
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              diff
                              -
                            
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      diff
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            diff
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                    
                  
                
              
            
          
          ,
          
            

          
          ⁢
          
            {
            
              
                
                  
                    
                      
                        I
                        
                          res
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              res
                              +
                            
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        I
                        
                          res
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              res
                              -
                            
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        I
                        res
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            res
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
            
          
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        9
      
    
  




Method 2: root-mean-square algorithm. The differential current and the restraint current are:




  
    
      
        {
        
          
            
              
                
                  
                    
                      I
                      
                        diff
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              diff
                              +
                            
                            2
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      
                        diff
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            
                              diff
                              -
                            
                            2
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      I
                      diff
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        1
                        W
                      
                      ⁢
                      
                        
                          ∑
                          
                            k
                            =
                            
                              n
                              -
                              
                                (
                                
                                  W
                                  -
                                  1
                                
                                )
                              
                            
                          
                          n
                        
                        ⁢
                        
                          
                            i
                            diff
                            2
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                    
                  
                
              
            
          
          ,
          
            

          
          ⁢
          
            {
            
              
                
                  
                    
                      
                        I
                        
                          res
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        
                          1
                          W
                        
                        ⁢
                        
                          
                            ∑
                            
                              k
                              =
                              
                                n
                                -
                                
                                  (
                                  
                                    W
                                    -
                                    1
                                  
                                  )
                                
                              
                            
                            n
                          
                          ⁢
                          
                            
                              i
                              
                                res
                                +
                              
                              2
                            
                            ⁡
                            
                              (
                              k
                              )
                            
                          
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        I
                        
                          res
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        
                          1
                          W
                        
                        ⁢
                        
                          
                            ∑
                            
                              k
                              =
                              
                                n
                                -
                                
                                  (
                                  
                                    W
                                    -
                                    1
                                  
                                  )
                                
                              
                            
                            n
                          
                          ⁢
                          
                            
                              i
                              
                                res
                                -
                              
                              2
                            
                            ⁡
                            
                              (
                              k
                              )
                            
                          
                        
                      
                    
                  
                
              
              
                
                  
                    
                      
                        I
                        res
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    =
                    
                      
                        
                          1
                          W
                        
                        ⁢
                        
                          
                            ∑
                            
                              k
                              =
                              
                                n
                                -
                                
                                  (
                                  
                                    W
                                    -
                                    1
                                  
                                  )
                                
                              
                            
                            n
                          
                          ⁢
                          
                            
                              i
                              res
                              2
                            
                            ⁡
                            
                              (
                              k
                              )
                            
                          
                        
                      
                    
                  
                
              
            
          
        
      
    
    
      
        Formula
        ⁢
        
          
        
        ⁢
        10
      
    
  




In Formula 9 and Formula 10, W is a data window length, which can be set as 0.5-1.0 times the number of sampling points within one power frequency cycle. When W is the number of sampling points within one power frequency cycle, it is called a full data window; when W is less than the number of sampling points within one power frequency cycle, it is called a short data window. When the short data window is used, an action speed of the differential protection can be accelerated. Generally, the number of sampling points within one power frequency cycle of the relay protection device is 24, and at this point, the value of W can be within a range of 12-24.
Whether Formula 9 or Formula 10 is used for calculation, Idiff+ and Ires+ make up a group of differential current and restraint current, and differential protection can be achieved according to conventional line ratio restraint characteristics (e.g., as shown in FIG. 6) or variable-slope ratio restraint characteristics (e.g., as shown in FIG. 7). Similarly, Idiff− and Ires− make up a group of differential current and restraint current, and Idiff and Ires also can make up a group of differential current and restraint current.
FIG. 5 shows a result of calculation according to Formula 9 of the embodiments of the present invention. It can be seen that when the pumped storage unit SFC has no fault, the differential current calculated in the embodiments of the present invention is very small, the restraint current is relatively great, and the differential protection can make no action reliably.
For a differential fixed value setting method, reference can be made to DL/T684-2012 LARGE GENERATOR TRANSFORMER RELAY PROTECTION SETTING CALCULATION GUIDE RULE or POWER PLANT RELAY PROTECTION SETTING CALCULATION AND OPERATION TECHNOLOGY (compiled by Xu Zhengya, China WaterPower Press, 2009).
The embodiments of the present invention further correspondingly put forward a relay protection device, wherein the device includes: a sampling unit, a rectifier unit, a first acquisition unit, a second acquisition unit and a differential protection unit; wherein
the sampling unit is configured to sample secondary side currents of current transformers on two sides of a protected current source converter, to obtain incomer-side three-phase currents iNa, iNb and iNc, and outgoer-side three-phase currents iMa, iMb and iMc;

the rectifier unit is configured to rectify the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent;

the first acquisition unit is configured to convert the incomer-side input current and the outgoer-side output current according to a current ratio of the current transformers on the two sides, to acquire a transient differential current idiff and a transient restraint current ires;

the second acquisition unit is configured to acquire a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current; and

the differential protection unit is configured to achieve differential protection according to the differential current idiff and the restraint current Ires.

Optionally, the rectifier unit is configured to:
obtain an incomer-side input current and an outgoer-side output current which are equivalent according to




   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    N
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    i
                    
                      Na
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nb
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nc
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  
                    N
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    i
                    
                      Na
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nb
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nc
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
      ⁢
      
        
      
      ⁢
      and
      ⁢
      
        

      
      ⁢
      
        {
        
          
            
              
                
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        i
                        
                          Ma
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          Mb
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          
                            M
                            ⁢
                            
                              
                            
                            ⁢
                            c
                          
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        i
                        
                          Ma
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          Mb
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          
                            M
                            ⁢
                            
                              
                            
                            ⁢
                            c
                          
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
          
          ,
        
      
    
  




wherein





  
    
      i
      
        kj
        +
      
    
    ⁡
    
      (
      n
      )
    
  
  =
  
    {
    
      
        
          
            
              
                
                  
                    
                      i
                      kj
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        kj
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  ≥
                  0
                
              
            
            
              
                
                  0
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        kj
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  <
                  0
                
              
            
          
          ⁢
          
            

          
          ⁢
          j
        
        =
        a
      
      ,
      b
      ,
      
        c
        ;
        
          k
          =
          N
        
      
      ,
      
        M
        ;
        
          

        
        ⁢
        
          
            
              i
              
                kj
                -
              
            
            ⁡
            
              (
              n
              )
            
          
          =
          
            {
            
              
                
                  
                    
                      
                        
                          0
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          >
                          0
                        
                      
                    
                    
                      
                        
                          
                            
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                            
                          
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          ≤
                          0
                        
                      
                    
                  
                  ⁢
                  
                    

                  
                  ⁢
                  j
                
                =
                a
              
              ,
              b
              ,
              
                c
                ;
                
                  k
                  =
                  N
                
              
              ,
              
                M
                .
              
            
          
        
      
    
  




Optionally, the rectifier unit is configured to:
obtain an incomer-side input current and an outgoer-side output current which are equivalent according to



  
    
      
        i
        N
      
      ⁡
      
        (
        n
        )
      
    
    =
    
      
        
          
            
            
              
                i
                Na
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nc
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
      ⁢
      
        
      
      ⁢
      and
    
  




  
    
      
        
          i
          M
        
        ⁡
        
          (
          n
          )
        
      
      =
      
        
          
            
            
              
                i
                Ma
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Mb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Mc
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
    
    ,
  



wherein the sign n indicates a sampling sequence number.

Optionally, the first acquisition unit is configured to:
acquire the transient differential current according to




   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    diff
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  
                    diff
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  diff
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      N
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      M
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
      
      ,
    
  




and

acquire the transient restraint current according to





  {
  
    
      
        
          
            
              
                i
                
                  res
                  |
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                +
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
              2
            
          
        
      
      
        
          
            
              
                i
                
                  res
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                +
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
              2
            
          
        
      
      
        
          
            
              
                i
                res
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      N
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                +
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      M
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
              2
            
          
        
      
    
    ,
  




wherein n indicates a sampling sequence number, K1 and K2 are current reduction coefficients, and when nCT,M≧nCT,N,





  {
  
    
      
        
          
            
              K
              1
            
            =
            1
          
        
      
      
        
          
            
              K
              2
            
            =
            
              
                n
                
                  CT
                  ,
                  M
                
              
              /
              
                n
                
                  CT
                  ,
                  N
                
              
            
          
        
      
    
    ;
  




and when nCT,M<nCT,N,





  {
  
    
      
        
          
            
              K
              1
            
            =
            
              
                n
                
                  CT
                  ,
                  N
                
              
              /
              
                n
                
                  CT
                  ,
                  M
                
              
            
          
        
      
      
        
          
            
              K
              2
            
            =
            1
          
        
      
    
    .
  




Optionally, the second acquisition unit is configured to:
according to




  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                      i
                      diff
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
    
    ⁢
    
      

    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          +
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          -
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                        i
                        res
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




perform arithmetic mean functional transformation to obtain the differential current idiff and the restraint current Ires, wherein n or k indicates a sampling sequence number, and w is a data window length.

Optionally, the second acquisition unit is configured to:
according to




  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                      i
                      diff
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
    
    ⁢
    
      

    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            +
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            -
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                          i
                          res
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




perform root-mean-square functional transformation to obtain the differential current idiff and the restraint current, wherein n or k indicates a sampling sequence number, and w is a data window length.

Optionally, the differential protection unit is configured to:
achieve differential protection according to the differential current and the restraint current based on line ratio restraint characteristics or variable-slope ratio restraint characteristics.
The above embodiments merely describe the technical thought of the present invention, but cannot be used to limit the protection scope of the present invention; any equivalent replacement or variation made on the basis of the technical solution according to the technical thought put forward in the present invention does not go beyond the protection scope of the present invention.

## Claims

1. A current source converter differential protection method, wherein the method comprises:
sampling, by a relay protection device, secondary side currents of current transformers on two sides of a protected current source converter, to obtain incomer-side three-phase currents iNa, iNb and iNc, and outgoer-side three-phase currents iMa, iMb and iMc;
rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent;
converting the incomer-side input current and the outgoer-side output current according to a current ratio of the current transformers on the two sides, to acquire a transient differential current idiff and a transient restraint current ires;
acquiring a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current; and
achieving differential protection according to the differential current idiff and the restraint current Ires.

2. The current source converter differential protection method according to claim 1, wherein the rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent comprises:
using hardware rectification, and using a hardware three-phase rectifier bridge inside the relay protection device, to obtain the rectified incomer-side input current iN and outgoer-side output current iM which are equivalent.

3. The current source converter differential protection method according to claim 1, wherein the acquiring a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current comprises:
acquiring the transient differential current according to





   
  
    {
    
      
        
          
            
              
                i
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  K
                  1
                
                ⁢
                
                  
                    i
                    
                      N
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              -
              
                
                  K
                  2
                
                ⁢
                
                  
                    i
                    
                      M
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
      
        
          
            
              
                i
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  K
                  1
                
                ⁢
                
                  
                    i
                    
                      N
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              -
              
                
                  K
                  2
                
                ⁢
                
                  
                    i
                    
                      M
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
      
        
          
            
              
                i
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  K
                  1
                
                ⁢
                
                  
                    i
                    N
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              -
              
                
                  K
                  2
                
                ⁢
                
                  
                    i
                    M
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
    
  




and
acquiring the transient restraint current according to





   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    res
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  +
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
        
          
            
              
                
                  i
                  
                    res
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  +
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
        
          
            
              
                
                  i
                  res
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        N
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  +
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        M
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
      
      ,
    
  



wherein n indicates a sampling sequence number, K1 and K2 are current reduction coefficients, and

when nCT,M≧nCT,N,




   
  
    {
    
      
        
          
            
              
                K
                1
              
              =
              1
            
          
        
        
          
            
              
                K
                2
              
              =
              
                
                  n
                  
                    CT
                    ,
                    M
                  
                
                /
                
                  n
                  
                    CT
                    ,
                    N
                  
                
              
            
          
        
      
      ;
    
  




and
when nCT,M<nCT,N,




   
  
    {
    
      
        
          
            
              K
              1
            
            =
            
              
                n
                
                  CT
                  ,
                  N
                
              
              /
              
                n
                
                  CT
                  ,
                  M
                
              
            
          
        
      
      
        
          
            
              K
              2
            
            =
            1
          
        
      
    
  



wherein nCT,N is an incomer-side current transformer current ratio and nCT,M is an outgoer-side current transformer current ratio.

4. The current source converter differential protection method according to claim 1, wherein the acquiring a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current comprises:
according to





  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      diff
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
    
    ⁢
    
      
    
    ⁢
    and
    ⁢
    
      
    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          +
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          -
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        res
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




performing arithmetic mean functional transformation to obtain the differential current idiff and the restraint current Ires, wherein n or k indicates a sampling sequence number, and w is a data window length.

5. The current source converter differential protection method according to claim 4, wherein Idiff+ and Ires+ make up a group of differential current and restraint current, Idiff− and Ires− make up a group of differential current and restraint current, and Idiff and Ires make up a group of differential current and restraint current.

6. The current source converter differential protection method according to claim 1, wherein the acquiring a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current comprises:
according to





  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      diff
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
    
    ⁢
    
      
    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            +
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            -
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          res
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




performing root-mean-square functional transformation to obtain the differential current idiff and the restraint current, wherein n or k indicates a sampling sequence number, and w is a data window length.

7. The current source converter differential protection method according to claim 1, wherein the achieving differential protection according to the differential current idiff and the restraint current Ires comprises:
achieving differential protection according to the differential current and the restraint current based on line ratio restraint characteristics or variable-slope ratio restraint characteristics.

8. The current source converter differential protection method according to claim 1, wherein the rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent comprises:
using digital rectification, to obtain an incomer-side input current and an outgoer-side output current which are equivalent according to





   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    N
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    i
                    
                      Na
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nb
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nc
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  
                    N
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    i
                    
                      Na
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nb
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  
                    i
                    
                      Nc
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
            
          
        
      
      ⁢
      
        
      
      ⁢
      and
      ⁢
      
        

      
      ⁢
      
        {
        
          
            
              
                
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        i
                        
                          Ma
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          Mb
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          
                            M
                            ⁢
                            
                              
                            
                            ⁢
                            c
                          
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
            
              
                
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  =
                  
                    
                      
                        i
                        
                          Ma
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          Mb
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                    +
                    
                      
                        i
                        
                          
                            M
                            ⁢
                            
                              
                            
                            ⁢
                            c
                          
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
          
          ,
        
      
    
  




wherein




  
    
      i
      
        kj
        +
      
    
    ⁡
    
      (
      n
      )
    
  
  =
  
    {
    
      
        
          
            
              
                
                  
                    
                      i
                      kj
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        kj
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  ≥
                  0
                
              
            
            
              
                
                  0
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        kj
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  <
                  0
                
              
            
          
          ⁢
          
            

          
          ⁢
          j
        
        =
        a
      
      ,
      b
      ,
      
        c
        ;
        
          k
          =
          N
        
      
      ,
      
        M
        ;
        
          

        
        ⁢
        
          
            
              i
              
                kj
                -
              
            
            ⁡
            
              (
              n
              )
            
          
          =
          
            {
            
              
                
                  
                    
                      
                        
                          0
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          >
                          0
                        
                      
                    
                    
                      
                        
                          
                            
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                            
                          
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          ≤
                          0
                        
                      
                    
                  
                  ⁢
                  
                    

                  
                  ⁢
                  j
                
                =
                a
              
              ,
              b
              ,
              
                c
                ;
                
                  k
                  =
                  N
                
              
              ,
              M
              ,
            
          
        
      
    
  




and
the sign n indicates a sampling sequence number.

9. The current source converter differential protection method according to claim 1, wherein the rectifying the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent comprises:
obtaining an incomer-side input current and an outgoer-side output current which are equivalent according to




  
    
      
        i
        N
      
      ⁡
      
        (
        n
        )
      
    
    =
    
      
        
          
            
            
              
                i
                Na
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nc
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
      ⁢
      
        
      
      ⁢
      and
    
  




  
    
      
        
          i
          M
        
        ⁡
        
          (
          n
          )
        
      
      =
      
        
          
            
            
              
                i
                Ma
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Mb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Mc
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
    
    ,
  


wherein the sign n indicates a sampling sequence number.

10. A relay protection device, wherein the device comprises: a sampling unit, a rectifier unit, a first acquisition unit, a second acquisition unit and a differential protection unit; wherein the sampling unit is configured to sample secondary side currents of current transformers on two sides of a protected current source converter, to obtain incomer-side three-phase currents iNa, iNb and iNc, and outgoer-side three-phase currents iMa, iMb and iMc;
the rectifier unit is configured to rectify the incomer-side three-phase currents and the outgoer-side three-phase currents, to obtain an incomer-side input current iN and an outgoer-side output current iM which are equivalent;
the first acquisition unit is configured to convert the incomer-side input current and the outgoer-side output current according to a current ratio of the current transformers on the two sides, to acquire a transient differential current idiff and a transient restraint current ires;
the second acquisition unit is configured to acquire a differential current idiff and a restraint current Ires according to the transient differential current and the transient restraint current; and
the differential protection unit is configured to achieve differential protection according to the differential current idiff and the restraint current Ires.

11. The relay protection device according to claim 10, wherein the rectifier unit is configured to:
use hardware rectification, and use a hardware three-phase rectifier bridge inside the relay protection device, to obtain the rectified incomer-side input current iN and outgoer-side output current iM which are equivalent.

12. The relay protection device according to claim 10, wherein the rectifier unit is configured to:
obtain an incomer-side input current and an outgoer-side output current which are equivalent according to




  
    
      
        i
        N
      
      ⁡
      
        (
        n
        )
      
    
    =
    
      
        
          
            
            
              
                i
                Na
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nb
              
              ⁡
              
                (
                n
                )
              
            
            
          
          +
          
            
            
              
                i
                Nc
              
              ⁡
              
                (
                n
                )
              
            
            
          
        
        2
      
      ⁢
      
        
      
      ⁢
      and
    
  




  
    
      
    
    ⁢
    
      
        
          
            i
            M
          
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              
              
                
                  i
                  Ma
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
            +
            
              
              
                
                  i
                  Mb
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
            +
            
              
              
                
                  i
                  Mc
                
                ⁡
                
                  (
                  n
                  )
                
              
              
            
          
          2
        
      
      ,
    
  


wherein the sign n indicates a sampling sequence number.

13. The relay protection device according to claim 10, wherein the first acquisition unit is configured to:
acquire the transient differential current according to





   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    diff
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  
                    diff
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      
                        N
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      
                        M
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        
          
            
              
                
                  i
                  diff
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    K
                    1
                  
                  ⁢
                  
                    
                      i
                      N
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                -
                
                  
                    K
                    2
                  
                  ⁢
                  
                    
                      i
                      M
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
      
      ,
    
  




and
acquire the transient restraint current according to





   
  
    {
    
      
        
          
            
              
                
                  i
                  
                    res
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  +
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          +
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
        
          
            
              
                
                  i
                  
                    res
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        
                          N
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  +
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        
                          M
                          -
                        
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
        
          
            
              
                
                  i
                  res
                
                ⁡
                
                  (
                  n
                  )
                
              
              =
              
                
                  
                    
                      K
                      1
                    
                    ⁢
                    
                      
                        i
                        N
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  +
                  
                    
                      K
                      2
                    
                    ⁢
                    
                      
                        i
                        M
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
                2
              
            
          
        
      
      ,
    
  



wherein n indicates a sampling sequence number, K1 and K2 are current reduction coefficients, and
when NCT,M≧nCT,N,





   
  
    {
    
      
        
          
            
              
                K
                1
              
              =
              1
            
          
        
        
          
            
              
                K
                2
              
              =
              
                
                  n
                  
                    CT
                    ,
                    M
                  
                
                /
                
                  n
                  
                    CT
                    ,
                    N
                  
                
              
            
          
        
      
      ;
    
  




and
when nCT,M<nCT,N,





   
  
    {
    
      
        
          
            
              K
              1
            
            =
            
              
                n
                
                  CT
                  ,
                  N
                
              
              /
              
                n
                
                  CT
                  ,
                  M
                
              
            
          
        
      
      
        
          
            
              K
              2
            
            =
            1
          
        
      
    
  



wherein nCT,N is an incomer-side current transformer current ratio and nCT,M is an outgoer-side current transformer current ratio.

14. The relay protection device according to claim 10, wherein the second acquisition unit is configured to:
according to





  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      diff
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
              
            
          
        
      
    
    ⁢
    
      
    
    ⁢
    and
    ⁢
    
      
    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          +
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        
                          res
                          -
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    1
                    W
                  
                  ⁢
                  
                    
                      ∑
                      
                        k
                        =
                        
                          n
                          -
                          
                            (
                            
                              W
                              -
                              1
                            
                            )
                          
                        
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        res
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




perform arithmetic mean functional transformation to obtain the differential current idiff and the restraint current Ires, wherein n or k indicates a sampling sequence number, and w is a data window length.

15. The relay protection device according to claim 10, wherein the second acquisition unit is configured to:
according to





  {
  
    
      
        
          
            
              
                I
                
                  diff
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        +
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                
                  diff
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      
                        diff
                        -
                      
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
      
        
          
            
              
                I
                diff
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  1
                  W
                
                ⁢
                
                  
                    ∑
                    
                      k
                      =
                      
                        n
                        -
                        
                          (
                          
                            W
                            -
                            1
                          
                          )
                        
                      
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      i
                      diff
                      2
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
              
            
          
        
      
    
    ⁢
    
      
    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    I
                    
                      res
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            +
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    
                      res
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          
                            res
                            -
                          
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
          
            
              
                
                  
                    I
                    res
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      1
                      W
                    
                    ⁢
                    
                      
                        ∑
                        
                          k
                          =
                          
                            n
                            -
                            
                              (
                              
                                W
                                -
                                1
                              
                              )
                            
                          
                        
                        n
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          i
                          res
                          2
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                  
                
              
            
          
        
        ,
      
    
  




perform root-mean-square functional transformation to obtain the differential current idiff and the restraint current, wherein n or k indicates a sampling sequence number, and w is a data window length.

16. The relay protection device according to claim 10, wherein the differential protection unit is configured to:
achieve differential protection according to the differential current and the restraint current based on line ratio restraint characteristics or variable-slope ratio restraint characteristics.

17. The relay protection device according to claim 10, wherein the rectifier unit is configured to:
use digital rectification, to obtain an incomer-side input current and an outgoer-side output current which are equivalent according to





  {
  
    
      
        
          
            
              
                i
                
                  N
                  +
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  i
                  
                    Na
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nb
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nc
                    +
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
        
      
      
        
          
            
              
                i
                
                  N
                  -
                
              
              ⁡
              
                (
                n
                )
              
            
            =
            
              
                
                  i
                  
                    Na
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nb
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                
                  i
                  
                    Nc
                    -
                  
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
        
      
    
    ⁢
    
      
    
    ⁢
    and
    ⁢
    
      

    
    ⁢
    
      {
      
        
          
            
              
                
                  
                    i
                    
                      M
                      +
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      i
                      
                        Ma
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Mb
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Mc
                        +
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
          
            
              
                
                  
                    i
                    
                      M
                      -
                    
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                =
                
                  
                    
                      i
                      
                        Ma
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Mb
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    
                      i
                      
                        Mc
                        -
                      
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
            
          
        
        ,
      
    
  




wherein




  
    
      i
      
        kj
        +
      
    
    ⁡
    
      (
      n
      )
    
  
  =
  
    {
    
      
        
          
            
              
                
                  
                    
                      i
                      kj
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        kj
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  ≥
                  0
                
              
            
            
              
                
                  0
                  ,
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        i
                        kj
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  <
                  0
                
              
            
          
          ⁢
          
            
          
          ⁢
          j
        
        =
        a
      
      ,
      b
      ,
      
        c
        ;
        
          
        
        ⁢
        
          k
          =
          N
        
      
      ,
      
        M
        ;
        
          

        
        ⁢
        
          
            
              i
              
                kj
                -
              
            
            ⁡
            
              (
              n
              )
            
          
          =
          
            {
            
              
                
                  
                    
                      
                        
                          0
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          >
                          0
                        
                      
                    
                    
                      
                        
                          
                            
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                            
                          
                          ,
                        
                      
                      
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                i
                                kj
                              
                              ⁡
                              
                                (
                                n
                                )
                              
                            
                          
                          ≤
                          0
                        
                      
                    
                  
                  ⁢
                  
                    
                  
                  ⁢
                  j
                
                =
                a
              
              ,
              b
              ,
              
                c
                ;
                
                  
                
                ⁢
                
                  k
                  =
                  N
                
              
              ,
              
                M
                .
              
            
          
        
      
    
  




and
the sign n indicates a sampling sequence number.