CN103631641B - A kind of simulator and its implementation of simulated battery charged state - Google Patents
A kind of simulator and its implementation of simulated battery charged state Download PDFInfo
- Publication number
- CN103631641B CN103631641B CN201310668562.9A CN201310668562A CN103631641B CN 103631641 B CN103631641 B CN 103631641B CN 201310668562 A CN201310668562 A CN 201310668562A CN 103631641 B CN103631641 B CN 103631641B
- Authority
- CN
- China
- Prior art keywords
- battery
- simulation
- interface
- analog
- driven
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004088 simulation Methods 0.000 claims abstract description 60
- 230000009471 action Effects 0.000 claims abstract description 34
- 238000007600 charging Methods 0.000 claims abstract description 29
- 230000006870 function Effects 0.000 claims description 14
- 238000000034 method Methods 0.000 claims description 12
- 230000005611 electricity Effects 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 5
- 230000003068 static effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
Claims (8)
- A kind of 1. simulator implementation method of simulated battery charged state, it is characterised in that including:Set one to include analog-driven and simulate the simulator of UI modules, the analog-driven is supplied to application program first interface And it is supplied to simulation UI module second interfaces;After the simulation UI modules receive simulated action instruction, write by second interface to analog-driven;The application program reads simulated action instruction by the first interface from the analog-driven, and according to the mould Intend action command to be acted accordingly, realize the simulation to battery charging state;On the first interface and actual hardware The software function of interface is consistent;Simulation UI modules realize that module includes:Power.h, power.cpp, simphone.h, simphone.cpp, wherein, Cpp and h is the type of program file, and the realization of function is all placed on cpp files, and h files are header file, and the definition of function is all put In h files;Simphone.h is used for the object for creating a battery, i.e. Object Creation module, for handling when battery charging state changes It is shown in during change in simulation UI modules;Power.h, for storing present battery charged state, i.e. battery status memory module; Simphone.cpp is used for the data structure that simulated action instruction is written to analog-driven by the second interface of analog-driven In, i.e., simulated action instructs writing module;The power.cpp is used to perform the current charging instruction of battery, i.e. battery charging execution module.
- 2. the simulator implementation method of simulated battery charged state according to claim 1, it is characterised in that also include:It is used for the data structure for representing battery charging state defined in analog-driven in advance.
- 3. the simulator implementation method of simulated battery charged state according to claim 2, it is characterised in that the simulation UI modules include following option:AC external power supply sockets, USB external power supply sockets, external power supply state, battery electric quantity and power supply Status display column, the corresponding member value that each option corresponds in data structure.
- A kind of 4. simulator using implementation method simulated battery charged state as claimed in claim 1, it is characterised in that institute Stating simulator includes analog-driven and simulation UI modules;The analog-driven, for being supplied to application program first interface and being supplied to simulation UI module second interfaces;The simulation UI modules, write for the simulated action received to be instructed by second interface to analog-driven, it is described Application program reads simulated action instruction by the first interface from the analog-driven, and is referred to according to the simulated action Order is acted accordingly, realizes the simulation to battery charging state;The first interface is soft with the interface on actual hardware Part function is consistent;Simulation UI modules realize that module includes:Power.h, power.cpp, simphone.h, simphone.cpp, wherein, Cpp and h is the type of program file, and the realization of function is all placed on cpp files, and h files are header file, and the definition of function is all put In h files;Simphone.h is used for the object for creating a battery, i.e. Object Creation module, for handling when battery charging state changes It is shown in during change in simulation UI modules;Power.h, for storing present battery charged state, i.e. battery status memory module; Simphone.cpp is used for the data structure that simulated action instruction is written to analog-driven by the second interface of analog-driven In, i.e., simulated action instructs writing module;The power.cpp is used to perform the current charging instruction of battery, i.e. battery charging execution module.
- 5. the simulator of simulated battery charged state according to claim 4, it is characterised in that the first interface includes using In the interface for obtaining battery charging state, battery charging state therein includes:Whether powered, whether powered by USB by AC, electricity Pond electricity height, there are state and battery capacity under external power supply.
- 6. the simulator of simulated battery charged state according to claim 4, it is characterised in that the reality of the simulation UI modules Existing module includes:Object Creation module, it is shown in for creating the object of a battery, and for handling when battery charging state changes Simulate in UI modules.
- 7. the simulator of simulated battery charged state according to claim 4, it is characterised in that the reality of the simulation UI modules Existing module also includes:Battery status memory module, for storing present battery charged state.
- 8. the simulator of simulated battery charged state according to claim 4, it is characterised in that the reality of the simulation UI modules Existing module also includes:Simulated action instructs writing module, and simulated action instruction is written into simulation for the first interface by analog-driven drives In dynamic data structure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310668562.9A CN103631641B (en) | 2013-12-11 | 2013-12-11 | A kind of simulator and its implementation of simulated battery charged state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310668562.9A CN103631641B (en) | 2013-12-11 | 2013-12-11 | A kind of simulator and its implementation of simulated battery charged state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103631641A CN103631641A (en) | 2014-03-12 |
CN103631641B true CN103631641B (en) | 2018-04-06 |
Family
ID=50212734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310668562.9A Active CN103631641B (en) | 2013-12-11 | 2013-12-11 | A kind of simulator and its implementation of simulated battery charged state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103631641B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015176340A (en) * | 2014-03-14 | 2015-10-05 | オムロン株式会社 | Programmable controller and device control method by programmable controller |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593989A (en) * | 2008-12-31 | 2009-12-02 | 中南林业科技大学 | A kind of intelligent type accumulator testing charger and control method thereof |
KR20100131088A (en) * | 2009-06-05 | 2010-12-15 | 한국항공우주연구원 | Satellite battery simulator |
CN102288847A (en) * | 2011-06-16 | 2011-12-21 | 深圳市科陆电子科技股份有限公司 | Device and method for simulating working characteristic of charging post |
CN102841317A (en) * | 2011-06-23 | 2012-12-26 | 康舒科技股份有限公司 | battery simulator |
CN103389432A (en) * | 2013-08-06 | 2013-11-13 | 国网电力科学研究院 | Test device for charging control process of DC (direct current) battery charger of electric automobile and implementation method of device |
-
2013
- 2013-12-11 CN CN201310668562.9A patent/CN103631641B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593989A (en) * | 2008-12-31 | 2009-12-02 | 中南林业科技大学 | A kind of intelligent type accumulator testing charger and control method thereof |
KR20100131088A (en) * | 2009-06-05 | 2010-12-15 | 한국항공우주연구원 | Satellite battery simulator |
CN102288847A (en) * | 2011-06-16 | 2011-12-21 | 深圳市科陆电子科技股份有限公司 | Device and method for simulating working characteristic of charging post |
CN102841317A (en) * | 2011-06-23 | 2012-12-26 | 康舒科技股份有限公司 | battery simulator |
CN103389432A (en) * | 2013-08-06 | 2013-11-13 | 国网电力科学研究院 | Test device for charging control process of DC (direct current) battery charger of electric automobile and implementation method of device |
Also Published As
Publication number | Publication date |
---|---|
CN103631641A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7860582B2 (en) | Compact modular embedded device | |
CN103080868B (en) | Charging port | |
CN204243832U (en) | A kind of charging and output compatible multiplex roles charging circuit | |
CN102662648B (en) | A kind of embedded software developing emulation platform of communicating terminal and application thereof | |
CN101938164B (en) | Power equipment control method, device and related system thereof | |
CN103248763B (en) | A kind of means of communication and mobile terminal | |
CN102681893B (en) | The cross-platform implementation method of executable program and mobile terminal | |
CN107678753A (en) | A kind of program burn writing method, apparatus and electronic equipment | |
CN103019702B (en) | A kind of visualization of 3 d display and control editing system and method | |
CN101505339B (en) | Implementation method for directly deploying mobile phone application program from computer onto mobile phone | |
CN106911826A (en) | The automation power consumption test method and system of a kind of terminal | |
CN104778022A (en) | Data processing method and electronic equipment | |
CN105576753A (en) | Information processing method and electronic equipment | |
CN108845807A (en) | A kind of method, apparatus, equipment and the storage medium of solid state hard disk programming | |
CN103631641B (en) | A kind of simulator and its implementation of simulated battery charged state | |
CN107861775A (en) | A kind of SSD starts control device and method | |
CN103904699A (en) | Power supply configuration method and apparatus | |
CN205003656U (en) | Operating system of transparent programming of restructural hardware | |
CN209417725U (en) | A kind of single USB-C interface with lamp effect turns the adapter of double USB-C interfaces | |
CN103150952A (en) | Reconfigurable electronic design automation (EDA) experimental platform | |
CN113364105A (en) | Control method and device compatible with charging of various batteries, terminal and storage medium | |
CN201897784U (en) | Upgrading controller of electronic device | |
CN106602736A (en) | Charging method and charging system of mobile terminal | |
CN202110539U (en) | Multifunctional portable copy device | |
KR20170108196A (en) | Apparatus and Method for Simulating wave power |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211201 Address after: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province Patentee after: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100 Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221122 Address after: 264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong Patentee after: Weihai Shenzhou Information Technology Research Institute Co.,Ltd. Address before: 264200 19th floor, block a, innovation and entrepreneurship base, No. 213, Torch Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province Patentee before: WEIHAI ELECTRONIC INFORMATION TECHNOLOGY COMPREHENSIVE RESEARCH CENTER, MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY |
|
TR01 | Transfer of patent right |
Effective date of registration: 20240626 Address after: Floor 4, No. 298-5, Shichang Avenue, Tianhe Street, Torch High tech Industrial Development Zone, Weihai City, Shandong Province, 264200 Patentee after: WEIHAI HUATONG SWITCH EQUIPMENT CO.,LTD. Country or region after: China Address before: 264200 18th Floor, Building A, Innovation and Entrepreneurship Base, No. 213, Torch Road, Torch Hi tech Industrial Development Zone, Weihai, Shandong Patentee before: Weihai Shenzhou Information Technology Research Institute Co.,Ltd. Country or region before: China |