# pcs_ess **Repository Path**: yoursight/pcs_ess ## Basic Information - **Project Name**: pcs_ess - **Description**: 双向功率换流器 - **Primary Language**: C - **License**: LGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-03-26 - **Last Updated**: 2026-03-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pcs_ess #### 介绍 双向功率换流器 1.几种场景 1. 车载 OBC ![obc](images/image.png) 2. 光伏 3. 地铁/高铁 牵引力 4. 家储 5. 工商储能 6. 数据中心储能式UPS 7. 光伏制氢 8.工业电差价制氢 不同的场景需要不同的拓扑,这个地方主要是提供一个基本的架构,根据实际的情况,需要各位帮忙补充,因为结构是差不太多的,算法和逻辑不同的场景差别很大,这里讨论一种拓扑结构,将不同行业的算法和场景导入基本拓扑即可 #### 设计要点 1. plant 模型推导 2. 控制器设计 3. 控制频率选择 4. 调制方式和采样点 5. 保护电路和环路 #### 功能特点 1. 支持P/Q模式 ![grid forming inverter](images/pcs/image.png) ![s1](images/s2.png) 2. 支持bms充放电的CV,CC模式 3. 支持V/F和VSG模式 ![VSG](images/pcs/s3.png) 4. 支持下垂控制(DROOP control) 5. 支持多机并联 6. 支持三次谐波注入和中性点平衡 7. 层次化设计和模块设计 8. svpwm调制(2电平或者三电平) ![svpwm](images/pcs/svpwm.png) #### 指标 1. Rated nominal and maximum input voltage at 800V and 900VDC, maximum power 11kW, 11kVA at 400VL-L AC, 50Hz or 60Hz 2. Compact output LCL filter with switching frequency of 90kHz < 2.5% output current total harmonic distortion (THD) at full load 3. Isolated driver UCC21710 with reinforced isolation for driving high-voltage SiC MOSFET and UCC5350 for driving middle SiC MOSFET 4. Isolated current sensing using TMCS1123 for load current control and monitoring 5. TMS320F28379D and TMS320F280039C control cards for digital control with Trigonometric Math Unit (TMU) to accelerate Phase-Locked Loop (PLL) computation, comparator sub-system for 6. protection implementation and Control Law Accelerator (CLA) to offload the control loops to the coprocessor #### 控制设计: ![充电器](images/%E5%85%85%E7%94%B5%E5%99%A8%E5%B1%82%E6%AC%A1%E5%9B%BE.png) #### PFC/inverter控制 #### Tasks/data communication设计 ![任务通信结构](images/data_ipc_communication.png) ![任务调度时序](images/data_interactiv_tasks.png) #### 安装教程 1. ccs 20 and drawio 版本 2. git clone https://gitee.com/jiuzhuaxiong_admin/pcs_ess.git 3. open it in the ccs 20 , and import it #### 使用说明 1. please see the document in the doc/pcs-control.drawio,可以直接在gitee阅读 2. drawio 下载地址:https://github.com/jgraph/drawio-desktop/releases/download/v27.0.9/draw.io-27.0.9-windows-installer.exe 3. xxxx #### 参与贡献 ``` git config --global user.name "jiuzhuaxiong" git config --global user.email "jiuzhuaxiong@163.com" mkdir test ``` ``` cd test git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/jiuzhuaxiong_admin/test.git git push -u origin "master" cd existing_git_repo git remote add origin https://gitee.com/jiuzhuaxiong_admin/test.git git push -u origin "master" ``` #### TODO: 1. 使用UML设计PFC和INVERTER的切换逻辑 2. 增加负载检测, 3. 这里是列表文本比较PID 双环控制跟 PR 双环控制的性能差异 #### 反馈: 1. 发邮件到jiuzhuaxiong@163.com,第一时间回复 2. 直接在issues里面提交问题