# Ensaio 2



# Escopo

Escopo do Segundo Ensaio Técnico do BR-UTM, ainda sem data definida. A previsão é executar o ensaio em ambiente de produção, na SBR-497.

#### Responsabilidades Provedores

- <span style="text-decoration: underline;">Utilizar todos os estados das OIRs</span>
    - Ao criar uma OIR, ela está no estado "Accepted". Quando a operação iniciar, o provedor deve mudar o status para "Activated". Ao fim da operação, o provedor deve encerrar a OIR, deletando ela do DSS.
    - Em casos de Não conformidade e contingência, o provedor deve mudar o status da OIR. Os outros provedores subscritos na área devem agir de acordo com a nova situação.
    - [![image.png](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/scaled-1680-/qRoimage.png)](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/qRoimage.png)
- <span style="text-decoration: underline;">Utilizar NTP do ICEA</span>
    - O ICEA disponibilizará um servidor NTP para sincronizar os horários entre todos os provedores.
    - [![image.png](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/scaled-1680-/dqbimage.png)](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/dqbimage.png)
- <span style="text-decoration: underline;">Utilizar altitude WSG84</span>
    - Padronizar o uso de altitude utilizando o padrão WSG84.
- <span style="text-decoration: underline;">Utilizar autenticação</span>
    - Para comunicação com o DSS e entre provedores, toda requisição deve possuir um token emitido pelo servidor de autenticação do ICEA
- <span style="text-decoration: underline;">Utilizar campo de prioridade na OIR</span>
    - Os provedores devem considerar o campo "priority" na criação de OIR.
    - Uma OIR com prioridade maior pode "sobrescrever" uma com prioridade menor. Ou seja, as OIRs com maior prioridade podem ser criadas onde já existia uma outra OIR com prioridade menor.
    - A tabela descrevendo qual a prioridade de cada tipo de operação ainda será definida.
- <span style="text-decoration: underline;">Permitir conflito entre voos VLOS/EVLOS</span>
    - OIRs para voos visuais podem ter conflito com outras OIRs de voos visuais.
    - OIRs para voos não visuais não podem ter conflito com nenhuma outra OIR, de nenhum tipo.

#### Responsabilidades ICEA/DECEA

- Adapter do Sarpas para DSS
- Adapter do DASA para DSS
- Criar servidor NTP
- Centralizador de logs
- Servidor auth
- Ferramenta de onboarding provedores
- Cadastro de provedores

# Modelagem de Processos - Autorização de Voo por Provedores

O processo habitual de autorização de voo por provedores deve seguir o seguinte fluxo:

[![0 - Fluxo.png](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/scaled-1680-/0-fluxo-1.png)](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/0-fluxo-1.png "Teste")

Fluxo de Autorização e Ativação de Voo

---

#### Autorização de Voo

O processo de Autorização de Voo (P1) é a primeira etapa do desconflito estratégico de uma operação com drone. O processo começa com um pedido do operador. Esse pedido deve seguir um padrão (ainda não definido), e esse padrão deve ser validado pelo provedor USS. Após, o provedor deve realizar a checagem de desconflito estratégico, e por fim cadastrar o novo voo no ECO-UTM. Caso alguma checagem falhe, o provedor deve notificar o operador dessa falha. É permitido, porém não obrigatório, que o USS sugira alternativas para o operador em casos de rejeição.

[![1 - Autorização de Voo (1).png](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/scaled-1680-/1-autorizacao-de-voo-1.png)](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/1-autorizacao-de-voo-1.png)

P1 - Autorização de Voo

[![1.1 - Desconflito Estratégico (1).png](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/scaled-1680-/1-1-desconflito-estrategico-1.png)](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/1-1-desconflito-estrategico-1.png)

P1.1 - Desconflito Estratégico

---

#### Ativação de Voo

Após ter seu voo aprovado, o operador deve solicitar a ativação do voo instantes antes de sua execução. Nessa etapa, o provedor deve garantir que a autorização de voo continua válida, e que as condições de voo (condições ainda não definidas) permitem a realização segura do voo. Após a checagem, o USS notifica o operador que ele pode inicar a operação.

Então, o provedor aguarda notificação do operador sobre o encerramento da operação. Recebendo a notificação, o operador deve encerrar o plano de voo no ECO-UTM.

[![2 - Ativação de voo (3).png](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/scaled-1680-/2-ativacao-de-voo-3.png)](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/2-ativacao-de-voo-3.png)

P2 - Ativação de Voo

---

#### Mudanças Dinâmicas

No período entre a autorização e a ativação, pode ocorrer mudanças nas condições do espaço aéreo, como uma nova restrição ou um novo voo com maior prioridade. Nesses casos, é de suma importância que o USS notifique o operador dessa atualização, para evitar frustrações do operador na hora da ativação do voo.

[![3 - Mudanças Dinâmicas (1).png](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/scaled-1680-/3-mudancas-dinamicas-1.png)](https://servicos2.decea.mil.br/br-utm/wiki/uploads/images/gallery/2024-05/3-mudancas-dinamicas-1.png)

P3 - Mudanças Dinâmicas

---

#### Emergência

WIP

# Briefing: BR-UTM Field Test 2

**<span class="selected">Document Version:</span>**<span class="selected"> 1.2 </span>**<span class="selected">Date:</span>**<span class="selected"> June 16, 2025</span>

## <span class="selected">1. Introduction &amp; Vision</span>

<span class="selected">The BR-UTM Field Test 1 successfully validated the foundational capabilities of our Discovery and Synchronization Service (DSS), based on the InterUSS platform. Participants demonstrated the ability to perform basic strategic deconfliction of Operational Intent References (OIRs) and deconfliction from static Constraints.</span>

<span class="selected">This Second Field Test will expand upon that foundation, introducing critical new capabilities to validate the complete, end-to-end operational lifecycle. The vision is to simulate a real-world operational environment where multiple UAS Service Suppliers (USS) coordinate flights, and operators conduct live drone operations based on these coordinated intents.</span>

### <span class="selected">1.1. New Features for Validation</span>

<span class="selected">This test will validate all previously tested features, plus the following crucial additions:</span>

- **<span class="selected">USS-to-USS Authentication:</span>**<span class="selected"> Secure, token-based authentication for all inter-USS communication.</span>
- **<span class="selected">OIR Activation &amp; State Management:</span>**<span class="selected"> The full lifecycle of an OIR, including the transition to an "activated" state just before flight.</span>
- **<span class="selected">Priority Operations:</span>**<span class="selected"> Handling of high-priority flights that may require other operations to adjust.</span>
- **<span class="selected">Remote Identification (Remote ID):</span>**<span class="selected"> Integration of Remote ID information services into the USS workflow.</span>
- **<span class="selected">In-Flight Contingency Management:</span>**<span class="selected"> Real-time response to dynamic, high-priority airspace constraints that appear during an active flight.</span>

## <span class="selected">2. Core Objectives</span>

<span class="selected">The primary goals of this field test are to:</span>

1. **<span class="selected">Validate End-to-End OIR Lifecycle:</span>**<span class="selected"> Demonstrate the complete process of creating, strategically deconflicting, activating, and closing out OIRs in a multi-USS environment.</span>
2. **<span class="selected">Verify Secure Inter-USS Coordination:</span>**<span class="selected"> Ensure all participants can successfully implement and use the specified authentication protocols for all DSS and peer-to-peer USS interactions.</span>
3. **<span class="selected">Test Advanced Strategic Deconfliction:</span>**<span class="selected"> Validate the system's ability to manage and resolve conflicts between multiple OIRs, including those with different priorities.</span>
4. **<span class="selected">Demonstrate OIR Activation:</span>**<span class="selected"> Ensure that the transition of an OIR to its "activated" state is correctly propagated and managed by all relevant USSs.</span>
5. **<span class="selected">Validate Priority Handling:</span>**<span class="selected"> Successfully manage the introduction of a high-priority OIR, requiring other active or planned operations to be modified or cleared.</span>
6. **<span class="selected">Integrate Remote ID Services:</span>**<span class="selected"> Demonstrate that USSs can support the provision of Remote ID data for active flights to authorized entities.</span>
7. **<span class="selected">Conduct Live Flight Operations:</span>**<span class="selected"> Have operators fly drones based on successfully coordinated and activated OIRs, proving the link between the digital UTM system and real-world flight.</span>

## <span class="selected">3. Technical Architecture &amp; Protocols</span>

<span class="selected">The core of the technical architecture remains the DECEA-provided </span>**<span class="selected">Discovery and Synchronization Service (DSS)</span>**<span class="selected">, which is an implementation of the InterUSS Platform.</span>

- **<span class="selected">API Contracts:</span>**<span class="selected"> All participants must implement the server-side and client-side portions of the API contracts defined in the </span>[**<span class="selected">dp-icea/Protocols GitHub repository</span>**](https://github.com/dp-icea/Protocols "null")<span class="selected">. This is the single source of truth for all required interfaces.</span>
- **<span class="selected">DSS Implementation:</span>**<span class="selected"> For context and documentation on the underlying technology, refer to the </span>[**<span class="selected">interuss/dss GitHub repository</span>**](https://github.com/interuss/dss "null")<span class="selected">.</span>

### <span class="selected">3.1. Authentication</span>

<span class="selected">Authentication is </span>**<span class="selected">mandatory</span>**<span class="selected"> for all inter-USS and DSS API calls. The process is detailed in the workshop documentation [\[Desconflito\]\[Autenticação\] Roteiro Etapa 1](https://servicos2.decea.mil.br/br-utm/wiki/books/documentacao-tecnica/page/desconflitoautenticacao-roteiro-etapa-1 "[Desconflito][Autenticação] Roteiro Etapa 1")</span><span class="selected">.</span>

- **<span class="selected">Token Generation:</span>**<span class="selected"> Before making a request to another USS, you must first request a JSON Web Token (JWT) from the DECEA authentication service. The </span>`<span class="selected">intended_audience</span>`<span class="selected"> and </span>`<span class="selected">scope</span>`<span class="selected"> parameters are critical.</span>
- **<span class="selected">Token Validation:</span>**<span class="selected"> When your USS receives a request, you must validate the incoming JWT. This involves:</span>
    
    
    1. <span class="selected">Verifying the token's signature using the Eco-UTM public key.</span>
    2. <span class="selected">Checking the token's expiration time (</span>`<span class="selected">exp</span>`<span class="selected">).</span>
    3. <span class="selected">Confirming the audience (</span>`<span class="selected">aud</span>`<span class="selected">) matches your USS identifier.</span>
    4. <span class="selected">Ensuring the token contains the required </span>`<span class="selected">scope</span>`<span class="selected"> for the requested endpoint.</span>

### <span class="selected">3.2. Governing Standards</span>

<span class="selected">This field test will adhere to the following international standards, which form the basis of the technical and operational protocols:</span>

- **<span class="selected">UTM Interoperability:</span>**<span class="selected"> All strategic coordination and information exchange between USSs shall be conducted in accordance with </span>**<span class="selected">ASTM F3548-21</span>**<span class="selected">, "Standard Specification for UAS Traffic Management (UTM) UAS Service Supplier (USS) Interoperability."</span>
- **<span class="selected">Remote ID:</span>**<span class="selected"> The implementation and data formats for Network Remote ID services shall follow </span>**<span class="selected">ASTM F3411-22a</span>**<span class="selected">, "Standard Specification For Remote ID And Tracking."</span>

## <span class="selected">4. Participant Roles &amp; Responsibilities</span>

<span class="selected">Participants can choose to act in one or both of the following roles:</span>

- **<span class="selected">USS Provider:</span>**<span class="selected"> An entity running a software implementation that provides UAS services.</span>
    
    
    - **<span class="selected">Responsibilities:</span>**
        
        
        - <span class="selected">Implement the full API contract.</span>
        - <span class="selected">Integrate with the authentication service.</span>
        - <span class="selected">Connect to the central DSS to discover other operations and publish their own.</span>
        - <span class="selected">Manage the full lifecycle of OIRs on behalf of their operator clients.</span>
        - <span class="selected">Coordinate directly with other USSs for strategic deconfliction.</span>
        - <span class="selected">Provide an endpoint for other USSs to subscribe to updates for OIRs they manage.</span>
- **<span class="selected">Drone Operator:</span>**<span class="selected"> An entity that plans and executes drone flights.</span>
    
    
    - **<span class="selected">Responsibilities:</span>**
        
        
        - <span class="selected">Partner with a registered USS Provider for flight planning.</span>
        - <span class="selected">Conduct pre-flight checks.</span>
        - <span class="selected">Execute the flight mission precisely according to the activated OIR (trajectory, altitude, and time).</span>
        - <span class="selected">Equip the drone with the necessary hardware for Remote ID broadcast.</span>
        - <span class="selected">Maintain communication with the USS during flight and be prepared to act on in-flight instructions, including immediate termination of the operation.</span>

## <span class="selected">5. Test Scenarios</span>

<span class="selected">The field test will be structured around a series of progressively complex scenarios.</span>

### <span class="selected">Scenario 1: Nominal Coordination and Flight Activation</span>

- **<span class="selected">Objective:</span>**<span class="selected"> Validate the basic workflow, authentication, and OIR activation.</span>
- **<span class="selected">Execution:</span>**
    
    
    1. <span class="selected">Two or more USS providers will each create a distinct, non-conflicting OIR in the DSS.</span>
    2. <span class="selected">Just prior to the scheduled flight time, each USS will update their OIR state to </span>**`<span class="selected">Accepted</span>`**<span class="selected"> and then </span>**`<span class="selected">Activated</span>`**<span class="selected">. They must notify any subscribers of this change.</span>
    3. <span class="selected">The corresponding Drone Operator will execute the flight.</span>
    4. <span class="selected">During the flight, the drone will broadcast Remote ID data.</span>
    5. <span class="selected">Upon completion, the USS will update the OIR state to </span>**`<span class="selected">Ended</span>`**<span class="selected">.</span>

### <span class="selected">Scenario 2: Strategic Deconfliction with a Constraint</span>

- **<span class="selected">Objective:</span>**<span class="selected"> Validate conflict detection and resolution against a static geographical constraint.</span>
- **<span class="selected">Execution:</span>**
    
    
    1. <span class="selected">The DSS will be pre-populated with a </span>`<span class="selected">Constraint</span>`<span class="selected"> (e.g., a no-fly zone).</span>
    2. <span class="selected">A USS will attempt to create an OIR that partially overlaps with the constraint.</span>
    3. <span class="selected">The USS must identify the conflict by querying the DSS.</span>
    4. <span class="selected">The USS must then modify the OIR's geometry to remove the conflict before it can be successfully created and activated.</span>
    5. <span class="selected">The Operator will fly the deconflicted mission.</span>

### <span class="selected">Scenario 3: Inter-USS Deconfliction &amp; Negotiation</span>

- **<span class="selected">Objective:</span>**<span class="selected"> Validate peer-to-peer coordination to resolve a conflict between two OIRs.</span>
- **<span class="selected">Execution:</span>**
    
    
    1. <span class="selected">USS-A creates and submits a valid OIR to the DSS.</span>
    2. <span class="selected">USS-B attempts to create an OIR whose 4D volume overlaps with USS-A's OIR.</span>
    3. <span class="selected">USS-B's initial attempt to create the OIR in the DSS should fail due to the conflict.</span>
    4. <span class="selected">USS-B must query the DSS, identify the conflicting OIR from USS-A, and initiate a strategic negotiation (as defined by the ASTM standard, though this may be a manual coordination step for the test).</span>
    5. <span class="selected">One or both USSs will adjust their OIRs to resolve the conflict.</span>
    6. <span class="selected">Once resolved, both OIRs can be created and subsequently activated for flight.</span>

### <span class="selected">Scenario 4: Priority Operation (Pre-Flight)</span>

- **<span class="selected">Objective:</span>**<span class="selected"> Validate the system's response to a high-priority flight identified during the planning phase.</span>
- **<span class="selected">Execution:</span>**
    
    
    1. <span class="selected">Multiple "standard" priority OIRs are planned or active in the DSS.</span>
    2. <span class="selected">A designated USS (the "Emergency Services USS") will introduce a new OIR with </span>**`<span class="selected">priority</span>`**<span class="selected"> set higher than the others (e.g., for a simulated medical delivery or security overwatch). This OIR will overlap with existing standard operations.</span>
    3. <span class="selected">Other USSs must detect this high-priority OIR and are required to modify or cancel their own conflicting operations to clear the area.</span>
    4. <span class="selected">The high-priority flight is then activated and flown.</span>

### <span class="selected">Scenario 5: In-Flight Contingency - Dynamic Constraint</span>

- **<span class="selected">Objective:</span>**<span class="selected"> Validate a USS's ability to monitor for new conflicts during an active flight and instruct the operator to take immediate, appropriate action.</span>
- **<span class="selected">Execution:</span>**
    
    
    1. <span class="selected">USS-A has an OIR in the </span>`<span class="selected">Activated</span>`<span class="selected"> state, and its Operator is conducting the flight.</span>
    2. <span class="selected">An "Emergency Services USS" creates a new, high-priority </span>`<span class="selected">Constraint</span>`<span class="selected"> or </span>`<span class="selected">OIR</span>`<span class="selected"> that dynamically appears and conflicts with USS-A's active flight volume.</span>
    3. <span class="selected">USS-A must detect this new, superseding conflict in near real-time by monitoring the DSS or receiving a notification from a subscription.</span>
    4. <span class="selected">Upon detecting the unmitigable conflict, USS-A must immediately relay a command to its Drone Operator to cease the operation.</span>
    5. <span class="selected">The Operator must comply with the instruction and safely terminate the flight (e.g., land immediately or execute a pre-planned return-to-launch maneuver).</span>
    6. <span class="selected">USS-A updates its OIR state to </span>`<span class="selected">Ended</span>`<span class="selected"> to reflect the early termination of the flight.</span>

## <span class="selected">6. Operational Safety Considerations</span>

<span class="selected">To ensure the safety of all participants and the public, the following operational rules are mandatory for all live flights during the test.</span>

- **<span class="selected">Flight Rules:</span>**<span class="selected"> All live flights will be conducted under Visual Line of Sight (VLOS) conditions, in strict accordance with </span>**<span class="selected">ICA 100-40</span>**<span class="selected">. While the technical scenarios will simulate Beyond Visual Line of Sight (BVLOS) coordination, the actual flight must remain within the pilot's line of sight at all times.</span>
- **<span class="selected">Immediate Operation Termination:</span>**<span class="selected"> All operators must be able to cease operations immediately upon command from their managing USS. This capability is critical for scenarios involving in-flight contingencies.</span>
- **<span class="selected">Loss of C2 Link Procedure:</span>**<span class="selected"> All UAS must be configured to execute a "Return to Home" (RTH) procedure automatically upon loss of the command and control (C2) link. The RTH altitude must be set to the operation's maximum authorized ceiling to ensure predictable behavior and vertical deconfliction.</span>
- **<span class="selected">Fly-Away Emergency Declaration:</span>**<span class="selected"> In the event of a fly-away or any situation where the operator loses control of the aircraft, the operator must immediately declare an emergency to DECEA’s personnel, as well as the USS. The USS will then be responsible for propagating this information as required.</span>

## <span class="selected">7. Getting Started &amp; Prerequisites</span>

<span class="selected">All participants must complete the following steps to be ready for the field test:</span>

1. **<span class="selected">Register Participation:</span>**<span class="selected"> Formally register your organization and declare your intended role(s).</span>
2. **<span class="selected">Review Documentation:</span>**<span class="selected"> Thoroughly read the API documentation at </span>`<span class="selected">https://github.com/dp-icea/Protocols</span>`<span class="selected">.</span>
3. **<span class="selected">Implement Authentication:</span>**<span class="selected"> Implement the JWT-based authentication client and server logic. You will be provided with API keys and the public key.</span>
4. **<span class="selected">Implement OIR Activation:</span>**<span class="selected"> Ensure your system correctly handles the </span>`<span class="selected">Accepted</span>`<span class="selected">, </span>`<span class="selected">Activated</span>`<span class="selected">, and </span>`<span class="selected">Ended</span>`<span class="selected"> states of an OIR.</span>
5. **<span class="selected">Provide Endpoints:</span>**<span class="selected"> USS Providers must supply the base URL for their publicly accessible API so it can be registered in the DSS for peer-to-peer communication.</span>
6. **<span class="selected">Prepare for Flight:</span>**<span class="selected"> Operators must have their drones, ground control stations, and Remote ID broadcast modules ready for operation.</span>
7. <span class="selected">**Synchronize Time Servers:** All USS and operator systems must synchronize their clocks with DECEA’s official NTP (Network Time Protocol) server, to be provided. Accurate, synchronized time is critical for the correct sequencing of operations, conflict detection, and logging.</span>

<span class="selected">We look forward to your participation in this critical test to advance the future of aviation in Brazil.</span>